SuperIO zones initialization should only be done for the A2560X/GenX for now

This commit is contained in:
Vincent Barrilliot 2023-12-08 12:29:18 +01:00
parent 2b3194631a
commit ced1b8c107

View file

@ -11,8 +11,12 @@ static void configure_zones(void);
* Initialize the SuperIO registers
*/
void superio_init(void) {
configure_zones(); // This Init used to be done by the FPGA.
#if MODEL == MODEL_FOENIX_A2560X || MODEL == MODEL_FOENIX_GENX
// This initialization used to be done by the FPGA.
// Other machines A2560K/C256FMX will have this change soon to.
configure_zones();
#endif
*GP10_REG = 0x01;
*GP11_REG = 0x01;
*GP12_REG = 0x01;