mirror of
https://gitee.com/Vancouver2017/luban-lite-t3e-pro.git
synced 2025-12-16 03:18:54 +00:00
V1.0.5
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user