From 7eee2b500da1af93981c8117dff1d8a135ce30e7 Mon Sep 17 00:00:00 2001
From: =?utf8?q?=C5=81ukasz=20Majewski?= <l.majewski@samsung.com>
Date: Wed, 17 Jun 2015 12:49:23 +0200
Subject: [PATCH] fix: samsung: common: autoboot.cmd: Correct itbcfg definition

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

Signed-off-by: Lukasz Majewski <l.majewski@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 3b4015693b..1faed8ba0c 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.39.5