summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/intel/jasperlake_rvp/bootblock.c2
-rw-r--r--src/mainboard/intel/jasperlake_rvp/variants/jslrvp/gpio.c7
2 files changed, 8 insertions, 1 deletions
diff --git a/src/mainboard/intel/jasperlake_rvp/bootblock.c b/src/mainboard/intel/jasperlake_rvp/bootblock.c
index a8f7e41433..d7f3255974 100644
--- a/src/mainboard/intel/jasperlake_rvp/bootblock.c
+++ b/src/mainboard/intel/jasperlake_rvp/bootblock.c
@@ -5,7 +5,7 @@
#include <bootblock_common.h>
#include <soc/gpio.h>
-void bootblock_mainboard_init(void)
+void bootblock_mainboard_early_init(void)
{
const struct pad_config *pads;
size_t num;
diff --git a/src/mainboard/intel/jasperlake_rvp/variants/jslrvp/gpio.c b/src/mainboard/intel/jasperlake_rvp/variants/jslrvp/gpio.c
index 21e25ab896..c44ce52990 100644
--- a/src/mainboard/intel/jasperlake_rvp/variants/jslrvp/gpio.c
+++ b/src/mainboard/intel/jasperlake_rvp/variants/jslrvp/gpio.c
@@ -310,6 +310,13 @@ static const struct pad_config gpio_table[] = {
/* Early pad configuration in bootblock */
static const struct pad_config early_gpio_table[] = {
+#if CONFIG(BOARD_INTEL_JASPERLAKE_RVP_EXT_EC)
+ /* UART2 RX */
+ PAD_CFG_NF(GPP_C20, NONE, DEEP, NF1),
+
+ /* UART2 TX */
+ PAD_CFG_NF(GPP_C21, NONE, DEEP, NF1),
+#endif
/* GSPI1_CS# */
PAD_CFG_NF(GPP_B19, NONE, DEEP, NF1),