fbcon: remove restriction on margin color

This removes the restriction on the value range of the fbcon=margin:
parameter. The color value really depends on the driver being used.

Signed-off-by: David Lechner <[email protected]>
Cc: Geert Uytterhoeven <[email protected]>
[b.zolnierkie: ported over fbcon changes]
Signed-off-by: Bartlomiej Zolnierkiewicz <[email protected]>
This commit is contained in:
David Lechner 2017-09-04 16:00:49 +02:00 • committed by Bartlomiej Zolnierkiewicz
commit 176780c7d2
2 changed files with 1 additions and 3 deletions

View file

@ -498,8 +498,6 @@ static int __init fb_console_setup(char *this_opt)
options += 7;
if (*options)
margin_color = simple_strtoul(options, &options, 0);
if (margin_color > 7)
margin_color = 0;
continue;
}
}