mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-26 07:17:10 +00:00
mx6cuboxi: Convert to watchdog driver model
Commit 68dcbdd594
("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.
Signed-off-by: Fabio Estevam <festevam@gmail.com>
Tested-by: Christian Gmeiner <cgmeiner@igalia.com>
This commit is contained in:
parent
ea2b074a1c
commit
fc07cac02a
2 changed files with 13 additions and 0 deletions
|
@ -13,6 +13,12 @@
|
||||||
&gpio6 4 0
|
&gpio6 4 0
|
||||||
>;
|
>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
wdt-reboot {
|
||||||
|
compatible = "wdt-reboot";
|
||||||
|
wdt = <&wdog1>;
|
||||||
|
bootph-pre-ram;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
&soc {
|
&soc {
|
||||||
|
@ -58,3 +64,7 @@
|
||||||
&usdhc3 {
|
&usdhc3 {
|
||||||
bootph-all;
|
bootph-all;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&wdog1 {
|
||||||
|
bootph-pre-ram;
|
||||||
|
};
|
||||||
|
|
|
@ -71,6 +71,8 @@ CONFIG_DM_REGULATOR=y
|
||||||
CONFIG_DM_REGULATOR_FIXED=y
|
CONFIG_DM_REGULATOR_FIXED=y
|
||||||
CONFIG_DM_SERIAL=y
|
CONFIG_DM_SERIAL=y
|
||||||
CONFIG_MXC_UART=y
|
CONFIG_MXC_UART=y
|
||||||
|
CONFIG_SYSRESET=y
|
||||||
|
CONFIG_SYSRESET_WATCHDOG=y
|
||||||
CONFIG_DM_THERMAL=y
|
CONFIG_DM_THERMAL=y
|
||||||
CONFIG_IMX_THERMAL=y
|
CONFIG_IMX_THERMAL=y
|
||||||
CONFIG_USB=y
|
CONFIG_USB=y
|
||||||
|
@ -89,3 +91,4 @@ CONFIG_IMX_HDMI=y
|
||||||
CONFIG_SPLASH_SCREEN=y
|
CONFIG_SPLASH_SCREEN=y
|
||||||
CONFIG_SPLASH_SCREEN_ALIGN=y
|
CONFIG_SPLASH_SCREEN_ALIGN=y
|
||||||
CONFIG_BMP_16BPP=y
|
CONFIG_BMP_16BPP=y
|
||||||
|
CONFIG_IMX_WATCHDOG=y
|
||||||
|
|
Loading…
Add table
Reference in a new issue