ARM: at91: pm: group constants and addresses loading
Group constants and addresses loading. This commit prepares the field for the next one. Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com> Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com> Link: https://lore.kernel.org/r/20210930154219.2214051-3-claudiu.beznea@microchip.com
This commit is contained in:
parent
ef162ac50d
commit
e42cbbe5c9
@ -1014,6 +1014,15 @@ ENTRY(at91_pm_suspend_in_sram)
|
|||||||
mov tmp1, #0
|
mov tmp1, #0
|
||||||
mcr p15, 0, tmp1, c7, c10, 4
|
mcr p15, 0, tmp1, c7, c10, 4
|
||||||
|
|
||||||
|
ldr tmp1, [r0, #PM_DATA_PMC_MCKR_OFFSET]
|
||||||
|
str tmp1, .mckr_offset
|
||||||
|
ldr tmp1, [r0, #PM_DATA_PMC_VERSION]
|
||||||
|
str tmp1, .pmc_version
|
||||||
|
ldr tmp1, [r0, #PM_DATA_MEMCTRL]
|
||||||
|
str tmp1, .memtype
|
||||||
|
ldr tmp1, [r0, #PM_DATA_MODE]
|
||||||
|
str tmp1, .pm_mode
|
||||||
|
|
||||||
ldr tmp1, [r0, #PM_DATA_PMC]
|
ldr tmp1, [r0, #PM_DATA_PMC]
|
||||||
str tmp1, .pmc_base
|
str tmp1, .pmc_base
|
||||||
ldr tmp1, [r0, #PM_DATA_RAMC0]
|
ldr tmp1, [r0, #PM_DATA_RAMC0]
|
||||||
@ -1022,14 +1031,6 @@ ENTRY(at91_pm_suspend_in_sram)
|
|||||||
str tmp1, .sramc1_base
|
str tmp1, .sramc1_base
|
||||||
ldr tmp1, [r0, #PM_DATA_RAMC_PHY]
|
ldr tmp1, [r0, #PM_DATA_RAMC_PHY]
|
||||||
str tmp1, .sramc_phy_base
|
str tmp1, .sramc_phy_base
|
||||||
ldr tmp1, [r0, #PM_DATA_MEMCTRL]
|
|
||||||
str tmp1, .memtype
|
|
||||||
ldr tmp1, [r0, #PM_DATA_MODE]
|
|
||||||
str tmp1, .pm_mode
|
|
||||||
ldr tmp1, [r0, #PM_DATA_PMC_MCKR_OFFSET]
|
|
||||||
str tmp1, .mckr_offset
|
|
||||||
ldr tmp1, [r0, #PM_DATA_PMC_VERSION]
|
|
||||||
str tmp1, .pmc_version
|
|
||||||
/* Both ldrne below are here to preload their address in the TLB */
|
/* Both ldrne below are here to preload their address in the TLB */
|
||||||
ldr tmp1, [r0, #PM_DATA_SHDWC]
|
ldr tmp1, [r0, #PM_DATA_SHDWC]
|
||||||
str tmp1, .shdwc
|
str tmp1, .shdwc
|
||||||
|
Loading…
x
Reference in New Issue
Block a user