mirror of
https://github.com/smaeul/u-boot.git
synced 2025-09-14 22:16:03 +01:00
Commit 68dcbdd594d4 ("ARM: imx: Add weak default reset_cpu()") caused the 'reset' command in U-Boot to not cause a board reset. Fix it by switching to the watchdog driver model via sysreset, which is the preferred method for implementing the watchdog reset. With the watchdog driver model in place, it is no longer needed to have board code to initialize the watchdog, so remove its related board code. Signed-off-by: Fabio Estevam <festevam@gmail.com>
30 lines
268 B
Plaintext
30 lines
268 B
Plaintext
// SPDX-License-Identifier: GPL-2.0+
|
|
|
|
/ {
|
|
wdt-reboot {
|
|
compatible = "wdt-reboot";
|
|
wdt = <&wdog1>;
|
|
bootph-pre-ram;
|
|
};
|
|
};
|
|
|
|
&soc {
|
|
bootph-all;
|
|
};
|
|
|
|
&aips1 {
|
|
bootph-all;
|
|
};
|
|
|
|
&pinctrl_uart1 {
|
|
bootph-all;
|
|
};
|
|
|
|
&uart1 {
|
|
bootph-all;
|
|
};
|
|
|
|
&wdog1 {
|
|
bootph-pre-ram;
|
|
};
|