]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
config: exynos: trats: Enable support for Image.itb at trats device
authorŁukasz Majewski <l.majewski@samsung.com>
Wed, 1 Apr 2015 10:34:29 +0000 (12:34 +0200)
committerMinkyu Kang <mk7.kang@samsung.com>
Mon, 6 Apr 2015 06:23:59 +0000 (15:23 +0900)
After this change it is possible to boot trats device with Image.itb,
which facilitates automated testing, since only one file is necessary.

Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
include/configs/trats.h

index b21ea2de5f09977192fe8555980bfa18b6968653..6808e789f359cb0b67e80705751388901d62db7d 100644 (file)
 #define MACH_TYPE_TRATS                        3928
 #define CONFIG_MACH_TYPE               MACH_TYPE_TRATS
 
+#define CONFIG_FIT
+#define CONFIG_FIT_VERBOSE
 #define CONFIG_BOOTARGS                        "Please use defined boot"
-#define CONFIG_BOOTCOMMAND             "run mmcboot"
+#define CONFIG_BOOTCOMMAND             "run autoboot"
 #define CONFIG_DEFAULT_CONSOLE         "console=ttySAC2,115200n8\0"
 
 #define CONFIG_SYS_INIT_SP_ADDR        (CONFIG_SYS_LOAD_ADDR \
        ""PARTS_ROOT" part 0 5;" \
        ""PARTS_DATA" part 0 6;" \
        ""PARTS_UMS" part 0 7;" \
-       "params.bin raw 0x38 0x8\0"
+       "params.bin raw 0x38 0x8;" \
+       "/Image.itb ext4 0 2\0"
 
 #define CONFIG_EXTRA_ENV_SETTINGS \
        "bootk=" \
                   "setenv spl_imgsize;" \
                   "setenv spl_imgaddr;" \
                   "setenv spl_addr_tmp;\0" \
+       CONFIG_EXTRA_ENV_ITB \
        "fdtaddr=40800000\0" \
 
 /* Falcon mode definitions */