27 lines
740 B
C
27 lines
740 B
C
|
#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*/
|