bdk: fuse: add all t210b01 fuses

And use B01 to distinguish the ones only on that SoC.
This commit is contained in:
CTCaer
2023-07-22 07:10:12 +03:00
parent b9bc35a22e
commit 9187fa7a8c
3 changed files with 240 additions and 59 deletions

View File

@@ -103,7 +103,7 @@ static u8 _max77812_get_address()
return max77812_i2c_addr;
max77812_i2c_addr =
!(FUSE(FUSE_RESERVED_ODM28_T210B01) & 1) ? MAX77812_PHASE31_CPU_I2C_ADDR : MAX77812_PHASE211_CPU_I2C_ADDR;
!(FUSE(FUSE_RESERVED_ODM28_B01) & 1) ? MAX77812_PHASE31_CPU_I2C_ADDR : MAX77812_PHASE211_CPU_I2C_ADDR;
return max77812_i2c_addr;
}