mirror of
https://github.com/Decscots/Lockpick_RCM
synced 2024-11-15 08:36:34 +00:00
Add missing file for KFuse fix
This commit is contained in:
parent
b5e932755a
commit
eee656bb34
1 changed files with 2 additions and 0 deletions
|
@ -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()
|
||||||
|
|
Loading…
Reference in a new issue