summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2019-12-07 10:37:40 +0100
committerFelix Held <felix-coreboot@felixheld.de>2019-12-15 11:54:54 +0000
commit50b82ef2bb44602a62d676f2b9c6900da0ad4162 (patch)
tree335f2483f2cfc91af62f9e9ff07ebb030c5dd276 /src/mainboard
parentebcd0a8d8d6f28a3c4962a632e0e374a8fa47908 (diff)
downloadcoreboot-50b82ef2bb44602a62d676f2b9c6900da0ad4162.tar.xz
mb/msi/ms7721: Don't rewrite pnp_{enter,exit}_conf_state function
Change-Id: Ib27c518fb5ce99e17be25b974ff5adc8c6b3f3a6 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/37570 Reviewed-by: Felix Held <felix-coreboot@felixheld.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/msi/ms7721/romstage.c15
1 files changed, 0 insertions, 15 deletions
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);