diff options
author | Tim Harvey <tharvey@gateworks.com> | 2021-03-01 14:33:33 -0800 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2021-04-08 20:29:53 +0200 |
commit | ee025c13b29e58007f8cfc822b100ce6f085e8cd (patch) | |
tree | 74b61a938d8d548ac04c78b94d588170ac96754b /board/gateworks | |
parent | d863d054397a5aa5e9698c180b4a898b415267c7 (diff) | |
download | u-boot-ee025c13b29e58007f8cfc822b100ce6f085e8cd.tar.gz u-boot-ee025c13b29e58007f8cfc822b100ce6f085e8cd.tar.xz u-boot-ee025c13b29e58007f8cfc822b100ce6f085e8cd.zip |
imx: ventana: add pinctrl and remove unneeded UART init and config
Once the IMX6 pinctrl driver is added UART is fully using driver mode
so we no longer need to config and initialize it.
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Diffstat (limited to 'board/gateworks')
-rw-r--r-- | board/gateworks/gw_ventana/gw_ventana.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/board/gateworks/gw_ventana/gw_ventana.c b/board/gateworks/gw_ventana/gw_ventana.c index fb745cccee..0fbbfb8346 100644 --- a/board/gateworks/gw_ventana/gw_ventana.c +++ b/board/gateworks/gw_ventana/gw_ventana.c @@ -24,7 +24,6 @@ #include <asm/io.h> #include <asm/setup.h> #include <dm.h> -#include <dm/platform_data/serial_mxc.h> #include <env.h> #include <hwconfig.h> #include <i2c.h> @@ -628,8 +627,6 @@ void get_board_serial(struct tag_serialnr *serialnr) int board_early_init_f(void) { - setup_iomux_uart(); - #if defined(CONFIG_VIDEO_IPUV3) setup_display(); #endif @@ -1389,12 +1386,3 @@ int ft_board_setup(void *blob, struct bd_info *bd) return 0; } #endif /* CONFIG_OF_BOARD_SETUP */ - -static struct mxc_serial_plat ventana_mxc_serial_plat = { - .reg = (struct mxc_uart *)UART2_BASE, -}; - -U_BOOT_DRVINFO(ventana_serial) = { - .name = "serial_mxc", - .plat = &ventana_mxc_serial_plat, -}; |