diff options
author | Michael Ellerman <michael@ellerman.id.au> | 2006-03-21 04:46:10 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-03-21 23:04:27 -0500 |
commit | 6c600ad8da189aebe65b765fd0349ef6c9dd8c1f (patch) | |
tree | b478facc7e679fcef36e23dd777670c7881284cc /arch/powerpc | |
parent | 289f1c74a9b527a816f63092e79a5412cc0352a2 (diff) |
[PATCH] powerpc: iseries: Add bootargs to /chosen
Add the command line args to the device tree as /chosen/bootargs.
Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc')
-rw-r--r-- | arch/powerpc/platforms/iseries/setup.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/iseries/setup.c b/arch/powerpc/platforms/iseries/setup.c index 8fe7237bc46f..fa4550611c11 100644 --- a/arch/powerpc/platforms/iseries/setup.c +++ b/arch/powerpc/platforms/iseries/setup.c | |||
@@ -931,6 +931,7 @@ void build_flat_dt(struct iseries_flat_dt *dt, unsigned long phys_mem_size) | |||
931 | /* /chosen */ | 931 | /* /chosen */ |
932 | dt_start_node(dt, "chosen"); | 932 | dt_start_node(dt, "chosen"); |
933 | dt_prop_u32(dt, "linux,platform", PLATFORM_ISERIES_LPAR); | 933 | dt_prop_u32(dt, "linux,platform", PLATFORM_ISERIES_LPAR); |
934 | dt_prop_str(dt, "bootargs", cmd_line); | ||
934 | if (cmd_mem_limit) | 935 | if (cmd_mem_limit) |
935 | dt_prop_u64(dt, "linux,memory-limit", cmd_mem_limit); | 936 | dt_prop_u64(dt, "linux,memory-limit", cmd_mem_limit); |
936 | dt_end_node(dt); | 937 | dt_end_node(dt); |