hw/arm: enable at24c with aspeed
PATCH 1/1 hw/arm: enable at24c with aspeed
Enable AT24C with ASPEED in the KConfig because the boards build this device.
--- hw/arm/Kconfig | 1 + 1 file changed, 1 insertion(+)
hw/arm/Kconfig +1 -0
@@ -539,6 +539,7 @@ config ASPEED_SOC select PMBUS select MAX31785 select FSI_APB2OPB_ASPEED + select AT24C config MPS2 bool
Signature · 1 line
2.47.0.163.g1226f6d8fa-goog
Quoted 5 lines · Patrick Leis
Enable AT24C with ASPEED in the KConfig because the boards build this device.
Signed-off-by Patrick Leis <[email protected]>
Quoted 21 lines
--- hw/arm/Kconfig | 1 + 1 file changed, 1 insertion(+)hw/arm/Kconfig +1
-1@@ -539,6 +539,7 @@ config ASPEED_SOC select PMBUS select MAX31785 select FSI_APB2OPB_ASPEED + select AT24C config MPS2 bool --2.47.0.163.g1226f6d8fa-goog
Quoted 4 lines · Patrick Leis
Enable AT24C with ASPEED in the KConfig because the boards build this device.
Signed-off-by Patrick Leis <[email protected]>
I was wondering how we haven't hit problems before now. Poking around with scripts/minikconf.py for an arm-softmmu build we get:
# config AT24C depends on I2C # select AT24C if NPCM7XX # => AT24C is now True # config AT24C default y if E500 # config AT24C default n
Seems reasonable that the Aspeed models should select it themselves given they depend on the symbols.
Quoted 2 lines · Patrick Leis
Enable AT24C with ASPEED in the KConfig because the boards build this device.
Maybe explicit the at24c_eeprom_init_rom() call which instanciate TYPE_AT24C_EE.
Quoted 5 lines
Signed-off-by Patrick Leis <[email protected]>--- hw/arm/Kconfig | 1 + 1 file changed, 1 insertion(+)
Cédric Le Goater
AppliedQuoted 13 lines · Patrick Leis
Enable AT24C with ASPEED in the KConfig because the boards build this device.
Signed-off-by Patrick Leis <[email protected]>--- hw/arm/Kconfig | 1 + 1 file changed, 1 insertion(+)hw/arm/Kconfig +0
-0
hw/arm/Kconfig config ASPEED_SOC · line 545
Quoted 7 lines
hw/arm/Kconfig +1
-0@@ -539,6 +539,7 @@ config ASPEED_SOC select PMBUS select MAX31785 select FSI_APB2OPB_ASPEED + select AT24C config MPS2 bool
Applied to aspeed-next.
Thanks,
C.