summaryrefslogtreecommitdiff
path: root/board/warp7
diff options
context:
space:
mode:
authorFabio Estevam <festevam@denx.de>2022-03-15 02:24:06 +0300
committerStefano Babic <sbabic@denx.de>2022-04-12 16:36:18 +0300
commit473466a5c44a97ae4376862b412d036c5b655d2b (patch)
tree6a9b4f201362de2b317c4ad31fa2cc228104e8cc /board/warp7
parent8479b9e6c9db6dc0971283c35d59ab07b289be52 (diff)
downloadu-boot-473466a5c44a97ae4376862b412d036c5b655d2b.tar.xz
warp7: Remove UART initialization code
With DM_SERIAL selected, it is no longer needed board code to initialize the UART. Describe the nodes that require dm-pre-reloc, which allows the DM model to configure the UART pinctrl early. Remove the now unneeded board UART initialization. Signed-off-by: Fabio Estevam <festevam@denx.de>
Diffstat (limited to 'board/warp7')
-rw-r--r--board/warp7/warp7.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/board/warp7/warp7.c b/board/warp7/warp7.c
index c5c5433048..95b8e82dd1 100644
--- a/board/warp7/warp7.c
+++ b/board/warp7/warp7.c
@@ -27,9 +27,6 @@
DECLARE_GLOBAL_DATA_PTR;
-#define UART_PAD_CTRL (PAD_CTL_DSE_3P3V_49OHM | PAD_CTL_PUS_PU100KOHM | \
- PAD_CTL_HYS)
-
int dram_init(void)
{
gd->ram_size = PHYS_SDRAM_SIZE;
@@ -46,23 +43,6 @@ static iomux_v3_cfg_t const wdog_pads[] = {
MX7D_PAD_GPIO1_IO00__WDOG1_WDOG_B | MUX_PAD_CTRL(NO_PAD_CTRL),
};
-static iomux_v3_cfg_t const uart1_pads[] = {
- MX7D_PAD_UART1_TX_DATA__UART1_DCE_TX | MUX_PAD_CTRL(UART_PAD_CTRL),
- MX7D_PAD_UART1_RX_DATA__UART1_DCE_RX | MUX_PAD_CTRL(UART_PAD_CTRL),
-};
-
-static void setup_iomux_uart(void)
-{
- imx_iomux_v3_setup_multiple_pads(uart1_pads, ARRAY_SIZE(uart1_pads));
-};
-
-int board_early_init_f(void)
-{
- setup_iomux_uart();
-
- return 0;
-}
-
#ifdef CONFIG_DM_PMIC
int power_init_board(void)
{