u-boot-brain/common/spl
Simon Glass 95a5825f31 dm: core: Add an option to support SPL in read-only memory
Some systems (e.g. x86 APL) run SPL from read-only memory. The device
instances created by dtoc are therefore not writeable. To make things work
we would need to copy the devices to read/write memory.

To avoid this, add an option to use a separate runtime struct for devices,
just as is done for drivers. This can be used to hold information that
changes at runtime, avoiding the need for a copy.

Also add a Kconfig option for read-only SPL, which selects this feature.

Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Simon Glass <sjg@chromium.org>
2021-03-26 17:03:09 +13:00
..
Kconfig dm: core: Add an option to support SPL in read-only memory 2021-03-26 17:03:09 +13:00
Makefile spl: Extract legacy image handling into separate file 2020-04-27 20:29:33 +02:00
spl_atf.c spl: atf: add support for LOAD_IMAGE_V2 2020-12-04 16:09:06 -05:00
spl_bootrom.c spl: pass args to board_return_to_bootrom 2019-10-08 16:35:16 +02:00
spl_dfu.c env: Drop environment.h header file where not needed 2019-08-11 16:43:41 -04:00
spl_ext.c spl: fix ext4fs_mount return code handling 2020-07-17 08:51:01 -04:00
spl_fat.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
spl_fit.c spl: Convert spl_fit to work with sandbox 2021-03-12 09:57:31 -05:00
spl_legacy.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
spl_mmc.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
spl_nand.c spl: fit: improve spl_nand_fit_read(...) readability 2020-07-08 17:21:46 -04:00
spl_net.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
spl_nor.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
spl_onenand.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
spl_opensbi.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
spl_optee.S Rockchip-focused changes for v2018.11-rc2: 2018-10-05 13:40:42 -04:00
spl_ram.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
spl_sata.c spl: sata: support U-Boot load from raw sata disk 2019-07-24 14:15:36 -04:00
spl_sdp.c sdp: call board_usb_init at spl_sdp_load_image 2020-09-01 14:47:43 +02:00
spl_spi.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
spl_ubi.c common: Drop image.h from common header 2020-05-18 17:33:33 -04:00
spl_usb.c spl: usb: Only init usb once 2020-08-11 20:34:46 +05:30
spl_xip.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
spl_ymodem.c common: rename getc() to getchar() 2020-10-22 09:54:53 -04:00
spl.c spl: Convert spl_fit to work with sandbox 2021-03-12 09:57:31 -05:00