summaryrefslogtreecommitdiff
path: root/src/mainboard/clevo/kbl-u/variants
diff options
context:
space:
mode:
authorMichael Niewöhner <foss@mniewoehner.de>2020-12-12 01:51:41 +0100
committerMichael Niewöhner <foss@mniewoehner.de>2020-12-20 00:02:09 +0000
commitccceb2250eeb820fccfb62d1f3ab407582d2e79f (patch)
treeeca456b4eeaf585d22c9a00cf1af32afa6ff6112 /src/mainboard/clevo/kbl-u/variants
parent1a0071c7115819302c7df3fa2c07b1ca971e515d (diff)
mb/clevo/kbl-u: drop duplicated configuration of UART pads
UART pads already get configured in bootblock by the UART driver in soc code. Thus, drop the duplicated code from the mainboard. Change-Id: I95565a74e19d693a7d5ead81e72592cc4ca2038c Signed-off-by: Michael Niewöhner <foss@mniewoehner.de> Reviewed-on: https://review.coreboot.org/c/coreboot/+/48594 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Singer <felixsinger@posteo.net>
Diffstat (limited to 'src/mainboard/clevo/kbl-u/variants')
-rw-r--r--src/mainboard/clevo/kbl-u/variants/n13xwu/gpio_early.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/mainboard/clevo/kbl-u/variants/n13xwu/gpio_early.c b/src/mainboard/clevo/kbl-u/variants/n13xwu/gpio_early.c
deleted file mode 100644
index dc55aae6d3..0000000000
--- a/src/mainboard/clevo/kbl-u/variants/n13xwu/gpio_early.c
+++ /dev/null
@@ -1,17 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0-only */
-
-#include <soc/gpio.h>
-#include <variant/gpio.h>
-
-static const struct pad_config early_gpio_table[] = {
- // UART2_RXD
- _PAD_CFG_STRUCT(GPP_C20, 0x44000702, 0x0),
-
- // UART2_TXD
- _PAD_CFG_STRUCT(GPP_C21, 0x44000700, 0x0)
-};
-
-void variant_configure_early_gpios(void)
-{
- gpio_configure_pads(early_gpio_table, ARRAY_SIZE(early_gpio_table));
-}