artik5: configs: enable FASTBOOT_AUTO_REBOOT
authorChanho Park <chanho61.park@samsung.com>
Wed, 5 Aug 2015 02:41:47 +0000 (11:41 +0900)
committerChanho Park <chanho61.park@samsung.com>
Wed, 5 Aug 2015 02:41:47 +0000 (11:41 +0900)
To enter fastboot automatically during reboot, we'll check a inform4
register and it has FASTBOOT_AUTO_REBOOT_MODE.

Change-Id: I8df0a89879f5845613fb16b99751999c7fab7b77
Signed-off-by: Chanho Park <chanho61.park@samsung.com>
include/configs/artik10.h

index bd3f3722c1914deaa8de98b21cc733476e47f871..c36ca7e16801311c078091e864b4a886e315e6a7 100644 (file)
 #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
+
 /* MMC SPL */
 #define CONFIG_SPL
 #define IROM_FNPTR_BASE                                0x02020030