summaryrefslogtreecommitdiff
path: root/board/beacon
diff options
context:
space:
mode:
authorPeng Fan <peng.fan@nxp.com>2022-06-11 15:21:02 +0300
committerStefano Babic <sbabic@denx.de>2022-06-14 22:33:13 +0300
commitee106eda7e93670214f4cf654fbc2b79ef22851d (patch)
tree0837e275fc667f033c9f272bb8a8df766b6fb2a0 /board/beacon
parentca3369df71d8ff03054965a00968e9ddee607389 (diff)
downloadu-boot-ee106eda7e93670214f4cf654fbc2b79ef22851d.tar.xz
imx: imx8mm_beacon: enable pinctrl_wdog in SPL
Mark pinctrl_wdog as u-boot,dm-spl to 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>
Diffstat (limited to 'board/beacon')
-rw-r--r--board/beacon/imx8mm/spl.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/board/beacon/imx8mm/spl.c b/board/beacon/imx8mm/spl.c
index f92b4c3ed0..a93cc93878 100644
--- a/board/beacon/imx8mm/spl.c
+++ b/board/beacon/imx8mm/spl.c
@@ -59,23 +59,6 @@ int board_fit_config_name_match(const char *name)
}
#endif
-#define WDOG_PAD_CTRL (PAD_CTL_DSE6 | PAD_CTL_ODE | PAD_CTL_PUE | PAD_CTL_PE)
-
-static iomux_v3_cfg_t const wdog_pads[] = {
- IMX8MM_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);
-
- return 0;
-}
-
static int power_init_board(void)
{
struct udevice *dev;
@@ -116,8 +99,6 @@ void board_init_f(ulong dummy)
init_uart_clk(1);
- board_early_init_f();
-
timer_init();
/* Clear the BSS. */