diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2007-06-13 00:53:00 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-06-14 08:30:17 -0400 |
commit | e60c526fba3ba77070d0c97fac52c86243ad694d (patch) | |
tree | 8ed711751ddcee7fa3bbd46de3b31876fe53f806 | |
parent | 85aecac8d2893372c618bac373e2de9cf102dfbc (diff) |
[POWERPC] Don't store a command line in the Holly device tree
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>
-rw-r--r-- | arch/powerpc/boot/dts/holly.dts | 1 | ||||
-rw-r--r-- | arch/powerpc/configs/holly_defconfig | 3 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/boot/dts/holly.dts b/arch/powerpc/boot/dts/holly.dts index 254499b107f4..e6b5091de9ce 100644 --- a/arch/powerpc/boot/dts/holly.dts +++ b/arch/powerpc/boot/dts/holly.dts | |||
@@ -193,6 +193,5 @@ | |||
193 | 193 | ||
194 | chosen { | 194 | chosen { |
195 | linux,stdout-path = "/tsi109@c0000000/serial@7808"; | 195 | linux,stdout-path = "/tsi109@c0000000/serial@7808"; |
196 | bootargs = "console=ttyS0,115200"; | ||
197 | }; | 196 | }; |
198 | }; | 197 | }; |
diff --git a/arch/powerpc/configs/holly_defconfig b/arch/powerpc/configs/holly_defconfig index be633b9b57c3..8ad57b94eab2 100644 --- a/arch/powerpc/configs/holly_defconfig +++ b/arch/powerpc/configs/holly_defconfig | |||
@@ -182,7 +182,8 @@ CONFIG_SPLIT_PTLOCK_CPUS=4 | |||
182 | # CONFIG_RESOURCES_64BIT is not set | 182 | # CONFIG_RESOURCES_64BIT is not set |
183 | CONFIG_ZONE_DMA_FLAG=1 | 183 | CONFIG_ZONE_DMA_FLAG=1 |
184 | CONFIG_PROC_DEVICETREE=y | 184 | CONFIG_PROC_DEVICETREE=y |
185 | # CONFIG_CMDLINE_BOOL is not set | 185 | CONFIG_CMDLINE_BOOL=y |
186 | CONFIG_CMDLINE="console=ttyS0,115200" | ||
186 | # CONFIG_PM is not set | 187 | # CONFIG_PM is not set |
187 | # CONFIG_SECCOMP is not set | 188 | # CONFIG_SECCOMP is not set |
188 | # CONFIG_WANT_DEVICE_TREE is not set | 189 | # CONFIG_WANT_DEVICE_TREE is not set |