Commit 56cab606 authored by Matus Ujhelyi's avatar Matus Ujhelyi Committed by Tony Lindgren

ARM: OMAP2+: am33xx-restart: trigger warm reset on omap2+ boards

Currently the cold reset was triggered. It happened due to oposite offsets
of cold/warm flags in PRM_RSTST and PRM_RSTCTRL registers.
Signed-off-by: default avatarMatus Ujhelyi <ujhelyi.m@gmail.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 1085189f
...@@ -24,8 +24,8 @@ void am33xx_restart(enum reboot_mode mode, const char *cmd) ...@@ -24,8 +24,8 @@ void am33xx_restart(enum reboot_mode mode, const char *cmd)
{ {
/* TODO: Handle mode and cmd if necessary */ /* TODO: Handle mode and cmd if necessary */
am33xx_prm_rmw_reg_bits(AM33XX_GLOBAL_WARM_SW_RST_MASK, am33xx_prm_rmw_reg_bits(AM33XX_RST_GLOBAL_WARM_SW_MASK,
AM33XX_GLOBAL_WARM_SW_RST_MASK, AM33XX_RST_GLOBAL_WARM_SW_MASK,
AM33XX_PRM_DEVICE_MOD, AM33XX_PRM_DEVICE_MOD,
AM33XX_PRM_RSTCTRL_OFFSET); AM33XX_PRM_RSTCTRL_OFFSET);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment