Commit 39f68a1f authored by Martin Kepplinger's avatar Martin Kepplinger

board: purism: librem5: remove LIBREM5_ASPEN config option

we use one config for aspen, birch and later revs until now

Fixes #19Signed-off-by: Martin Kepplinger's avatarMartin Kepplinger <martin.kepplinger@puri.sm>
parent 54f300a3
......@@ -35,11 +35,7 @@
#define SPI1_MISO IMX_GPIO_NR(5, 8)
#define SPI1_SS0 IMX_GPIO_NR(5, 9)
#ifndef CONFIG_LIBREM5_ASPEN
#define TPS_RESET IMX_GPIO_NR(3, 24)
#else
#define TPS_RESET NFC_EN
#endif
static iomux_v3_cfg_t const configure_pads[] = {
IMX8MQ_PAD_GPIO1_IO00__GPIO1_IO0 | MUX_PAD_CTRL(PAD_CTL_DSE6),
......@@ -63,9 +59,7 @@ static iomux_v3_cfg_t const configure_pads[] = {
IMX8MQ_PAD_NAND_WP_B__GPIO3_IO18 | MUX_PAD_CTRL(PAD_CTL_DSE6),
IMX8MQ_PAD_SAI3_RXFS__GPIO4_IO28 | MUX_PAD_CTRL(PAD_CTL_DSE6),
IMX8MQ_PAD_SAI3_MCLK__GPIO5_IO2 | MUX_PAD_CTRL(PAD_CTL_DSE6),
#ifndef CONFIG_LIBREM5_ASPEN
IMX8MQ_PAD_SAI5_RXD3__GPIO3_IO24,
#endif
};
static inline void init_pinmux(void)
......@@ -90,9 +84,7 @@ static inline void init_pinmux(void)
gpio_request(TYPEC_MUX_EN, "TYPEC_MUX_EN");
#ifndef CONFIG_LIBREM5_ASPEN
gpio_request(TPS_RESET, "TPS_RESET");
#endif
gpio_request(WWAN_EN, "WWAN_EN");
gpio_request(WWAN_nRESET, "WWAN_nRESET");
......@@ -120,9 +112,7 @@ static inline void init_pinmux(void)
gpio_direction_input(TYPEC_MUX_EN);
#ifndef CONFIG_LIBREM5_ASPEN
gpio_direction_output(TPS_RESET, 0);
#endif
gpio_direction_output(WWAN_EN, 0);
gpio_direction_output(WWAN_nRESET, 1);
......
......@@ -3,7 +3,6 @@ CONFIG_ARCH_IMX8M=y
CONFIG_SYS_TEXT_BASE=0x40200000
CONFIG_SYS_MALLOC_F_LEN=0x2000
CONFIG_TARGET_LIBREM5=y
CONFIG_LIBREM5_ASPEN=y
CONFIG_SPL_SERIAL_SUPPORT=y
CONFIG_ARCH_MISC_INIT=y
CONFIG_SPL=y
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment