projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
289f1c7
)
[PATCH] powerpc: iseries: Add bootargs to /chosen
author
Michael Ellerman
<michael@ellerman.id.au>
Tue, 21 Mar 2006 09:46:10 +0000
(20:46 +1100)
committer
Paul Mackerras
<paulus@samba.org>
Wed, 22 Mar 2006 04:04:27 +0000
(15:04 +1100)
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>
arch/powerpc/platforms/iseries/setup.c
patch
|
blob
|
history
diff --git
a/arch/powerpc/platforms/iseries/setup.c
b/arch/powerpc/platforms/iseries/setup.c
index 8fe7237bc46fa0d71611c87a56968e695798776c..fa4550611c118b91234b5690f206df7dcdc3487d 100644
(file)
--- 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)
/* /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);