From: Piotr Wilczek
Date: Wed, 27 Nov 2013 10:11:00 +0000 (+0100)
Subject: board: trats2: fix environmental variables
X-Git-Tag: v2014.01-rc2~42^2~12^2~6
X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=2c8043c946ffeda6a016943fa3572331d9a4d61f;p=oweals%2Fu-boot.git
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
---
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" \