]> err.no Git - linux-2.6/commit
[ARM] 3673/1: lpd270: parse lcd= command line parameter
authorLennert Buytenhek <buytenh@wantstofly.org>
Thu, 29 Jun 2006 15:06:30 +0000 (16:06 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 29 Jun 2006 15:06:30 +0000 (16:06 +0100)
commit656602978e43a4e5d929423d766be0448bdacc1e
tree4267cdee31182359cfff905efbf38c9c484da224
parent264edb35ce5c85749bfdd2942c74b786ea1cde41
[ARM] 3673/1: lpd270: parse lcd= command line parameter

Patch from Lennert Buytenhek

The bootloader on the LogicPD PXA270 platform informs the kernel of
which type of TFT screen is connected via an lcd=$FOO kernel command
line parameter.

Before this patch, we ignored this parameter and just hardcoded the use
of the Sharp lq64d343 display kit.  This patch implement parsing of the
command line option, and chooses the right pxafb_mach_info to use (six
choices) based on this command line option.

Also fix the fb settings to correspond with those of the bootloader.

Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-pxa/lpd270.c