artik5: configs: enable FASTBOOT_AUTO_REBOOT
authorChanho Park <chanho61.park@samsung.com>
Wed, 5 Aug 2015 02:36:48 +0000 (11:36 +0900)
committerChanho Park <chanho61.park@samsung.com>
Wed, 5 Aug 2015 02:36:48 +0000 (11:36 +0900)
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 <chanho61.park@samsung.com>
include/configs/artik5.h

index f482303e2f082e6639175a69645ec1e4011befe6..68aec8fa76e364cd1e42a233c8e635137dc294d4 100755 (executable)
 #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))
 #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)