[U-Boot] [PATCH] fix: samsung: common: autoboot.cmd: Correct itbcfg definition

Lukasz Majewski l.majewski at samsung.com
Wed Jun 17 12:49:23 CEST 2015


This fix is necessary to avoid booting the default ITB configuration.

Signed-off-by: Lukasz Majewski <l.majewski at samsung.com>
---
 board/samsung/common/bootscripts/autoboot.cmd | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/board/samsung/common/bootscripts/autoboot.cmd b/board/samsung/common/bootscripts/autoboot.cmd
index 3b40156..1faed8b 100644
--- a/board/samsung/common/bootscripts/autoboot.cmd
+++ b/board/samsung/common/bootscripts/autoboot.cmd
@@ -42,7 +42,7 @@ if test -e '${boardname}'; then
 	setenv initrd_addr ;
 	setenv kerneladdr  0x42000000;
 	setenv kernelname  Image.itb;
-	setenv itbcfg      \#'${boardname}';
+	setenv itbcfg      "\"#${boardname}\"";
 	setenv imgbootcmd  bootm;
 else
 	echo Warning! Variable: \$boardname is undefined!;
-- 
2.0.0.rc2



More information about the U-Boot mailing list