diff mbox

[U-Boot,3/3] config: exynos: trats2: Enable support for Image.itb at trats2 device

Message ID 1427884470-3312-3-git-send-email-l.majewski@samsung.com
State Accepted
Delegated to: Minkyu Kang
Headers show

Commit Message

Ɓukasz Majewski April 1, 2015, 10:34 a.m. UTC
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>
---
 include/configs/trats2.h | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

Comments

Minkyu Kang April 6, 2015, 6:30 a.m. UTC | #1
On 01/04/15 19:34, Lukasz Majewski wrote:
> 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>
> ---
>  include/configs/trats2.h | 8 ++++++--
>  1 file changed, 6 insertions(+), 2 deletions(-)
> 

applied to u-boot-samsung.

Thanks,
Minkyu Kang.
diff mbox

Patch

diff --git a/include/configs/trats2.h b/include/configs/trats2.h
index 42481ab..94c31fb 100644
--- a/include/configs/trats2.h
+++ b/include/configs/trats2.h
@@ -44,8 +44,10 @@ 
 #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=" \
@@ -153,6 +156,7 @@ 
 		   "setenv spl_imgsize;" \
 		   "setenv spl_imgaddr;" \
 		   "setenv spl_addr_tmp;\0" \
+	CONFIG_EXTRA_ENV_ITB \
 	"fdtaddr=40800000\0" \
 
 /* GPT */