mirror of
https://xff.cz/git/u-boot/
synced 2025-10-02 16:01:30 +02:00
Convert CONFIG_SPL_RAM_DEVICE to defconfig
This converts the following to Kconfig: CONFIG_SPL_RAM_DEVICE Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
This commit is contained in:
@@ -449,6 +449,15 @@ config SPL_POWER_SUPPORT
|
|||||||
in drivers/power, drivers/power/pmic and drivers/power/regulator
|
in drivers/power, drivers/power/pmic and drivers/power/regulator
|
||||||
as part of an SPL build.
|
as part of an SPL build.
|
||||||
|
|
||||||
|
config SPL_RAM_DEVICE
|
||||||
|
bool "Support booting from preloaded image in RAM"
|
||||||
|
depends on SPL
|
||||||
|
default y if MICROBLAZE || ARCH_SOCFPGA || TEGRA || ARCH_ZYNQ
|
||||||
|
help
|
||||||
|
Enable booting of an image already loaded in RAM. The image has to
|
||||||
|
be already in memory when SPL takes over, e.g. loaded by the boot
|
||||||
|
ROM.
|
||||||
|
|
||||||
config SPL_SATA_SUPPORT
|
config SPL_SATA_SUPPORT
|
||||||
bool "Support loading from SATA"
|
bool "Support loading from SATA"
|
||||||
depends on SPL
|
depends on SPL
|
||||||
|
@@ -283,7 +283,6 @@
|
|||||||
|
|
||||||
#define CONFIG_SPL_LDSCRIPT "arch/microblaze/cpu/u-boot-spl.lds"
|
#define CONFIG_SPL_LDSCRIPT "arch/microblaze/cpu/u-boot-spl.lds"
|
||||||
|
|
||||||
#define CONFIG_SPL_RAM_DEVICE
|
|
||||||
#ifdef CONFIG_SYS_FLASH_BASE
|
#ifdef CONFIG_SYS_FLASH_BASE
|
||||||
# define CONFIG_SYS_UBOOT_BASE CONFIG_SYS_FLASH_BASE
|
# define CONFIG_SYS_UBOOT_BASE CONFIG_SYS_FLASH_BASE
|
||||||
#endif
|
#endif
|
||||||
|
@@ -306,7 +306,6 @@ unsigned int cm_get_qspi_controller_clk_hz(void);
|
|||||||
* 0xFFFF_FF00 ...... End of SRAM
|
* 0xFFFF_FF00 ...... End of SRAM
|
||||||
*/
|
*/
|
||||||
#define CONFIG_SPL_FRAMEWORK
|
#define CONFIG_SPL_FRAMEWORK
|
||||||
#define CONFIG_SPL_RAM_DEVICE
|
|
||||||
#define CONFIG_SPL_TEXT_BASE CONFIG_SYS_INIT_RAM_ADDR
|
#define CONFIG_SPL_TEXT_BASE CONFIG_SYS_INIT_RAM_ADDR
|
||||||
#define CONFIG_SPL_MAX_SIZE (64 * 1024)
|
#define CONFIG_SPL_MAX_SIZE (64 * 1024)
|
||||||
|
|
||||||
|
@@ -98,7 +98,6 @@
|
|||||||
|
|
||||||
/* Defines for SPL */
|
/* Defines for SPL */
|
||||||
#define CONFIG_SPL_FRAMEWORK
|
#define CONFIG_SPL_FRAMEWORK
|
||||||
#define CONFIG_SPL_RAM_DEVICE
|
|
||||||
#define CONFIG_SPL_BOARD_INIT
|
#define CONFIG_SPL_BOARD_INIT
|
||||||
#define CONFIG_SPL_NAND_SIMPLE
|
#define CONFIG_SPL_NAND_SIMPLE
|
||||||
#define CONFIG_SPL_MAX_FOOTPRINT (CONFIG_SYS_TEXT_BASE - \
|
#define CONFIG_SPL_MAX_FOOTPRINT (CONFIG_SYS_TEXT_BASE - \
|
||||||
|
@@ -288,7 +288,6 @@
|
|||||||
|
|
||||||
#define CONFIG_SPL_FRAMEWORK
|
#define CONFIG_SPL_FRAMEWORK
|
||||||
#define CONFIG_SPL_BOARD_INIT
|
#define CONFIG_SPL_BOARD_INIT
|
||||||
#define CONFIG_SPL_RAM_DEVICE
|
|
||||||
|
|
||||||
/* u-boot is like dtb */
|
/* u-boot is like dtb */
|
||||||
#define CONFIG_SPL_FS_LOAD_ARGS_NAME "u-boot.bin"
|
#define CONFIG_SPL_FS_LOAD_ARGS_NAME "u-boot.bin"
|
||||||
|
@@ -290,7 +290,6 @@
|
|||||||
#define CONFIG_CMD_SPL
|
#define CONFIG_CMD_SPL
|
||||||
#define CONFIG_SPL_FRAMEWORK
|
#define CONFIG_SPL_FRAMEWORK
|
||||||
#define CONFIG_SPL_BOARD_INIT
|
#define CONFIG_SPL_BOARD_INIT
|
||||||
#define CONFIG_SPL_RAM_DEVICE
|
|
||||||
|
|
||||||
#define CONFIG_SPL_LDSCRIPT "arch/arm/mach-zynq/u-boot-spl.lds"
|
#define CONFIG_SPL_LDSCRIPT "arch/arm/mach-zynq/u-boot-spl.lds"
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user