diff mbox

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

Message ID 1434538163-25376-1-git-send-email-l.majewski@samsung.com
State Accepted
Delegated to: Tom Rini
Headers show

Commit Message

Łukasz Majewski June 17, 2015, 10:49 a.m. UTC
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(-)

Comments

Tom Rini June 18, 2015, 10:46 p.m. UTC | #1
On Wed, Jun 17, 2015 at 12:49:23PM +0200, Łukasz Majewski wrote:

> This fix is necessary to avoid booting the default ITB configuration.
> 
> Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>

Applied to u-boot/master, thanks!
diff mbox

Patch

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!;