u-boot-brain/arch/arm/cpu
Peng Fan 6aead23323 imx: imx8qm/qxp: Recover SPL data section for partition reboot
When doing partition reboot, the boot image won't be reloaded by ROM,
it is just CPU reset to boot entry. The SW has to keep the boot image
inside the RAM unchanged. It includes both the TEXT section and DATA
section.

For SPL, the problem is DATA section will be updated at runtime, so in
next partition reboot the data is not same as the initial value from
cold boot. If any code depends on the initial value, then it will have
problem.

This patch introduces a mechanism to recover the data section
for partition reboot. It adds a new section in image for saving
data section. When from cold boot, the data section will be saved
to that new section at SPL early phase. When from partition reboot,
the data section will be restored from the new section.

Signed-off-by: Ye Li <ye.li@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
2020-05-10 20:55:20 +02:00
..
arm11 common: Move enable/disable_interrupts out of common.h 2019-12-02 18:25:01 -05:00
arm720t SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
arm920t common: Move reset_cpu() to the CPU header 2020-01-17 14:02:31 -05:00
arm926ejs common: Move hang() to the same header as panic() 2020-01-17 17:53:40 -05:00
arm946es common: Move enable/disable_interrupts out of common.h 2019-12-02 18:25:01 -05:00
arm1136 common: Move clock functions into a new file 2020-01-17 13:27:29 -05:00
arm1176 SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
armv7 Revert "sunxi: psci: avoid error address-of-packed-member" 2020-03-18 15:37:08 +05:30
armv7m armv7m: cache: add mmu_set_region_dcache_behaviour() stub for compatibility 2020-01-14 22:53:59 +01:00
armv8 imx: imx8qm/qxp: Recover SPL data section for partition reboot 2020-05-10 20:55:20 +02:00
pxa common: Move enable/disable_interrupts out of common.h 2019-12-02 18:25:01 -05:00
sa1100 common: Move get_tbclk() to time.h 2020-01-17 13:27:30 -05:00
Makefile SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
u-boot-spl.lds spl: fix linker size check off-by-one errors 2019-05-05 08:48:50 -04:00
u-boot.lds ARM: Specify aligned address for secure section instead of using attributes 2018-09-07 09:11:42 -04:00