[PATCH 10/11] powerpc: iseries: Add bootargs to /chosen
    Michael Ellerman 
    michael at ellerman.id.au
       
    Tue Mar 21 20:46:10 EST 2006
    
    
  
Add the command line args to the device tree as /chosen/bootargs.
Signed-off-by: Michael Ellerman <michael at ellerman.id.au>
---
 arch/powerpc/platforms/iseries/setup.c |    1 +
 1 files changed, 1 insertion(+)
Index: to-merge/arch/powerpc/platforms/iseries/setup.c
===================================================================
--- to-merge.orig/arch/powerpc/platforms/iseries/setup.c
+++ to-merge/arch/powerpc/platforms/iseries/setup.c
@@ -931,6 +931,7 @@ void build_flat_dt(struct iseries_flat_d
 	/* /chosen */
 	dt_start_node(dt, "chosen");
 	dt_prop_u32(dt, "linux,platform", PLATFORM_ISERIES_LPAR);
+	dt_prop_str(dt, "bootargs", cmd_line);
 	if (cmd_mem_limit)
 		dt_prop_u64(dt, "linux,memory-limit", cmd_mem_limit);
 	dt_end_node(dt);
    
    
More information about the Linuxppc-dev
mailing list