summaryrefslogtreecommitdiff
path: root/src/mainboard/amd/mandolin/gpio.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/amd/mandolin/gpio.c')
-rw-r--r--src/mainboard/amd/mandolin/gpio.c25
1 files changed, 0 insertions, 25 deletions
diff --git a/src/mainboard/amd/mandolin/gpio.c b/src/mainboard/amd/mandolin/gpio.c
index a60f00e03a..0d2e2faa47 100644
--- a/src/mainboard/amd/mandolin/gpio.c
+++ b/src/mainboard/amd/mandolin/gpio.c
@@ -1,8 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-#include <console/console.h>
#include <soc/gpio.h>
-
#include "gpio.h"
/*
@@ -32,30 +30,7 @@ static const struct soc_amd_gpio gpio_set_stage_ram[] = {
PAD_GPO(GPIO_89, HIGH),
};
-/* eMMC controller driving either an SD card or eMMC device. */
-static const struct soc_amd_gpio emmc_gpios[] = {
- PAD_NF(GPIO_21, EMMC_CMD, PULL_UP),
- PAD_NF(GPIO_22, EMMC_PRW_CTRL, PULL_UP),
- PAD_NF(GPIO_68, EMMC_CD, PULL_UP),
- PAD_NF(GPIO_70, EMMC_CLK, PULL_NONE),
- PAD_NF(GPIO_104, EMMC_DATA0, PULL_UP),
- PAD_NF(GPIO_105, EMMC_DATA1, PULL_UP),
- PAD_NF(GPIO_106, EMMC_DATA2, PULL_UP),
- PAD_NF(GPIO_107, EMMC_DATA3, PULL_NONE),
- PAD_NF(GPIO_74, EMMC_DATA4, PULL_UP),
- PAD_NF(GPIO_75, EMMC_DATA6, PULL_UP),
- PAD_NF(GPIO_87, EMMC_DATA7, PULL_UP),
- PAD_NF(GPIO_88, EMMC_DATA5, PULL_UP),
- PAD_NF(GPIO_109, EMMC_DS, PULL_UP),
-};
-
void mainboard_program_gpios(void)
{
program_gpios(gpio_set_stage_ram, ARRAY_SIZE(gpio_set_stage_ram));
-
- /* Re-muxing LPCCLK0 can hang the system if LPC is in use. */
- if (CONFIG(AMD_LPC_DEBUG_CARD))
- printk(BIOS_INFO, "eMMC not available due to LPC requirement\n");
- else
- program_gpios(emmc_gpios, ARRAY_SIZE(emmc_gpios));
}