mirror of
https://github.com/bouffalolab/bouffalo_sdk.git
synced 2025-05-09 03:11:58 +08:00
[update][flash] ignore flash mid value
This commit is contained in:
parent
106fc9945f
commit
8604318e59
@ -467,7 +467,7 @@ int ATTR_TCM_SECTION bflb_flash_init(void)
|
||||
L1C_Cache_Flush();
|
||||
#endif
|
||||
bflb_irq_restore(flag);
|
||||
if (g_flash_cfg.mid != 0xff) {
|
||||
if (g_flash_cfg.mid != 0xff && g_flash_cfg.mid != 0x00) {
|
||||
return 0;
|
||||
}
|
||||
clk_delay = g_flash_cfg.clk_delay;
|
||||
|
Loading…
x
Reference in New Issue
Block a user