From f3de8859a80add88c80e1b04b91be3dabebdbb47 Mon Sep 17 00:00:00 2001 From: Angel Pons Date: Tue, 7 Jul 2020 23:38:33 +0200 Subject: mb/supermicro/x9scl: Drop dead code MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This code is not even being build-tested. Drop it before it grows moss. Change-Id: I65fedfa7e8b2fbb72b3109a8790445e38909976a Signed-off-by: Angel Pons Reviewed-on: https://review.coreboot.org/c/coreboot/+/43235 Tested-by: build bot (Jenkins) Reviewed-by: Michael Niewöhner --- src/mainboard/supermicro/x9scl/early_init.c | 31 ----------------------------- 1 file changed, 31 deletions(-) (limited to 'src/mainboard/supermicro/x9scl/early_init.c') 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) -- cgit v1.2.3