From 887e3b2089c3898a9df280feed72a13bcd6b3eaf Mon Sep 17 00:00:00 2001 From: Nikunj A Dadhania Date: Fri, 4 Oct 2013 16:34:18 +0530 Subject: 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 --- slof/fs/root.fs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'slof') diff --git a/slof/fs/root.fs b/slof/fs/root.fs index dd871d1..8154763 100644 --- a/slof/fs/root.fs +++ b/slof/fs/root.fs @@ -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 -- cgit v1.1