From 2c8043c946ffeda6a016943fa3572331d9a4d61f Mon Sep 17 00:00:00 2001
From: Piotr Wilczek
Date: Wed, 27 Nov 2013 11:11:00 +0100
Subject: [PATCH] board: trats2: fix environmental variables
In this patch variable names are used instead of hardcoded names
Signed-off-by: Piotr Wilczek
Signed-off-by: Kyungmin Park
Signed-off-by: Minkyu Kang
---
include/configs/trats2.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/include/configs/trats2.h b/include/configs/trats2.h
index 8de41ff751..9a90941afb 100644
--- a/include/configs/trats2.h
+++ b/include/configs/trats2.h
@@ -199,11 +199,11 @@
"rootfstype=ext4\0" \
"console=" CONFIG_DEFAULT_CONSOLE \
"kernelname=uImage\0" \
- "loaduimage=ext4load mmc ${mmcdev}:${mmcbootpart} 0x40007FC0 uImage\0" \
- "0x40007FC0 ${kernelname}\0" \
+ "loaduimage=ext4load mmc ${mmcdev}:${mmcbootpart} 0x40007FC0 " \
+ "${kernelname}\0" \
"loaddtb=ext4load mmc ${mmcdev}:${mmcbootpart} ${fdtaddr} " \
"${fdtfile}\0" \
- "mmcdev=0\0" \
+ "mmcdev=CONFIG_MMC_DEFAULT_DEV\0" \
"mmcbootpart=2\0" \
"mmcrootpart=5\0" \
"opts=always_resume=1\0" \
--
2.39.5