u-boot/arch/arm/cpu/armv8
Ye Li 9e406ea46a MLK-20654 imx8: 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>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
2018-12-26 01:25:41 -08:00
..
fsl-layerscape libfdt: move headers to <linux/libfdt.h> and <linux/libfdt_env.h> 2018-03-05 10:16:28 -05:00
hisilicon
s32v234 armv8: mmu: Add support of non-identical mapping 2016-07-15 09:01:43 -07:00
xen MLK-20373-3 armv8: xen: introduce new hypercalls 2018-11-15 16:36:22 +08:00
zynqmp mmc: Added Kconfig support for CONFIG_ZYNQ_SDHCI_MAX_FREQ 2018-03-01 16:44:10 +01:00
Kconfig MLK-18159-5 imx8m: Enable wdog reset for i.MX8MQ 2018-04-27 02:31:01 -07:00
Makefile MLK-18577-3 armv8: xen: add console write hypercall 2018-06-13 20:00:40 -07:00
cache.S armv8: move low-level assembly functions into function-sections 2017-08-13 17:12:21 +02:00
cache_v8.c armv8: mmu: fix page table mapping 2017-12-04 10:23:52 -05:00
config.mk efi: arm: Add aarch64 EFI app support 2016-11-14 23:24:04 +01:00
cpu-dt.c arm: psci: make psci usable on single core socs 2017-04-24 09:07:12 -07:00
cpu.c armv8: add simple sdelay implementation 2017-01-04 16:37:41 +01:00
exceptions.S armv8: shrink exception table code 2017-12-04 09:59:02 -05:00
fwcall.c ARMv8: Add support for poweroff via PSCI 2017-06-05 14:13:12 -04:00
generic_timer.c arm: Correct signature for get_ticks() 2017-05-11 22:03:38 -04:00
linux-kernel-image-header-vars.h ARMv8: add optional Linux kernel image header 2018-01-12 09:52:11 -07:00
lowlevel_init.S armv8: add lowlevel_init.S 2017-01-04 16:37:40 +01:00
psci.S ARMv8: Add basic PSCI framework 2016-12-15 11:57:44 -08:00
sec_firmware.c armv8: secure firmware: fix incorrect unit address in node name 2018-01-15 18:29:21 -07:00
sec_firmware_asm.S ARMv8/sec_firmware: relocated and renamed the config FSL_PPA_ARMV8_PSCI 2017-01-18 09:39:51 -08:00
smccc-call.S ARM: adjust arm-smccc code for use in U-Boot 2017-04-18 10:29:17 -04:00
spin_table.c libfdt: move headers to <linux/libfdt.h> and <linux/libfdt_env.h> 2018-03-05 10:16:28 -05:00
spin_table_v8.S arm64: add better and more generic spin-table support 2016-07-14 18:22:16 -04:00
start.S ARMv8: add optional Linux kernel image header 2018-01-12 09:52:11 -07:00
tlb.S armv8: move low-level assembly functions into function-sections 2017-08-13 17:12:21 +02:00
transition.S armv8: move low-level assembly functions into function-sections 2017-08-13 17:12:21 +02:00
u-boot-spl.lds MLK-20654 imx8: Recover SPL data section for partition reboot 2018-12-26 01:25:41 -08:00
u-boot.lds ARMv8: add optional Linux kernel image header 2018-01-12 09:52:11 -07:00