Add missing file for KFuse fix

This commit is contained in:
shchmue 2019-10-22 11:18:05 -06:00
parent b5e932755a
commit eee656bb34
1 changed files with 2 additions and 0 deletions

View File

@ -15,6 +15,7 @@
*/ */
#include "../soc/clock.h" #include "../soc/clock.h"
#include "../soc/kfuse.h"
#include "../soc/t210.h" #include "../soc/t210.h"
#include "../utils/util.h" #include "../utils/util.h"
#include "../storage/sdmmc.h" #include "../storage/sdmmc.h"
@ -188,6 +189,7 @@ void clock_enable_kfuse()
usleep(10); usleep(10);
CLOCK(CLK_RST_CONTROLLER_RST_DEVICES_H) &= 0xFFFFFEFF; CLOCK(CLK_RST_CONTROLLER_RST_DEVICES_H) &= 0xFFFFFEFF;
usleep(20); usleep(20);
kfuse_wait_ready();
} }
void clock_disable_kfuse() void clock_disable_kfuse()