From: Chanho Park Date: Wed, 5 Aug 2015 02:36:48 +0000 (+0900) Subject: artik5: configs: enable FASTBOOT_AUTO_REBOOT X-Git-Tag: submit/tizen/20160318.071304~83 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=201698597aa4ed296c889963effdc6152fb66dd6;p=profile%2Fcommon%2Fplatform%2Fkernel%2Fu-boot-artik.git artik5: configs: enable FASTBOOT_AUTO_REBOOT To enter fastboot automatically during reboot, we'll check a inform4 register and it has FASTBOOT_AUTO_REBOOT_MODE. Change-Id: I623695ae8ff12f187f1b69f7732b24c8f03164b4 Signed-off-by: Chanho Park --- diff --git a/include/configs/artik5.h b/include/configs/artik5.h index f482303e2..68aec8fa7 100755 --- a/include/configs/artik5.h +++ b/include/configs/artik5.h @@ -119,6 +119,7 @@ #define INFORM1_OFFSET 0x804 #define INFORM2_OFFSET 0x808 #define INFORM3_OFFSET 0x80C +#define INFORM4_OFFSET 0x810 /* Size of malloc() pool */ #define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + (1 << 20)) @@ -232,6 +233,9 @@ #define CONFIG_FASTBOOT_CHUNK_SIZE 64 #endif +#define CONFIG_FASTBOOT_AUTO_REBOOT +#define CONFIG_FASTBOOT_AUTO_REBOOT_MODE 0x3 + #ifdef CONFIG_EFI_PARTITION #define CONFIG_PRI_GPT_SIZE (34 * 512) #define CONFIG_SEC_GPT_SIZE (33 * 512)