From 1a0071c7115819302c7df3fa2c07b1ca971e515d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Niew=C3=B6hner?= Date: Sat, 12 Dec 2020 01:51:41 +0100 Subject: mb/clevo/cml-u: drop duplicated configuration of UART pads MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit UART pads already get configured in bootblock by the UART driver in soc code. Thus, drop the duplicated code from the mainboard. Tested successfully on Clevo L141CU. Change-Id: I05a459b0af79c75c31b1bb26ea1a1a40857ef9bf Signed-off-by: Michael Niewöhner Reviewed-on: https://review.coreboot.org/c/coreboot/+/48593 Tested-by: build bot (Jenkins) Reviewed-by: Felix Singer --- src/mainboard/clevo/cml-u/variants/l140cu/gpio_early.c | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 src/mainboard/clevo/cml-u/variants/l140cu/gpio_early.c (limited to 'src/mainboard/clevo/cml-u/variants/l140cu') diff --git a/src/mainboard/clevo/cml-u/variants/l140cu/gpio_early.c b/src/mainboard/clevo/cml-u/variants/l140cu/gpio_early.c deleted file mode 100644 index 3ea1c81e99..0000000000 --- a/src/mainboard/clevo/cml-u/variants/l140cu/gpio_early.c +++ /dev/null @@ -1,17 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ - -#include -#include - -/* Name format: / */ -static const struct pad_config early_gpio_table[] = { - PAD_CFG_NF(GPP_C20, NONE, DEEP, NF1), /* UART2_RXD */ - PAD_CFG_NF(GPP_C21, NONE, DEEP, NF1), /* UART2_TXD */ - PAD_NC(GPP_C22, UP_20K), - PAD_NC(GPP_C23, UP_20K), -}; - -void variant_configure_early_gpios(void) -{ - gpio_configure_pads(early_gpio_table, ARRAY_SIZE(early_gpio_table)); -} -- cgit v1.2.3