diff options
author | Marek Vasut | 2022-12-09 20:35:47 +0100 |
---|---|---|
committer | Stefano Babic | 2023-01-30 23:23:01 +0100 |
commit | a20be24cd4854fb829384f9b45742f7f5d9046c8 (patch) | |
tree | 2dfeff16217666a81b55c04d62a8d0ad38001d45 /board/freescale/imx8mm_evk/spl.c | |
parent | 910c7a881f5b64dc92d3ba9232ce59ae54fd6486 (diff) |
ARM: imx: Remove PMIC reset configuration from board files
The PCA9450 reset configuration can now be performed by the PCA9450 PMIC
driver itself, remove the hard-coded variant from board code and let the
PMIC driver perform this task using one-liner:
```
$ sed -i '/set WDOG_B_CFG to cold reset/,+2 d' $(git grep -l PCA9450_RESET_CTRL.*0xA1 board/)
```
Venice and i.MX93 EVK required slight manual fix up.
Signed-off-by: Marek Vasut <marex@denx.de>
Reviewed-by: Fabio Estevam <festevam@denx.de>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Diffstat (limited to 'board/freescale/imx8mm_evk/spl.c')
-rw-r--r-- | board/freescale/imx8mm_evk/spl.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/board/freescale/imx8mm_evk/spl.c b/board/freescale/imx8mm_evk/spl.c index b5a2faf3a18..6e9513805cd 100644 --- a/board/freescale/imx8mm_evk/spl.c +++ b/board/freescale/imx8mm_evk/spl.c @@ -99,9 +99,6 @@ static int power_init_board(void) /* set VDD_SNVS_0V8 from default 0.85V */ pmic_reg_write(dev, PCA9450_LDO2CTRL, 0xC0); - /* set WDOG_B_CFG to cold reset */ - pmic_reg_write(dev, PCA9450_RESET_CTRL, 0xA1); - return 0; } |