Skip to content

Commit d98ae80

Browse files
jackpot51crawfxrd
authored andcommitted
lemp13: make sure to configure GPP_E11 in romstage
Change-Id: Iea28473c3a1dcf05e7c6701d61109b413cd04501 Signed-off-by: Jeremy Soller <jackpot51@gmail.com>
1 parent 5517058 commit d98ae80

3 files changed

Lines changed: 3 additions & 1 deletion

File tree

src/mainboard/system76/mtl/variants/lemp13/gpio.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ static const struct pad_config gpio_table[] = {
109109
PAD_CFG_GPO(GPP_E08, 0, PLTRST),
110110
PAD_CFG_GPI(GPP_E09, NONE, DEEP),
111111
PAD_CFG_GPO(GPP_E10, 0, PLTRST),
112-
PAD_CFG_GPI(GPP_E11, NONE, DEEP),
112+
PAD_CFG_GPI(GPP_E11, NONE, DEEP), // BOARD_ID1
113113
_PAD_CFG_STRUCT(GPP_E12, 0x84002200, 0x0000),
114114
_PAD_CFG_STRUCT(GPP_E13, 0x44002100, 0x0000),
115115
PAD_CFG_NF(GPP_E14, NONE, DEEP, NF1),

src/mainboard/system76/mtl/variants/lemp13/gpio_early.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
static const struct pad_config early_gpio_table[] = {
77
PAD_CFG_NF(GPP_C00, NONE, DEEP, NF1), // SMB_CLK
88
PAD_CFG_NF(GPP_C01, NONE, DEEP, NF1), // SMB_DATA
9+
PAD_CFG_GPI(GPP_E11, NONE, DEEP), // BOARD_ID1
910
PAD_CFG_NF(GPP_H08, NONE, DEEP, NF1), // UART0_RX
1011
PAD_CFG_NF(GPP_H09, NONE, DEEP, NF1), // UART0_TX
1112
};

src/mainboard/system76/mtl/variants/lemp13/romstage.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/* SPDX-License-Identifier: GPL-2.0-only */
22

3+
#include <soc/gpio.h>
34
#include <soc/meminit.h>
45
#include <soc/romstage.h>
56

0 commit comments

Comments
 (0)