]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[POWERPC] Don't store a command line in the Holly device tree
authorDavid Gibson <david@gibson.dropbear.id.au>
Wed, 13 Jun 2007 04:53:00 +0000 (14:53 +1000)
committerPaul Mackerras <paulus@samba.org>
Thu, 14 Jun 2007 12:30:17 +0000 (22:30 +1000)
Currently, the Holly device tree includes a bootargs property in
/chosen, which gives a commandline.  This is somewhat inconvenient,
because it means an alternative default command line can't be given in
the kernel config - the value obtained from the dts via the
bootwrapper will always override CONFIG_CMDLINE.

This removes the command line from the dts, and instead puts the
same command line as a default in holly_defconfig.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/boot/dts/holly.dts
arch/powerpc/configs/holly_defconfig

index 254499b107f48b07ecdf9d8ff7c7edc9e7fb2be5..e6b5091de9ce81b7c0017fc843a5736d883c51ba 100644 (file)
 
        chosen {
                linux,stdout-path = "/tsi109@c0000000/serial@7808";
-               bootargs = "console=ttyS0,115200";
        };
 };
index be633b9b57c3e5bda4648a76740df1476ecf2af2..8ad57b94eab2ebccb9c8e68940d2d775e2147689 100644 (file)
@@ -182,7 +182,8 @@ CONFIG_SPLIT_PTLOCK_CPUS=4
 # CONFIG_RESOURCES_64BIT is not set
 CONFIG_ZONE_DMA_FLAG=1
 CONFIG_PROC_DEVICETREE=y
-# CONFIG_CMDLINE_BOOL is not set
+CONFIG_CMDLINE_BOOL=y
+CONFIG_CMDLINE="console=ttyS0,115200"
 # CONFIG_PM is not set
 # CONFIG_SECCOMP is not set
 # CONFIG_WANT_DEVICE_TREE is not set