Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=e60c526fba3ba77070d0c97fac52c86243ad694d
Commit:     e60c526fba3ba77070d0c97fac52c86243ad694d
Parent:     85aecac8d2893372c618bac373e2de9cf102dfbc
Author:     David Gibson <[EMAIL PROTECTED]>
AuthorDate: Wed Jun 13 14:53:00 2007 +1000
Committer:  Paul Mackerras <[EMAIL PROTECTED]>
CommitDate: Thu Jun 14 22:30:17 2007 +1000

    [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 <[EMAIL PROTECTED]>
    Signed-off-by: Paul Mackerras <[EMAIL PROTECTED]>
---
 arch/powerpc/boot/dts/holly.dts      |    1 -
 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 254499b..e6b5091 100644
--- a/arch/powerpc/boot/dts/holly.dts
+++ b/arch/powerpc/boot/dts/holly.dts
@@ -193,6 +193,5 @@
 
        chosen {
                linux,stdout-path = "/[EMAIL PROTECTED]/[EMAIL PROTECTED]";
-               bootargs = "console=ttyS0,115200";
        };
 };
diff --git a/arch/powerpc/configs/holly_defconfig 
b/arch/powerpc/configs/holly_defconfig
index be633b9..8ad57b9 100644
--- a/arch/powerpc/configs/holly_defconfig
+++ b/arch/powerpc/configs/holly_defconfig
@@ -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
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to