[Slof] [PATCH 1/5] boot: bootpath should be complete device path

Nikunj A Dadhania nikunj at linux.vnet.ibm.com
Mon Jul 6 21:11:47 AEST 2015


de-alias the booting device alias so that complete device path is
stored in /chosen/bootpath. This is in accordance with IEEE1275
section A.2

Signed-off-by: Nikunj A Dadhania <nikunj at linux.vnet.ibm.com>
---
 slof/fs/boot.fs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/slof/fs/boot.fs b/slof/fs/boot.fs
index 9a0ded0..07993e1 100644
--- a/slof/fs/boot.fs
+++ b/slof/fs/boot.fs
@@ -211,7 +211,7 @@ defer go ( -- )
 
 : parse-load ( "{devlist}" -- success )	\ Parse-execute boot-device list
    cr BEGIN parse-word dup WHILE
-	 ( de-alias ) do-load dup 0< IF drop 0 THEN IF
+	 de-alias do-load dup 0< IF drop 0 THEN IF
 	    state-valid @ IF ."   Successfully loaded" cr THEN
 	    true 0d parse strdup load-list 2! EXIT
 	 THEN
-- 
2.4.3



More information about the SLOF mailing list