KT24-1110_65E-HA-651B/include_lib/driver/cpu/br25/asm/efuse.h

27 lines
740 B
C
Raw Permalink Normal View History

2024-11-10 10:44:17 +00:00
#ifndef __EFUSE_H__
#define __EFUSE_H__
u16 get_chip_id();
u16 get_vbat_trim();
u16 get_vbg_trim();
u8 get_sysdvdd_trim();
u32 get_chip_version();
/* struct lrc_config_t { */
/* u16 lrc_ws_inc; //from uboot */
/* u16 lrc_ws_init; //from uboot */
/* u16 btosc_ws_inc; //from uboot */
/* u16 btosc_ws_init; //from uboot */
/* u8 lrc_change_mode; //from uboot */
/* }; */
u16 get_lrc_ws_inc(); //from uboot
u16 get_lrc_ws_init(); //from uboot
u16 get_btosc_ws_inc(); //from uboot
u16 get_btosc_ws_init(); //from uboot
u8 get_lrc_change_mode(); //from uboot
u32 get_boot_flag();
void set_boot_flag(u32 flag);
u32 p33_rd_page(u8 page);
#endif /*EFUSE_H*/