diff options
author | Peng Fan <peng.fan@nxp.com> | 2022-05-05 14:06:06 +0300 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2022-05-20 10:30:29 +0300 |
commit | 09bf8270cfacad91debcfd5ed3c680e0f1cde938 (patch) | |
tree | 2b82f713524fe483755cc30bfc7b2101b5a37600 /board/bsh | |
parent | 0726bdd4608459d658ab600308086e1d50b77286 (diff) | |
download | u-boot-09bf8270cfacad91debcfd5ed3c680e0f1cde938.tar.xz |
imx: imx8mn_smm_s2: clean up board watchdog code
pinctrl_wdog already marked u-boot,dm-spl, so clean up board code.
The set_wdog_reset() function is not necessary as this is handled by
the imx_watchdog.c driver due to the 'fsl,ext-reset-output' property
being set.
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Tested-by: Ariel D'Alessandro <ariel.dalessandro@collabora.com>
Diffstat (limited to 'board/bsh')
-rw-r--r-- | board/bsh/imx8mn_smm_s2/spl.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/board/bsh/imx8mn_smm_s2/spl.c b/board/bsh/imx8mn_smm_s2/spl.c index 0f61acc630..4ccee7c31a 100644 --- a/board/bsh/imx8mn_smm_s2/spl.c +++ b/board/bsh/imx8mn_smm_s2/spl.c @@ -40,19 +40,8 @@ void spl_board_init(void) puts("Failed to find clock node. Check device tree\n"); } -#define WDOG_PAD_CTRL (PAD_CTL_DSE6 | PAD_CTL_ODE | PAD_CTL_PUE | PAD_CTL_PE) - -static const iomux_v3_cfg_t wdog_pads[] = { - IMX8MN_PAD_GPIO1_IO02__WDOG1_WDOG_B | MUX_PAD_CTRL(WDOG_PAD_CTRL), -}; - int board_early_init_f(void) { - struct wdog_regs *wdog = (struct wdog_regs *)WDOG1_BASE_ADDR; - - imx_iomux_v3_setup_multiple_pads(wdog_pads, ARRAY_SIZE(wdog_pads)); - set_wdog_reset(wdog); - init_uart_clk(3); if (IS_ENABLED(CONFIG_NAND_MXS)) { |