lnls-dig / openMMC

Open source firmware for MMC controllers
GNU General Public License v3.0
39 stars 32 forks source link

Fix clock configuration readback when start on M1 after reset #218

Closed augustofg closed 6 months ago

augustofg commented 6 months ago

After a reset or a power cycle, if the AMC card doesn't go to M4 (ex: when the hotswap handle is pulled), reading the clock switch configuration via IPMI will return a blank array. The solution to this is reading the configuration from the EEPROM in the payload initialization.