Kernel parameter passed from qemu commandline ignored

Commit ec5c9e8b (Use root.fs on qemu as well) would set the bootargs/bootpath
to null string even in case when the /chosen node exist, the /chosen and boot
property were populated during fdt parsing so do not change in case its already
set.

Signed-off-by: Nikunj A Dadhania <nikunj@linux.vnet.ibm.com>
This commit is contained in:
Nikunj A Dadhania 2013-10-04 16:34:18 +05:30
parent b30e4a4f8a
commit 887e3b2089
1 changed files with 4 additions and 4 deletions

View File

@ -47,12 +47,12 @@ THEN
drop
new-device
s" chosen" device-name
s" " encode-string s" bootargs" property
s" " encode-string s" bootpath" property
finish-device
ELSE
extend-device
drop
THEN
s" " encode-string s" bootargs" property
s" " encode-string s" bootpath" property
finish-device
\ Create /aliases
new-device