This commit is contained in:
刘可亮
2024-06-04 19:00:30 +08:00
parent 990c72f5be
commit 0a13af6a1d
1668 changed files with 342810 additions and 37726 deletions

View File

@@ -21,6 +21,7 @@
#define EFUSE_REG_WFRID (SID_BASE + 0x0018)
#define EFUSE_REG_PKGID (SID_BASE + 0x001C)
#define EFUSE_REG_JTAG (SID_BASE + 0x0080)
#define EFUSE_REG_VER (SID_BASE + 0x00FC)
#define EFUSE_REG_SRAM (SID_BASE + 0x200)
#define EFUSE_CTL_BROM_PRIV_LOCK (0x1 << 28)
@@ -61,6 +62,11 @@ int hal_efuse_deinit(void)
return 0;
}
int hal_efuse_get_version(void)
{
return readl(EFUSE_REG_VER);
}
int hal_efuse_wait_ready(void)
{
u32 val, msk;