esp_hw_support: Removes efuse dependency

This commit is contained in:
KonstantinKondrashov
2022-11-23 00:39:25 +08:00
parent 1b09f26419
commit 741e89cbaa
26 changed files with 249 additions and 170 deletions

View File

@@ -192,10 +192,21 @@ typedef volatile struct efuse_dev_s {
};
uint32_t val;
} rd_mac_spi_sys_3;
uint32_t rd_mac_spi_sys_4; /*BLOCK1 data register $n.*/
union {
struct {
uint32_t reserved1: 23;
uint32_t reserved1: 7;
uint32_t k_rtc_ldo: 7;
uint32_t k_dig_ldo: 7;
uint32_t v_rtc_dbias20: 8;
uint32_t v_dig_dbias20_low: 3;
};
uint32_t val;
} rd_mac_spi_sys_4; /*BLOCK1 data register $n.*/
union {
struct {
uint32_t v_dig_dbias20_hi: 5;
uint32_t dig_dbias_hvt: 5;
uint32_t reserved1: 13;
uint32_t wafer_version_minor_high: 1;
uint32_t wafer_version_major: 2;
uint32_t reserved2: 6;
@@ -208,8 +219,10 @@ typedef volatile struct efuse_dev_s {
uint32_t rd_sys_part1_data3; /*Register $n of BLOCK2 (system).*/
union {
struct {
uint32_t blk_version_major : 2;
uint32_t reserved1: 30;
uint32_t blk_version_major: 2;
uint32_t reserved1: 10;
uint32_t ocode: 8;
uint32_t reserved2: 12;
};
uint32_t val;
} rd_sys_part1_data4; /*Register $n of BLOCK2 (system).*/