]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
config: exynos: trats2: Enable support for Image.itb at trats2 device
authorŁukasz Majewski <l.majewski@samsung.com>
Wed, 1 Apr 2015 10:34:30 +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 trats2 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/trats2.h

index 42481ab6e147bb603bf5cdd958d1f0ad7ab72dd5..94c31fbf2b437f9a42b8cbe140fab3038f97cbed 100644 (file)
 #define CONFIG_SYS_CONSOLE_INFO_QUIET
 #define CONFIG_SYS_CONSOLE_IS_IN_ENV
 
+#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 \
@@ -96,7 +98,8 @@
        ""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" \
 
 /* GPT */