ARM: AM43XX: Add functions to save/restore am43xx control registers
authorTero Kristo <t-kristo@ti.com>
Tue, 22 May 2018 18:21:39 +0000 (23:51 +0530)
committerTony Lindgren <tony@atomide.com>
Wed, 23 May 2018 18:54:26 +0000 (11:54 -0700)
commit38c4b121b0fb6b3a861345bad8d4d3db621f1829
tree7cd65e313cf282c4e7bdcfbfc6a00d5fc6825318
parentd65777d1a2cd0009a57222262c49fd829d15fe70
ARM: AM43XX: Add functions to save/restore am43xx control registers

These registers are part of the wkup domain and are lost during RTC only
suspend and also hibernation, so storing/restoring their state is
necessary.

Signed-off-by: Tero Kristo <t-kristo@ti.com>
Signed-off-by: Keerthy <j-keerthy@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/control.c
arch/arm/mach-omap2/control.h