u-boot/boot
Dzmitry Sankouski 12a3e1ada0 arm: init: save previous bootloader data
When u-boot is used as a chain-loaded bootloader (replacing OS kernel),
previous bootloader leaves data in RAM, that can be reused.

For example, on recent arm linux system, when chainloading u-boot,
there are initramfs and fdt in RAM prepared for OS booting. Initramfs
may be modified to store u-boot's payload, thus providing the ability to
use chainloaded u-boot to boot OS without any storage support.

Two config options added:
- SAVE_PREV_BL_INITRAMFS_START_ADDR
  saves initramfs start address to 'prevbl_initrd_start_addr' environment
  variable
- SAVE_PREV_BL_FDT_ADDR
  saves fdt address to 'prevbl_fdt_addr' environment variable

Signed-off-by: Dzmitry Sankouski <dsankouski@gmail.com>
Cc: Tom Rini <trini@konsulko.com>
2022-04-04 14:53:26 -04:00
..
android_ab.c doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
boot_fit.c Create a new boot/ directory 2021-11-11 19:01:56 -05:00
bootm.c cmd: bootm: add a stage pre-load 2022-03-31 14:12:01 -04:00
bootm_os.c bootm: Tidy up use of autostart env var 2021-11-16 14:35:09 -05:00
bootretry.c Convert CONFIG_BOOT_RETRY_TIME et al to Kconfig 2022-03-18 12:48:17 -04:00
common_fit.c Create a new boot/ directory 2021-11-11 19:01:56 -05:00
fdt_region.c doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
image-android-dt.c doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
image-android.c Create a new boot/ directory 2021-11-11 19:01:56 -05:00
image-board.c doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
image-cipher.c Create a new boot/ directory 2021-11-11 19:01:56 -05:00
image-fdt.c doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
image-fit-sig.c tools: Pass the key blob around 2022-01-26 08:50:44 -07:00
image-fit.c tools: Pass the key blob around 2022-01-26 08:50:44 -07:00
image-host.c Create a new boot/ directory 2021-11-11 19:01:56 -05:00
image-pre-load.c boot: image: add a stage pre-load 2022-03-31 14:12:01 -04:00
image-sig.c Create a new boot/ directory 2021-11-11 19:01:56 -05:00
image.c boot: image: fixup zstd decompression buffer initialization typo 2022-03-28 08:22:17 -04:00
Kconfig arm: init: save previous bootloader data 2022-04-04 14:53:26 -04:00
Makefile boot: image: add a stage pre-load 2022-03-31 14:12:01 -04:00
pxe_utils.c cmd: pxe_utils: sysboot: add kaslr-seed generation support 2022-02-11 09:00:47 -05:00