13#define FLASH_HEAD_ADDR 0x200000
14#define FLASH_MEM_SIZE 0x00400000
16#define FLASH_START 0x200000
17#define FLASH_LEN 0x800000
19#define KERNEL_START_ADDR 0x90110000
21#define BOOT_HEAD_ADDR 0x200000
22#define LOAD_BOOT_ADDR 0xA20000
24#define BOOT_PORTING_RESET_REG 0x40002110
25#define BOOT_PORTING_RESET_VALUE 0x4
27#define RESET_COUNT_REG 0x40000008
28#define STATUS_DEBUG_REG_ADDR 0x44000014
30#define HIBURN_CODELOADER_UART UART_BUS_0
31#define HIBURN_UART_TX CHIP_FIXED_TX_PIN
32#define HIBURN_UART_RX CHIP_FIXED_RX_PIN
33#define UART_ROMBOOT_INT_TIMEOUT_DEFAULT 32
35#define FLASHBOOT_MAX_SIZE 0x10000
36#define SRAM_START_ADDR 0x00100000
37#define LOADY_MAX_ADDR 0x1000000
39#define RAM_MIN_ADDR BOOT_RAM_MIN
40#define RAM_MAX_ADDR BOOT_RAM_MAX
42#define LOAD_MAX_RAM_ADDR (RAM_MAX_ADDR - 0x40)
43#define LOAD_MIN_SIZE 0x0
44#define LOAD_MAX_SIZE 0x1000000
46#define RESET_DELAY_MS 100
48#define REPET_TIMES_2 2
49#define REPET_TIMES_3 3
50#define REBOOT_MAX_CNT 15
void start_fastboot(void)
Definition boot_init.h:53
uint32_t reset_cnt
Definition boot_init.h:56
uint32_t resv
Definition boot_init.h:57
uint32_t u32
Definition boot_init.h:60
uint32_t fota_fix_app_cnt
Definition boot_init.h:55