summaryrefslogtreecommitdiff
path: root/src/mainboard/intel/leafhill
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/intel/leafhill')
-rw-r--r--src/mainboard/intel/leafhill/bootblock.c2
-rw-r--r--src/mainboard/intel/leafhill/brd_gpio_early.h6
2 files changed, 6 insertions, 2 deletions
diff --git a/src/mainboard/intel/leafhill/bootblock.c b/src/mainboard/intel/leafhill/bootblock.c
index 0f3898a140..4cd1e6a4cf 100644
--- a/src/mainboard/intel/leafhill/bootblock.c
+++ b/src/mainboard/intel/leafhill/bootblock.c
@@ -5,7 +5,7 @@
#include "brd_gpio_early.h"
-void bootblock_mainboard_init(void)
+void bootblock_mainboard_early_init(void)
{
gpio_configure_pads(early_gpio_table, ARRAY_SIZE(early_gpio_table));
}
diff --git a/src/mainboard/intel/leafhill/brd_gpio_early.h b/src/mainboard/intel/leafhill/brd_gpio_early.h
index e44bc706fa..8b40f53721 100644
--- a/src/mainboard/intel/leafhill/brd_gpio_early.h
+++ b/src/mainboard/intel/leafhill/brd_gpio_early.h
@@ -12,5 +12,9 @@ static const struct pad_config early_gpio_table[] = {
PAD_CFG_NF(LPC_AD3, UP_20K, DEEP, NF1),
PAD_CFG_NF(LPC_FRAMEB, NATIVE, DEEP, NF1),
PAD_CFG_NF(LPC_CLKOUT0, UP_20K, DEEP, NF1),
- PAD_CFG_NF(LPC_CLKOUT1, UP_20K, DEEP, NF1)
+ PAD_CFG_NF(LPC_CLKOUT1, UP_20K, DEEP, NF1),
+
+ /* UART */
+ PAD_CFG_NF(GPIO_46, NATIVE, DEEP, NF1), /* UART2 RX */
+ PAD_CFG_NF(GPIO_47, NATIVE, DEEP, NF1), /* UART2 TX */
};