summaryrefslogtreecommitdiff
path: root/src/mainboard/clevo/cml-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:02 +0000
commit1a0071c7115819302c7df3fa2c07b1ca971e515d (patch)
treee2817966e6be770d1927b79923e7a966a42a4f47 /src/mainboard/clevo/cml-u/variants
parent3b648baf03a97689528a18c16f498bd9c4eb1e21 (diff)
mb/clevo/cml-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. Tested successfully on Clevo L141CU. Change-Id: I05a459b0af79c75c31b1bb26ea1a1a40857ef9bf Signed-off-by: Michael Niewöhner <foss@mniewoehner.de> Reviewed-on: https://review.coreboot.org/c/coreboot/+/48593 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Singer <felixsinger@posteo.net>
Diffstat (limited to 'src/mainboard/clevo/cml-u/variants')
-rw-r--r--src/mainboard/clevo/cml-u/variants/l140cu/gpio_early.c17
1 files changed, 0 insertions, 17 deletions
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 <soc/gpio.h>
-#include <variant/gpio.h>
-
-/* Name format: <pad name> / <net/pin name in schematics> */
-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));
-}