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 <david@lechnology.com>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
[b.zolnierkie: ported over fbcon changes]
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>

authored by

David Lechner and committed by
Bartlomiej Zolnierkiewicz
176780c7 bf4392ba

+1 -3
+1 -1
Documentation/fb/fbcon.txt
··· 153 This option specifies the color of the margins. The margins are the 154 leftover area at the right and the bottom of the screen that are not 155 used by text. By default, this area will be black. The 'color' value 156 - is 0 to 7 where 0 is black and 7 is white. 157 158 C. Attaching, Detaching and Unloading 159
··· 153 This option specifies the color of the margins. The margins are the 154 leftover area at the right and the bottom of the screen that are not 155 used by text. By default, this area will be black. The 'color' value 156 + is an integer number that depends on the framebuffer driver being used. 157 158 C. Attaching, Detaching and Unloading 159
-2
drivers/video/fbdev/core/fbcon.c
··· 498 options += 7; 499 if (*options) 500 margin_color = simple_strtoul(options, &options, 0); 501 - if (margin_color > 7) 502 - margin_color = 0; 503 continue; 504 } 505 }
··· 498 options += 7; 499 if (*options) 500 margin_color = simple_strtoul(options, &options, 0); 501 continue; 502 } 503 }