summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2020-07-07 23:38:33 +0200
committerPatrick Georgi <pgeorgi@google.com>2020-07-12 19:31:51 +0000
commitf3de8859a80add88c80e1b04b91be3dabebdbb47 (patch)
tree7a40130b6fcdd78cba990e0d4969bbeecd32fbb9 /src
parentf33ab7c30f4d1087111ac92c3ddcbd65a0e7d455 (diff)
mb/supermicro/x9scl: Drop dead code
This code is not even being build-tested. Drop it before it grows moss. Change-Id: I65fedfa7e8b2fbb72b3109a8790445e38909976a Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/43235 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Michael Niewöhner
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/supermicro/x9scl/early_init.c31
1 files changed, 0 insertions, 31 deletions
diff --git a/src/mainboard/supermicro/x9scl/early_init.c b/src/mainboard/supermicro/x9scl/early_init.c
index 4a31884627..be0b3cde01 100644
--- a/src/mainboard/supermicro/x9scl/early_init.c
+++ b/src/mainboard/supermicro/x9scl/early_init.c
@@ -43,7 +43,6 @@ static const uint8_t superio_initvals[][2] = {
SUPERIO_INITVAL(0x1b, 0x68),
SUPERIO_INITVAL(0x1c, 0x83),
SUPERIO_INITVAL(0x24, 0x24),
- //SUPERIO_INITVAL(0x27, 0x00),
SUPERIO_INITVAL(0x2a, 0x00),
SUPERIO_INITVAL(0x2b, 0x42),
SUPERIO_INITVAL(0x2c, 0x80),
@@ -71,17 +70,6 @@ static const uint8_t superio_initvals[][2] = {
SUPERIO_BANK(0x0), /* FDC */
SUPERIO_INITVAL(0x30, 0x80),
-
-#if 0
- SUPERIO_BANK(8),
- SUPERIO_INITVAL(0x30, 0x0a),
- SUPERIO_INITVAL(0x60, X9SCL_NCT6776_GPIO_BASE >> 8),
- SUPERIO_INITVAL(0x61, X9SCL_NCT6776_GPIO_BASE & 0xff),
- SUPERIO_INITVAL(0xe1, 0xf9),
-
- SUPERIO_BANK(0xa),
- SUPERIO_INITVAL(0xe4, 0x60),
-#endif
};
@@ -107,25 +95,6 @@ static void bmc_init(void)
pnp_set_iobase(dev, PNP_IDX_IO1, X9SCL_WPCM450_KCS_BASE + 1);
pnp_set_iobase(dev, PNP_IDX_IRQ0, 0);
pnp_set_enable(dev, 1);
-
-#if 0
- //wpcm450_enable_dev(WPCM450_SP2, X9SCL_WPCM450_PNP_BASE, 0x03e8);
- //wpcm450_enable_dev(WPCM450_SP1, X9SCL_WPCM450_PNP_BASE, 0x02e8);
-#endif
-
-#if 0
- dev = PNP_DEV(X9SCL_WPCM450_PNP_BASE, WPCM450_SP2);
- pnp_set_logical_device(dev);
- pnp_set_enable(dev, 0);
- pnp_set_iobase(dev, PNP_IDX_IO0, 0x03e8);
- pnp_set_enable(dev, 1);
-
- dev = PNP_DEV(X9SCL_WPCM450_PNP_BASE, WPCM450_SP1);
- pnp_set_logical_device(dev);
- pnp_set_enable(dev, 0);
- pnp_set_iobase(dev, PNP_IDX_IO0, 0x02e8);
- pnp_set_enable(dev, 0);
-#endif
}
void bootblock_mainboard_early_init(void)