From 50b82ef2bb44602a62d676f2b9c6900da0ad4162 Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Sat, 7 Dec 2019 10:37:40 +0100 Subject: mb/msi/ms7721: Don't rewrite pnp_{enter,exit}_conf_state function Change-Id: Ib27c518fb5ce99e17be25b974ff5adc8c6b3f3a6 Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/c/coreboot/+/37570 Reviewed-by: Felix Held Tested-by: build bot (Jenkins) --- src/mainboard/msi/ms7721/romstage.c | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'src/mainboard/msi') diff --git a/src/mainboard/msi/ms7721/romstage.c b/src/mainboard/msi/ms7721/romstage.c index ebb875de63..bec2f40bbb 100644 --- a/src/mainboard/msi/ms7721/romstage.c +++ b/src/mainboard/msi/ms7721/romstage.c @@ -41,21 +41,6 @@ /* GPIO configuration */ -#define FINTEK_ENTRY_KEY 0x87 -static void pnp_enter_conf_state(pnp_devfn_t dev) -{ - u16 port = dev >> 8; - outb(FINTEK_ENTRY_KEY, port); - outb(FINTEK_ENTRY_KEY, port); -} - -#define FINTEK_EXIT_KEY 0xAA -static void pnp_exit_conf_state(pnp_devfn_t dev) -{ - u16 port = dev >> 8; - outb(FINTEK_EXIT_KEY, port); -} - static void gpio_init(pnp_devfn_t dev) { pnp_enter_conf_state(dev); -- cgit v1.2.3