1
0
Fork 0
mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-01-24 01:09:38 -05:00
linux/arch/arm/mach-rockchip
Chris Zhong b403125d3b ARM: rockchip: fix undefined instruction of reset_ctrl_regs
Sometimes the debug module may not work well after resume, since it has
not been correctly reset when wakeup from suspend. That cause system
crash during reusme, and a 'undefined instruction' is displayed on the
console. Set the GRF_FORCE_JTAG bit of RK3288_GRF_SOC_CON0 can ensure
that debug modul is reset. And we can change the value of
RK3288_GRF_SOC_CON0 back when system resume.

Signed-off-by: Chris Zhong <zyw@rock-chips.com>
Tested-by: Caesar Wang <wxt@rock-chips.com>
Reviewed-by: Douglas Anderson <dianders@chromium.org>

According to discussions, there does not seem a better solution available.
Please also see the potential security implication described in the
comment inline in the code.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
2015-04-16 21:17:26 +02:00
..
core.h ARM: rockchip: convert smp bringup to CPU_METHOD_OF_DECLARE 2014-05-26 11:15:53 -07:00
headsmp.S ARM: rockchip: add basic smp support for rk3288 2014-11-05 22:18:40 +01:00
Kconfig ARM: rockchip: force built-in regulator support for PM 2015-02-18 12:20:30 +01:00
Makefile ARM: rockchip: add suspend and resume for RK3288 2014-12-31 16:16:50 +01:00
platsmp.c ARM: rockchip: Constify struct regmap_config and staticize local function 2015-03-11 22:40:56 +01:00
pm.c ARM: rockchip: fix undefined instruction of reset_ctrl_regs 2015-04-16 21:17:26 +02:00
pm.h ARM: rockchip: fix undefined instruction of reset_ctrl_regs 2015-04-16 21:17:26 +02:00
rockchip.c ARM: SoC platform changes 2015-02-17 09:27:54 -08:00
sleep.S ARM: rockchip: add suspend and resume for RK3288 2014-12-31 16:16:50 +01:00