From ced1b8c1077e25cda07d08b442bacf8fe7da033c Mon Sep 17 00:00:00 2001 From: Vincent Barrilliot Date: Fri, 8 Dec 2023 12:29:18 +0100 Subject: [PATCH] SuperIO zones initialization should only be done for the A2560X/GenX for now --- src/dev/superio.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/dev/superio.c b/src/dev/superio.c index c4e6a8f..17a26a1 100644 --- a/src/dev/superio.c +++ b/src/dev/superio.c @@ -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;