[fix] fix build error
This commit is contained in:
parent
9ad915ef1f
commit
34a5fe8e0b
@ -123,6 +123,7 @@
|
||||
#define GPIO_FUNC_JTAG_LP (25 << GPIO_FUNC_SHIFT)
|
||||
#define GPIO_FUNC_JTAG_M0 (26 << GPIO_FUNC_SHIFT)
|
||||
#define GPIO_FUNC_JTAG_D0 (27 << GPIO_FUNC_SHIFT)
|
||||
#define GPIO_FUNC_CLKOUT (31 << GPIO_FUNC_SHIFT)
|
||||
#elif defined(BL628)
|
||||
#define GPIO_FUNC_SDH (0 << GPIO_FUNC_SHIFT)
|
||||
#define GPIO_FUNC_SPI0 (1 << GPIO_FUNC_SHIFT)
|
||||
|
@ -41,8 +41,8 @@ void System_Post_Init(void)
|
||||
|
||||
/* fix amr setting */
|
||||
uintptr_t tmpVal = 0;
|
||||
Efuse_Chip_Info_Type chip_info;
|
||||
EF_Ctrl_Get_Chip_Info(&chip_info);
|
||||
bflb_efuse_device_info_type chip_info;
|
||||
bflb_ef_ctrl_get_device_info(&chip_info);
|
||||
/* if not B0 enable AMR */
|
||||
if (chip_info.chipInfo != BL808_B0) {
|
||||
tmpVal = __get_MHINT();
|
||||
|
Reference in New Issue
Block a user