board: trats2: fix environmental variables
authorPiotr Wilczek <p.wilczek@samsung.com>
Wed, 27 Nov 2013 10:11:00 +0000 (11:11 +0100)
committerMinkyu Kang <mk7.kang@samsung.com>
Tue, 3 Dec 2013 06:58:02 +0000 (15:58 +0900)
In this patch variable names are used instead of hardcoded names

Signed-off-by: Piotr Wilczek <p.wilczek@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
include/configs/trats2.h

index 8de41ff751a58af896ec8efea56883c144359e2e..9a90941afb4f19ab3717046ea7c5b348c3ee4703 100644 (file)
        "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" \