diff options
author | Ye Li <ye.li@nxp.com> | 2019-01-30 22:40:59 -0800 |
---|---|---|
committer | Ye Li <ye.li@nxp.com> | 2019-02-11 00:07:23 -0800 |
commit | 8128566e843d76720cdc5c3e075fa303e401132f (patch) | |
tree | 07c57e909bd6f5fe5eb5eae1658a6f771350afb0 /board/freescale | |
parent | 327115c1d490d35afd94ae416ad91bebd595cfe2 (diff) |
MLK-20886-11: imx8qxp_mek: Remove GPIO1_1 for IO Expander reset
Since we have asked SCFW to do this job to avoid issues in partition
reboot, remove relevant codes.
Signed-off-by: Ye Li <ye.li@nxp.com>
Diffstat (limited to 'board/freescale')
-rw-r--r-- | board/freescale/imx8qxp_mek/imx8qxp_mek.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/board/freescale/imx8qxp_mek/imx8qxp_mek.c b/board/freescale/imx8qxp_mek/imx8qxp_mek.c index 8a654b6c3f..9341c2247a 100644 --- a/board/freescale/imx8qxp_mek/imx8qxp_mek.c +++ b/board/freescale/imx8qxp_mek/imx8qxp_mek.c @@ -326,13 +326,6 @@ static int setup_fec(int ind) #endif #ifdef CONFIG_MXC_GPIO -#define IOEXP_RESET IMX_GPIO_NR(1, 1) - -static iomux_cfg_t board_gpios[] = { - SC_P_SPI2_SDO | MUX_MODE_ALT(4) | MUX_PAD_CTRL(GPIO_PAD_CTRL), - SC_P_ENET0_REFCLK_125M_25M | MUX_MODE_ALT(4) | MUX_PAD_CTRL(GPIO_PAD_CTRL), -}; - static void board_gpio_init(void) { int ret; @@ -350,12 +343,6 @@ static void board_gpio_init(void) dm_gpio_set_value(&desc, 0); udelay(50); dm_gpio_set_value(&desc, 1); - - imx8_iomux_setup_multiple_pads(board_gpios, ARRAY_SIZE(board_gpios)); - - /* enable i2c port expander assert reset line */ - gpio_request(IOEXP_RESET, "ioexp_rst"); - gpio_direction_output(IOEXP_RESET, 1); } #endif |