mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-05-05 04:36:13 +02:00
arm: imx9: Keep WDG3/WDG4 untouched for i.MX952
On i.MX952, WDG3 and WDG4 are not used for system reset. PSCI is used instead. Keep WDG3 and WDG4 in their default state rather than explicitly disabling them. Signed-off-by: Alice Guo <alice.guo@nxp.com>
This commit is contained in:
parent
62a82fa290
commit
56b39ef00a
@ -786,8 +786,10 @@ static void gpio_reset(ulong gpio_base)
|
||||
int arch_cpu_init(void)
|
||||
{
|
||||
if (IS_ENABLED(CONFIG_SPL_BUILD)) {
|
||||
disable_wdog((void __iomem *)WDG3_BASE_ADDR);
|
||||
disable_wdog((void __iomem *)WDG4_BASE_ADDR);
|
||||
if (!IS_ENABLED(CONFIG_IMX952)) {
|
||||
disable_wdog((void __iomem *)WDG3_BASE_ADDR);
|
||||
disable_wdog((void __iomem *)WDG4_BASE_ADDR);
|
||||
}
|
||||
|
||||
gpio_reset(GPIO2_BASE_ADDR);
|
||||
gpio_reset(GPIO3_BASE_ADDR);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user