mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 07:04:28 +00:00
Convert CONFIG_SPL_FS_LOAD_PAYLOAD_NAME et al to Kconfig
This converts the following to Kconfig: CONFIG_SPL_FS_LOAD_ARGS_NAME CONFIG_SPL_FS_LOAD_KERNEL_NAME CONFIG_SPL_FS_LOAD_PAYLOAD_NAME Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
parent
bab1b35c61
commit
4a11e34bc9
85 changed files with 68 additions and 174 deletions
11
README
11
README
|
@ -1722,17 +1722,6 @@ The following options need to be configured:
|
||||||
parameters from when MMC is being used in raw mode
|
parameters from when MMC is being used in raw mode
|
||||||
(for falcon mode)
|
(for falcon mode)
|
||||||
|
|
||||||
CONFIG_SPL_FS_LOAD_PAYLOAD_NAME
|
|
||||||
Filename to read to load U-Boot when reading from filesystem
|
|
||||||
|
|
||||||
CONFIG_SPL_FS_LOAD_KERNEL_NAME
|
|
||||||
Filename to read to load kernel uImage when reading
|
|
||||||
from filesystem (for Falcon mode)
|
|
||||||
|
|
||||||
CONFIG_SPL_FS_LOAD_ARGS_NAME
|
|
||||||
Filename to read to load kernel argument parameters
|
|
||||||
when reading from filesystem (for Falcon mode)
|
|
||||||
|
|
||||||
CONFIG_SPL_MPC83XX_WAIT_FOR_NAND
|
CONFIG_SPL_MPC83XX_WAIT_FOR_NAND
|
||||||
Set this for NAND SPL on PPC mpc83xx targets, so that
|
Set this for NAND SPL on PPC mpc83xx targets, so that
|
||||||
start.S waits for the rest of the SPL to load before
|
start.S waits for the rest of the SPL to load before
|
||||||
|
|
|
@ -605,6 +605,31 @@ config SPL_FS_FAT
|
||||||
filesystem from within SPL. Support for the underlying block
|
filesystem from within SPL. Support for the underlying block
|
||||||
device (e.g. MMC or USB) must be enabled separately.
|
device (e.g. MMC or USB) must be enabled separately.
|
||||||
|
|
||||||
|
config SPL_FS_LOAD_PAYLOAD_NAME
|
||||||
|
string "File to load for U-Boot from the filesystem"
|
||||||
|
depends on SPL_FS_EXT4 || SPL_FS_FAT || SPL_FS_SQUASHFS
|
||||||
|
default "tispl.bin" if SYS_K3_SPL_ATF
|
||||||
|
default "u-boot.itb" if SPL_LOAD_FIT
|
||||||
|
default "u-boot.img"
|
||||||
|
help
|
||||||
|
Filename to read to load U-Boot when reading from filesystem.
|
||||||
|
|
||||||
|
config SPL_FS_LOAD_KERNEL_NAME
|
||||||
|
string "File to load for the OS kernel from the filesystem"
|
||||||
|
depends on (SPL_FS_EXT4 || SPL_FS_FAT || SPL_FS_SQUASHFS) && SPL_OS_BOOT
|
||||||
|
default "uImage"
|
||||||
|
help
|
||||||
|
Filename to read to load for the OS kernel when reading from the
|
||||||
|
filesystem.
|
||||||
|
|
||||||
|
config SPL_FS_LOAD_ARGS_NAME
|
||||||
|
string "File to load for the OS kernel argument parameters from the filesystem"
|
||||||
|
depends on (SPL_FS_EXT4 || SPL_FS_FAT || SPL_FS_SQUASHFS) && SPL_OS_BOOT
|
||||||
|
default "args"
|
||||||
|
help
|
||||||
|
Filename to read to load for the OS kernel argument parameters from
|
||||||
|
the filesystem.
|
||||||
|
|
||||||
config SPL_FAT_WRITE
|
config SPL_FAT_WRITE
|
||||||
bool "Support write for FAT filesystems"
|
bool "Support write for FAT filesystems"
|
||||||
help
|
help
|
||||||
|
|
|
@ -21,10 +21,6 @@
|
||||||
#define CONFIG_SYS_SATA_FAT_BOOT_PARTITION 1
|
#define CONFIG_SYS_SATA_FAT_BOOT_PARTITION 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef CONFIG_SPL_FS_LOAD_PAYLOAD_NAME
|
|
||||||
#define CONFIG_SPL_FS_LOAD_PAYLOAD_NAME "u-boot.img"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef CONFIG_SPL_SATA_RAW_U_BOOT_SECTOR
|
#ifndef CONFIG_SPL_SATA_RAW_U_BOOT_SECTOR
|
||||||
/* Dummy value to make the compiler happy */
|
/* Dummy value to make the compiler happy */
|
||||||
#define CONFIG_SPL_SATA_RAW_U_BOOT_SECTOR 0x100
|
#define CONFIG_SPL_SATA_RAW_U_BOOT_SECTOR 0x100
|
||||||
|
|
|
@ -21,6 +21,7 @@ CONFIG_ARCH_MISC_INIT=y
|
||||||
CONFIG_SPL_FIT_IMAGE_TINY=y
|
CONFIG_SPL_FIT_IMAGE_TINY=y
|
||||||
CONFIG_SPL_ETH=y
|
CONFIG_SPL_ETH=y
|
||||||
# CONFIG_SPL_FS_EXT4 is not set
|
# CONFIG_SPL_FS_EXT4 is not set
|
||||||
|
CONFIG_SPL_FS_LOAD_PAYLOAD_NAME="u-boot.img"
|
||||||
CONFIG_SPL_MTD_SUPPORT=y
|
CONFIG_SPL_MTD_SUPPORT=y
|
||||||
CONFIG_SPL_MUSB_NEW=y
|
CONFIG_SPL_MUSB_NEW=y
|
||||||
CONFIG_SPL_NAND_DRIVERS=y
|
CONFIG_SPL_NAND_DRIVERS=y
|
||||||
|
|
|
@ -21,6 +21,7 @@ CONFIG_SYS_CONSOLE_INFO_QUIET=y
|
||||||
CONFIG_ARCH_MISC_INIT=y
|
CONFIG_ARCH_MISC_INIT=y
|
||||||
CONFIG_SPL_FIT_IMAGE_TINY=y
|
CONFIG_SPL_FIT_IMAGE_TINY=y
|
||||||
# CONFIG_SPL_FS_EXT4 is not set
|
# CONFIG_SPL_FS_EXT4 is not set
|
||||||
|
CONFIG_SPL_FS_LOAD_PAYLOAD_NAME="u-boot.img"
|
||||||
CONFIG_SPL_MTD_SUPPORT=y
|
CONFIG_SPL_MTD_SUPPORT=y
|
||||||
# CONFIG_SPL_NAND_SUPPORT is not set
|
# CONFIG_SPL_NAND_SUPPORT is not set
|
||||||
CONFIG_SPL_DM_SPI_FLASH=y
|
CONFIG_SPL_DM_SPI_FLASH=y
|
||||||
|
|
|
@ -20,6 +20,7 @@ CONFIG_ARCH_MISC_INIT=y
|
||||||
CONFIG_SPL_FIT_IMAGE_TINY=y
|
CONFIG_SPL_FIT_IMAGE_TINY=y
|
||||||
# CONFIG_SPL_ENV_SUPPORT is not set
|
# CONFIG_SPL_ENV_SUPPORT is not set
|
||||||
# CONFIG_SPL_FS_EXT4 is not set
|
# CONFIG_SPL_FS_EXT4 is not set
|
||||||
|
CONFIG_SPL_FS_LOAD_PAYLOAD_NAME="u-boot.img"
|
||||||
CONFIG_SPL_MTD_SUPPORT=y
|
CONFIG_SPL_MTD_SUPPORT=y
|
||||||
# CONFIG_SPL_NAND_SUPPORT is not set
|
# CONFIG_SPL_NAND_SUPPORT is not set
|
||||||
CONFIG_SPL_NAND_DRIVERS=y
|
CONFIG_SPL_NAND_DRIVERS=y
|
||||||
|
|
|
@ -16,6 +16,7 @@ CONFIG_BOOTCOMMAND="run findfdt; run finduuid; run distro_bootcmd"
|
||||||
CONFIG_SYS_CONSOLE_INFO_QUIET=y
|
CONFIG_SYS_CONSOLE_INFO_QUIET=y
|
||||||
# CONFIG_MISC_INIT_R is not set
|
# CONFIG_MISC_INIT_R is not set
|
||||||
CONFIG_SPL_ETH=y
|
CONFIG_SPL_ETH=y
|
||||||
|
CONFIG_SPL_FS_LOAD_PAYLOAD_NAME="u-boot.img"
|
||||||
CONFIG_SPL_MTD_SUPPORT=y
|
CONFIG_SPL_MTD_SUPPORT=y
|
||||||
CONFIG_SPL_NAND_DRIVERS=y
|
CONFIG_SPL_NAND_DRIVERS=y
|
||||||
CONFIG_SPL_NAND_ECC=y
|
CONFIG_SPL_NAND_ECC=y
|
||||||
|
|
|
@ -15,6 +15,7 @@ CONFIG_SPL_LOAD_FIT=y
|
||||||
CONFIG_BOOTCOMMAND="run findfdt; run finduuid; run distro_bootcmd"
|
CONFIG_BOOTCOMMAND="run findfdt; run finduuid; run distro_bootcmd"
|
||||||
CONFIG_SYS_CONSOLE_INFO_QUIET=y
|
CONFIG_SYS_CONSOLE_INFO_QUIET=y
|
||||||
# CONFIG_MISC_INIT_R is not set
|
# CONFIG_MISC_INIT_R is not set
|
||||||
|
CONFIG_SPL_FS_LOAD_PAYLOAD_NAME="u-boot.img"
|
||||||
CONFIG_SPL_MTD_SUPPORT=y
|
CONFIG_SPL_MTD_SUPPORT=y
|
||||||
CONFIG_SPL_NAND_DRIVERS=y
|
CONFIG_SPL_NAND_DRIVERS=y
|
||||||
CONFIG_SPL_NAND_ECC=y
|
CONFIG_SPL_NAND_ECC=y
|
||||||
|
|
|
@ -14,6 +14,7 @@ CONFIG_SPL_LOAD_FIT=y
|
||||||
CONFIG_BOOTCOMMAND="run findfdt; run finduuid; run distro_bootcmd"
|
CONFIG_BOOTCOMMAND="run findfdt; run finduuid; run distro_bootcmd"
|
||||||
CONFIG_SYS_CONSOLE_INFO_QUIET=y
|
CONFIG_SYS_CONSOLE_INFO_QUIET=y
|
||||||
# CONFIG_MISC_INIT_R is not set
|
# CONFIG_MISC_INIT_R is not set
|
||||||
|
CONFIG_SPL_FS_LOAD_PAYLOAD_NAME="u-boot.img"
|
||||||
CONFIG_SPL_MTD_SUPPORT=y
|
CONFIG_SPL_MTD_SUPPORT=y
|
||||||
CONFIG_SPL_NAND_DRIVERS=y
|
CONFIG_SPL_NAND_DRIVERS=y
|
||||||
CONFIG_SPL_NAND_ECC=y
|
CONFIG_SPL_NAND_ECC=y
|
||||||
|
|
|
@ -23,6 +23,7 @@ CONFIG_BOOTCOMMAND="run findfdt; run finduuid; run distro_bootcmd"
|
||||||
CONFIG_SYS_CONSOLE_INFO_QUIET=y
|
CONFIG_SYS_CONSOLE_INFO_QUIET=y
|
||||||
# CONFIG_MISC_INIT_R is not set
|
# CONFIG_MISC_INIT_R is not set
|
||||||
CONFIG_SPL_ETH=y
|
CONFIG_SPL_ETH=y
|
||||||
|
CONFIG_SPL_FS_LOAD_PAYLOAD_NAME="u-boot.img"
|
||||||
CONFIG_SPL_MTD_SUPPORT=y
|
CONFIG_SPL_MTD_SUPPORT=y
|
||||||
CONFIG_SPL_NAND_DRIVERS=y
|
CONFIG_SPL_NAND_DRIVERS=y
|
||||||
CONFIG_SPL_NAND_ECC=y
|
CONFIG_SPL_NAND_ECC=y
|
||||||
|
|
|
@ -28,6 +28,7 @@ CONFIG_AVB_VERIFY=y
|
||||||
CONFIG_ANDROID_AB=y
|
CONFIG_ANDROID_AB=y
|
||||||
CONFIG_SPL_SYS_MALLOC_SIMPLE=y
|
CONFIG_SPL_SYS_MALLOC_SIMPLE=y
|
||||||
CONFIG_SPL_DMA=y
|
CONFIG_SPL_DMA=y
|
||||||
|
CONFIG_SPL_FS_LOAD_PAYLOAD_NAME="u-boot.img"
|
||||||
# CONFIG_SPL_NAND_SUPPORT is not set
|
# CONFIG_SPL_NAND_SUPPORT is not set
|
||||||
CONFIG_SPL_DM_SPI_FLASH=y
|
CONFIG_SPL_DM_SPI_FLASH=y
|
||||||
CONFIG_SPL_OS_BOOT=y
|
CONFIG_SPL_OS_BOOT=y
|
||||||
|
|
|
@ -31,6 +31,7 @@ CONFIG_AVB_VERIFY=y
|
||||||
CONFIG_ANDROID_AB=y
|
CONFIG_ANDROID_AB=y
|
||||||
CONFIG_SPL_SYS_MALLOC_SIMPLE=y
|
CONFIG_SPL_SYS_MALLOC_SIMPLE=y
|
||||||
CONFIG_SPL_DMA=y
|
CONFIG_SPL_DMA=y
|
||||||
|
CONFIG_SPL_FS_LOAD_PAYLOAD_NAME="u-boot.img"
|
||||||
# CONFIG_SPL_NAND_SUPPORT is not set
|
# CONFIG_SPL_NAND_SUPPORT is not set
|
||||||
CONFIG_SPL_DM_SPI_FLASH=y
|
CONFIG_SPL_DM_SPI_FLASH=y
|
||||||
CONFIG_SPL_SPI_LOAD=y
|
CONFIG_SPL_SPI_LOAD=y
|
||||||
|
|
|
@ -34,6 +34,7 @@ CONFIG_AVB_VERIFY=y
|
||||||
CONFIG_ANDROID_AB=y
|
CONFIG_ANDROID_AB=y
|
||||||
CONFIG_SPL_SYS_MALLOC_SIMPLE=y
|
CONFIG_SPL_SYS_MALLOC_SIMPLE=y
|
||||||
CONFIG_SPL_DMA=y
|
CONFIG_SPL_DMA=y
|
||||||
|
CONFIG_SPL_FS_LOAD_PAYLOAD_NAME="u-boot.img"
|
||||||
# CONFIG_SPL_NAND_SUPPORT is not set
|
# CONFIG_SPL_NAND_SUPPORT is not set
|
||||||
CONFIG_SPL_DM_SPI_FLASH=y
|
CONFIG_SPL_DM_SPI_FLASH=y
|
||||||
CONFIG_SPL_RAM_SUPPORT=y
|
CONFIG_SPL_RAM_SUPPORT=y
|
||||||
|
|
|
@ -38,6 +38,7 @@ CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x1400
|
||||||
CONFIG_SPL_DMA=y
|
CONFIG_SPL_DMA=y
|
||||||
CONFIG_SPL_ENV_SUPPORT=y
|
CONFIG_SPL_ENV_SUPPORT=y
|
||||||
CONFIG_SPL_ETH=y
|
CONFIG_SPL_ETH=y
|
||||||
|
CONFIG_SPL_FS_LOAD_PAYLOAD_NAME="u-boot.img"
|
||||||
CONFIG_SPL_I2C=y
|
CONFIG_SPL_I2C=y
|
||||||
CONFIG_SPL_DM_MAILBOX=y
|
CONFIG_SPL_DM_MAILBOX=y
|
||||||
CONFIG_SPL_DM_SPI_FLASH=y
|
CONFIG_SPL_DM_SPI_FLASH=y
|
||||||
|
|
|
@ -39,6 +39,7 @@ CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
|
||||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x1400
|
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x1400
|
||||||
CONFIG_SPL_DMA=y
|
CONFIG_SPL_DMA=y
|
||||||
CONFIG_SPL_ENV_SUPPORT=y
|
CONFIG_SPL_ENV_SUPPORT=y
|
||||||
|
CONFIG_SPL_FS_LOAD_PAYLOAD_NAME="u-boot.img"
|
||||||
CONFIG_SPL_I2C=y
|
CONFIG_SPL_I2C=y
|
||||||
CONFIG_SPL_DM_MAILBOX=y
|
CONFIG_SPL_DM_MAILBOX=y
|
||||||
CONFIG_SPL_MTD_SUPPORT=y
|
CONFIG_SPL_MTD_SUPPORT=y
|
||||||
|
|
|
@ -38,6 +38,7 @@ CONFIG_SPL_STACK_R=y
|
||||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
|
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
|
||||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x1400
|
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x1400
|
||||||
CONFIG_SPL_DMA=y
|
CONFIG_SPL_DMA=y
|
||||||
|
CONFIG_SPL_FS_LOAD_PAYLOAD_NAME="u-boot.img"
|
||||||
CONFIG_SPL_I2C=y
|
CONFIG_SPL_I2C=y
|
||||||
CONFIG_SPL_DM_MAILBOX=y
|
CONFIG_SPL_DM_MAILBOX=y
|
||||||
CONFIG_SPL_MTD_SUPPORT=y
|
CONFIG_SPL_MTD_SUPPORT=y
|
||||||
|
|
|
@ -26,6 +26,8 @@ CONFIG_SPL_LOAD_FIT_ADDRESS=0x10000000
|
||||||
CONFIG_BOOTDELAY=0
|
CONFIG_BOOTDELAY=0
|
||||||
# CONFIG_DISPLAY_CPUINFO is not set
|
# CONFIG_DISPLAY_CPUINFO is not set
|
||||||
CONFIG_CLOCKS=y
|
CONFIG_CLOCKS=y
|
||||||
|
CONFIG_SPL_FS_LOAD_KERNEL_NAME="atf-uboot.ub"
|
||||||
|
CONFIG_SPL_FS_LOAD_ARGS_NAME="u-boot.bin"
|
||||||
CONFIG_SPL_OS_BOOT=y
|
CONFIG_SPL_OS_BOOT=y
|
||||||
CONFIG_SYS_MAXARGS=64
|
CONFIG_SYS_MAXARGS=64
|
||||||
CONFIG_SYS_PBSIZE=2073
|
CONFIG_SYS_PBSIZE=2073
|
||||||
|
|
|
@ -28,6 +28,7 @@ CONFIG_BOARD_EARLY_INIT_F=y
|
||||||
# CONFIG_MISC_INIT_R is not set
|
# CONFIG_MISC_INIT_R is not set
|
||||||
CONFIG_SPL_SYS_MALLOC_SIMPLE=y
|
CONFIG_SPL_SYS_MALLOC_SIMPLE=y
|
||||||
CONFIG_SPL_DMA=y
|
CONFIG_SPL_DMA=y
|
||||||
|
CONFIG_SPL_FS_LOAD_PAYLOAD_NAME="u-boot.img"
|
||||||
CONFIG_SPL_NAND_DRIVERS=y
|
CONFIG_SPL_NAND_DRIVERS=y
|
||||||
CONFIG_SPL_NAND_ECC=y
|
CONFIG_SPL_NAND_ECC=y
|
||||||
CONFIG_SPL_NAND_BASE=y
|
CONFIG_SPL_NAND_BASE=y
|
||||||
|
|
|
@ -31,6 +31,7 @@ CONFIG_BOARD_EARLY_INIT_F=y
|
||||||
# CONFIG_MISC_INIT_R is not set
|
# CONFIG_MISC_INIT_R is not set
|
||||||
CONFIG_SPL_SYS_MALLOC_SIMPLE=y
|
CONFIG_SPL_SYS_MALLOC_SIMPLE=y
|
||||||
CONFIG_SPL_DMA=y
|
CONFIG_SPL_DMA=y
|
||||||
|
CONFIG_SPL_FS_LOAD_PAYLOAD_NAME="u-boot.img"
|
||||||
# CONFIG_SPL_NAND_SUPPORT is not set
|
# CONFIG_SPL_NAND_SUPPORT is not set
|
||||||
CONFIG_SPL_NAND_DRIVERS=y
|
CONFIG_SPL_NAND_DRIVERS=y
|
||||||
CONFIG_SPL_NAND_ECC=y
|
CONFIG_SPL_NAND_ECC=y
|
||||||
|
|
|
@ -33,6 +33,7 @@ CONFIG_BOARD_EARLY_INIT_F=y
|
||||||
# CONFIG_MISC_INIT_R is not set
|
# CONFIG_MISC_INIT_R is not set
|
||||||
CONFIG_SPL_SYS_MALLOC_SIMPLE=y
|
CONFIG_SPL_SYS_MALLOC_SIMPLE=y
|
||||||
CONFIG_SPL_DMA=y
|
CONFIG_SPL_DMA=y
|
||||||
|
CONFIG_SPL_FS_LOAD_PAYLOAD_NAME="u-boot.img"
|
||||||
# CONFIG_SPL_NAND_SUPPORT is not set
|
# CONFIG_SPL_NAND_SUPPORT is not set
|
||||||
CONFIG_SPL_DM_SPI_FLASH=y
|
CONFIG_SPL_DM_SPI_FLASH=y
|
||||||
CONFIG_SPL_RAM_SUPPORT=y
|
CONFIG_SPL_RAM_SUPPORT=y
|
||||||
|
|
|
@ -29,6 +29,7 @@ CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE=y
|
||||||
CONFIG_SPL_RAW_IMAGE_SUPPORT=y
|
CONFIG_SPL_RAW_IMAGE_SUPPORT=y
|
||||||
# CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR is not set
|
# CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR is not set
|
||||||
CONFIG_SPL_DMA=y
|
CONFIG_SPL_DMA=y
|
||||||
|
CONFIG_SPL_FS_LOAD_PAYLOAD_NAME="u-boot-dtb.img"
|
||||||
CONFIG_SPL_I2C=y
|
CONFIG_SPL_I2C=y
|
||||||
CONFIG_SPL_NAND_SUPPORT=y
|
CONFIG_SPL_NAND_SUPPORT=y
|
||||||
CONFIG_SPL_OS_BOOT=y
|
CONFIG_SPL_OS_BOOT=y
|
||||||
|
|
|
@ -39,6 +39,7 @@ CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
|
||||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x1400
|
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x1400
|
||||||
CONFIG_SPL_DMA=y
|
CONFIG_SPL_DMA=y
|
||||||
CONFIG_SPL_ENV_SUPPORT=y
|
CONFIG_SPL_ENV_SUPPORT=y
|
||||||
|
CONFIG_SPL_FS_LOAD_PAYLOAD_NAME="u-boot.img"
|
||||||
CONFIG_SPL_I2C=y
|
CONFIG_SPL_I2C=y
|
||||||
CONFIG_SPL_DM_MAILBOX=y
|
CONFIG_SPL_DM_MAILBOX=y
|
||||||
CONFIG_SPL_MTD_SUPPORT=y
|
CONFIG_SPL_MTD_SUPPORT=y
|
||||||
|
|
|
@ -36,6 +36,7 @@ CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
|
||||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x1400
|
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x1400
|
||||||
CONFIG_SPL_DMA=y
|
CONFIG_SPL_DMA=y
|
||||||
CONFIG_SPL_ENV_SUPPORT=y
|
CONFIG_SPL_ENV_SUPPORT=y
|
||||||
|
CONFIG_SPL_FS_LOAD_PAYLOAD_NAME="u-boot.img"
|
||||||
CONFIG_SPL_I2C=y
|
CONFIG_SPL_I2C=y
|
||||||
CONFIG_SPL_DM_MAILBOX=y
|
CONFIG_SPL_DM_MAILBOX=y
|
||||||
CONFIG_SPL_DM_SPI_FLASH=y
|
CONFIG_SPL_DM_SPI_FLASH=y
|
||||||
|
|
|
@ -34,6 +34,7 @@ CONFIG_SPL_BOARD_INIT=y
|
||||||
CONFIG_SPL_SYS_MALLOC_SIMPLE=y
|
CONFIG_SPL_SYS_MALLOC_SIMPLE=y
|
||||||
CONFIG_SPL_STACK_R=y
|
CONFIG_SPL_STACK_R=y
|
||||||
CONFIG_SPL_ENV_SUPPORT=y
|
CONFIG_SPL_ENV_SUPPORT=y
|
||||||
|
CONFIG_SPL_FS_LOAD_PAYLOAD_NAME="u-boot.img"
|
||||||
CONFIG_SPL_I2C=y
|
CONFIG_SPL_I2C=y
|
||||||
CONFIG_SPL_DM_MAILBOX=y
|
CONFIG_SPL_DM_MAILBOX=y
|
||||||
CONFIG_SPL_DM_SPI_FLASH=y
|
CONFIG_SPL_DM_SPI_FLASH=y
|
||||||
|
|
|
@ -39,6 +39,7 @@ CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
|
||||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x1400
|
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x1400
|
||||||
CONFIG_SPL_DMA=y
|
CONFIG_SPL_DMA=y
|
||||||
CONFIG_SPL_ENV_SUPPORT=y
|
CONFIG_SPL_ENV_SUPPORT=y
|
||||||
|
CONFIG_SPL_FS_LOAD_PAYLOAD_NAME="u-boot.img"
|
||||||
CONFIG_SPL_I2C=y
|
CONFIG_SPL_I2C=y
|
||||||
CONFIG_SPL_DM_MAILBOX=y
|
CONFIG_SPL_DM_MAILBOX=y
|
||||||
CONFIG_SPL_MTD_SUPPORT=y
|
CONFIG_SPL_MTD_SUPPORT=y
|
||||||
|
|
|
@ -27,6 +27,7 @@ CONFIG_USE_PREBOOT=y
|
||||||
CONFIG_PREBOOT="if hdmidet; then usb start; setenv stdin serial,usbkbd; setenv stdout serial,vidconsole; setenv stderr serial,vidconsole; else setenv stdin serial; setenv stdout serial; setenv stderr serial; fi;"
|
CONFIG_PREBOOT="if hdmidet; then usb start; setenv stdin serial,usbkbd; setenv stdout serial,vidconsole; setenv stderr serial,vidconsole; else setenv stdin serial; setenv stdout serial; setenv stderr serial; fi;"
|
||||||
CONFIG_BOARD_EARLY_INIT_F=y
|
CONFIG_BOARD_EARLY_INIT_F=y
|
||||||
CONFIG_SPL_FS_EXT4=y
|
CONFIG_SPL_FS_EXT4=y
|
||||||
|
CONFIG_SPL_FS_LOAD_PAYLOAD_NAME="u-boot-dtb.img"
|
||||||
CONFIG_SPL_I2C=y
|
CONFIG_SPL_I2C=y
|
||||||
CONFIG_SPL_WATCHDOG=y
|
CONFIG_SPL_WATCHDOG=y
|
||||||
CONFIG_SYS_MAXARGS=32
|
CONFIG_SYS_MAXARGS=32
|
||||||
|
|
|
@ -35,6 +35,7 @@ CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE=y
|
||||||
CONFIG_SPL_LEGACY_IMAGE_FORMAT=y
|
CONFIG_SPL_LEGACY_IMAGE_FORMAT=y
|
||||||
CONFIG_SPL_FIT_IMAGE_TINY=y
|
CONFIG_SPL_FIT_IMAGE_TINY=y
|
||||||
CONFIG_SPL_FS_EXT4=y
|
CONFIG_SPL_FS_EXT4=y
|
||||||
|
CONFIG_SPL_FS_LOAD_PAYLOAD_NAME="u-boot-dtb.img"
|
||||||
CONFIG_SPL_I2C=y
|
CONFIG_SPL_I2C=y
|
||||||
CONFIG_SPL_USB_HOST=y
|
CONFIG_SPL_USB_HOST=y
|
||||||
CONFIG_SPL_USB_GADGET=y
|
CONFIG_SPL_USB_GADGET=y
|
||||||
|
|
|
@ -26,6 +26,7 @@ CONFIG_USE_BOOTCOMMAND=y
|
||||||
CONFIG_BOOTCOMMAND="mmc dev ${mmcdev}; if mmc rescan; then if run loadbootscript; then run bootscript; else if run loadimage; then run mmcboot; else run netboot; fi; fi; else run netboot; fi"
|
CONFIG_BOOTCOMMAND="mmc dev ${mmcdev}; if mmc rescan; then if run loadbootscript; then run bootscript; else if run loadimage; then run mmcboot; else run netboot; fi; fi; else run netboot; fi"
|
||||||
CONFIG_BOARD_EARLY_INIT_F=y
|
CONFIG_BOARD_EARLY_INIT_F=y
|
||||||
CONFIG_SPL_FS_EXT4=y
|
CONFIG_SPL_FS_EXT4=y
|
||||||
|
CONFIG_SPL_FS_LOAD_PAYLOAD_NAME="u-boot-dtb.img"
|
||||||
CONFIG_SPL_I2C=y
|
CONFIG_SPL_I2C=y
|
||||||
CONFIG_SPL_WATCHDOG=y
|
CONFIG_SPL_WATCHDOG=y
|
||||||
CONFIG_HUSH_PARSER=y
|
CONFIG_HUSH_PARSER=y
|
||||||
|
|
|
@ -28,6 +28,7 @@ CONFIG_BOOTCOMMAND="run findfdt;mmc dev ${mmcdev};mmc dev ${mmcdev}; if mmc resc
|
||||||
CONFIG_SYS_CONSOLE_IS_IN_ENV=y
|
CONFIG_SYS_CONSOLE_IS_IN_ENV=y
|
||||||
CONFIG_BOARD_EARLY_INIT_F=y
|
CONFIG_BOARD_EARLY_INIT_F=y
|
||||||
CONFIG_SPL_FS_EXT4=y
|
CONFIG_SPL_FS_EXT4=y
|
||||||
|
CONFIG_SPL_FS_LOAD_PAYLOAD_NAME="u-boot-dtb.img"
|
||||||
CONFIG_SPL_I2C=y
|
CONFIG_SPL_I2C=y
|
||||||
CONFIG_SPL_USB_HOST=y
|
CONFIG_SPL_USB_HOST=y
|
||||||
CONFIG_SPL_USB_GADGET=y
|
CONFIG_SPL_USB_GADGET=y
|
||||||
|
|
|
@ -28,6 +28,7 @@ CONFIG_BOOTCOMMAND="run findfdt;mmc dev ${mmcdev};mmc dev ${mmcdev}; if mmc resc
|
||||||
CONFIG_SYS_CONSOLE_IS_IN_ENV=y
|
CONFIG_SYS_CONSOLE_IS_IN_ENV=y
|
||||||
CONFIG_BOARD_EARLY_INIT_F=y
|
CONFIG_BOARD_EARLY_INIT_F=y
|
||||||
CONFIG_SPL_FS_EXT4=y
|
CONFIG_SPL_FS_EXT4=y
|
||||||
|
CONFIG_SPL_FS_LOAD_PAYLOAD_NAME="u-boot-dtb.img"
|
||||||
CONFIG_SPL_I2C=y
|
CONFIG_SPL_I2C=y
|
||||||
CONFIG_SPL_WATCHDOG=y
|
CONFIG_SPL_WATCHDOG=y
|
||||||
CONFIG_HUSH_PARSER=y
|
CONFIG_HUSH_PARSER=y
|
||||||
|
|
|
@ -32,6 +32,7 @@ CONFIG_BOOTCOMMAND="run distro_bootcmd ; run net_nfs"
|
||||||
CONFIG_BOARD_EARLY_INIT_F=y
|
CONFIG_BOARD_EARLY_INIT_F=y
|
||||||
CONFIG_MISC_INIT_R=y
|
CONFIG_MISC_INIT_R=y
|
||||||
CONFIG_SPL_FS_EXT4=y
|
CONFIG_SPL_FS_EXT4=y
|
||||||
|
CONFIG_SPL_FS_LOAD_PAYLOAD_NAME="u-boot-dtb.img"
|
||||||
CONFIG_SPL_I2C=y
|
CONFIG_SPL_I2C=y
|
||||||
CONFIG_SPL_WATCHDOG=y
|
CONFIG_SPL_WATCHDOG=y
|
||||||
CONFIG_SYS_MAXARGS=32
|
CONFIG_SYS_MAXARGS=32
|
||||||
|
|
|
@ -25,6 +25,7 @@ CONFIG_SPL_SYS_MALLOC_SIMPLE=y
|
||||||
# CONFIG_SPL_BANNER_PRINT is not set
|
# CONFIG_SPL_BANNER_PRINT is not set
|
||||||
CONFIG_SPL_CPU=y
|
CONFIG_SPL_CPU=y
|
||||||
CONFIG_SPL_FS_EXT4=y
|
CONFIG_SPL_FS_EXT4=y
|
||||||
|
CONFIG_SPL_FS_LOAD_PAYLOAD_NAME="boot/fw_payload.bin"
|
||||||
CONFIG_SPL_RTC=y
|
CONFIG_SPL_RTC=y
|
||||||
CONFIG_SYS_PROMPT="openpiton$ "
|
CONFIG_SYS_PROMPT="openpiton$ "
|
||||||
CONFIG_SYS_CBSIZE=256
|
CONFIG_SYS_CBSIZE=256
|
||||||
|
|
|
@ -33,6 +33,7 @@ CONFIG_SPL_BOARD_INIT=y
|
||||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x18a
|
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x18a
|
||||||
CONFIG_SPL_DMA=y
|
CONFIG_SPL_DMA=y
|
||||||
CONFIG_SPL_FS_EXT4=y
|
CONFIG_SPL_FS_EXT4=y
|
||||||
|
CONFIG_SPL_FS_LOAD_PAYLOAD_NAME="u-boot-dtb.img"
|
||||||
CONFIG_SPL_DM_SPI_FLASH=y
|
CONFIG_SPL_DM_SPI_FLASH=y
|
||||||
CONFIG_SPL_SPI_LOAD=y
|
CONFIG_SPL_SPI_LOAD=y
|
||||||
CONFIG_SYS_SPI_U_BOOT_OFFS=0x31400
|
CONFIG_SYS_SPI_U_BOOT_OFFS=0x31400
|
||||||
|
|
|
@ -29,6 +29,7 @@ CONFIG_DEFAULT_FDT_FILE="ask"
|
||||||
CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE=y
|
CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE=y
|
||||||
CONFIG_SPL_FIT_IMAGE_TINY=y
|
CONFIG_SPL_FIT_IMAGE_TINY=y
|
||||||
CONFIG_SPL_FS_EXT4=y
|
CONFIG_SPL_FS_EXT4=y
|
||||||
|
CONFIG_SPL_FS_LOAD_PAYLOAD_NAME="u-boot-dtb.img"
|
||||||
CONFIG_SPL_USB_HOST=y
|
CONFIG_SPL_USB_HOST=y
|
||||||
CONFIG_SPL_USB_GADGET=y
|
CONFIG_SPL_USB_GADGET=y
|
||||||
CONFIG_SPL_USB_SDP_SUPPORT=y
|
CONFIG_SPL_USB_SDP_SUPPORT=y
|
||||||
|
|
|
@ -29,6 +29,8 @@ CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE=y
|
||||||
CONFIG_BOARD_EARLY_INIT_F=y
|
CONFIG_BOARD_EARLY_INIT_F=y
|
||||||
CONFIG_SPL_RAW_IMAGE_SUPPORT=y
|
CONFIG_SPL_RAW_IMAGE_SUPPORT=y
|
||||||
CONFIG_SPL_FS_EXT4=y
|
CONFIG_SPL_FS_EXT4=y
|
||||||
|
CONFIG_SPL_FS_LOAD_PAYLOAD_NAME="u-boot-dtb.img"
|
||||||
|
CONFIG_SPL_FS_LOAD_ARGS_NAME="imx6dl-riotboard.dtb"
|
||||||
CONFIG_SPL_OS_BOOT=y
|
CONFIG_SPL_OS_BOOT=y
|
||||||
CONFIG_SPL_FALCON_BOOT_MMCSD=y
|
CONFIG_SPL_FALCON_BOOT_MMCSD=y
|
||||||
CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR=0x0
|
CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR=0x0
|
||||||
|
|
|
@ -26,6 +26,7 @@ CONFIG_LEGACY_IMAGE_FORMAT=y
|
||||||
CONFIG_USE_PREBOOT=y
|
CONFIG_USE_PREBOOT=y
|
||||||
CONFIG_CLOCKS=y
|
CONFIG_CLOCKS=y
|
||||||
CONFIG_SPL_STACK_R=y
|
CONFIG_SPL_STACK_R=y
|
||||||
|
CONFIG_SPL_FS_LOAD_ARGS_NAME="system.dtb"
|
||||||
CONFIG_SPL_OS_BOOT=y
|
CONFIG_SPL_OS_BOOT=y
|
||||||
CONFIG_SPL_FALCON_BOOT_MMCSD=y
|
CONFIG_SPL_FALCON_BOOT_MMCSD=y
|
||||||
CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR=0x0
|
CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR=0x0
|
||||||
|
|
|
@ -23,6 +23,7 @@ CONFIG_BOOTDELAY=3
|
||||||
CONFIG_BOOTCOMMAND="run findfdt; run distro_bootcmd"
|
CONFIG_BOOTCOMMAND="run findfdt; run distro_bootcmd"
|
||||||
CONFIG_BOARD_EARLY_INIT_F=y
|
CONFIG_BOARD_EARLY_INIT_F=y
|
||||||
CONFIG_SPL_FS_EXT4=y
|
CONFIG_SPL_FS_EXT4=y
|
||||||
|
CONFIG_SPL_FS_LOAD_PAYLOAD_NAME="u-boot-dtb.img"
|
||||||
CONFIG_SPL_I2C=y
|
CONFIG_SPL_I2C=y
|
||||||
CONFIG_SPL_WATCHDOG=y
|
CONFIG_SPL_WATCHDOG=y
|
||||||
CONFIG_SYS_MAXARGS=32
|
CONFIG_SYS_MAXARGS=32
|
||||||
|
|
|
@ -24,6 +24,7 @@ CONFIG_BOOTCOMMAND="run findfdt; run distro_bootcmd"
|
||||||
CONFIG_BOARD_EARLY_INIT_F=y
|
CONFIG_BOARD_EARLY_INIT_F=y
|
||||||
CONFIG_SPL_ENV_SUPPORT=y
|
CONFIG_SPL_ENV_SUPPORT=y
|
||||||
CONFIG_SPL_FS_EXT4=y
|
CONFIG_SPL_FS_EXT4=y
|
||||||
|
CONFIG_SPL_FS_LOAD_PAYLOAD_NAME="u-boot-dtb.img"
|
||||||
CONFIG_SPL_WATCHDOG=y
|
CONFIG_SPL_WATCHDOG=y
|
||||||
CONFIG_SYS_MAXARGS=32
|
CONFIG_SYS_MAXARGS=32
|
||||||
CONFIG_SYS_PBSIZE=532
|
CONFIG_SYS_PBSIZE=532
|
||||||
|
|
|
@ -32,6 +32,7 @@ CONFIG_BOOTCOMMAND="run distro_bootcmd"
|
||||||
CONFIG_SYS_CONSOLE_IS_IN_ENV=y
|
CONFIG_SYS_CONSOLE_IS_IN_ENV=y
|
||||||
CONFIG_BOARD_EARLY_INIT_F=y
|
CONFIG_BOARD_EARLY_INIT_F=y
|
||||||
CONFIG_SPL_FS_EXT4=y
|
CONFIG_SPL_FS_EXT4=y
|
||||||
|
CONFIG_SPL_FS_LOAD_PAYLOAD_NAME="u-boot-dtb.img"
|
||||||
CONFIG_SPL_I2C=y
|
CONFIG_SPL_I2C=y
|
||||||
CONFIG_SPL_USB_HOST=y
|
CONFIG_SPL_USB_HOST=y
|
||||||
CONFIG_SPL_USB_GADGET=y
|
CONFIG_SPL_USB_GADGET=y
|
||||||
|
|
|
@ -35,6 +35,7 @@ CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE=y
|
||||||
CONFIG_BOARD_EARLY_INIT_F=y
|
CONFIG_BOARD_EARLY_INIT_F=y
|
||||||
CONFIG_SPL_FIT_IMAGE_TINY=y
|
CONFIG_SPL_FIT_IMAGE_TINY=y
|
||||||
CONFIG_SPL_FS_EXT4=y
|
CONFIG_SPL_FS_EXT4=y
|
||||||
|
CONFIG_SPL_FS_LOAD_PAYLOAD_NAME="u-boot-dtb.img"
|
||||||
CONFIG_SPL_I2C=y
|
CONFIG_SPL_I2C=y
|
||||||
CONFIG_SPL_WATCHDOG=y
|
CONFIG_SPL_WATCHDOG=y
|
||||||
CONFIG_SYS_MAXARGS=32
|
CONFIG_SYS_MAXARGS=32
|
||||||
|
|
|
@ -29,6 +29,8 @@ CONFIG_LEGACY_IMAGE_FORMAT=y
|
||||||
CONFIG_USE_PREBOOT=y
|
CONFIG_USE_PREBOOT=y
|
||||||
CONFIG_CLOCKS=y
|
CONFIG_CLOCKS=y
|
||||||
CONFIG_SPL_STACK_R=y
|
CONFIG_SPL_STACK_R=y
|
||||||
|
CONFIG_SPL_FS_LOAD_PAYLOAD_NAME="u-boot.img"
|
||||||
|
CONFIG_SPL_FS_LOAD_ARGS_NAME="system.dtb"
|
||||||
CONFIG_SPL_FPGA=y
|
CONFIG_SPL_FPGA=y
|
||||||
CONFIG_SPL_OS_BOOT=y
|
CONFIG_SPL_OS_BOOT=y
|
||||||
CONFIG_SPL_SPI_LOAD=y
|
CONFIG_SPL_SPI_LOAD=y
|
||||||
|
|
|
@ -32,6 +32,8 @@ CONFIG_PREBOOT="run scsi_init;usb start"
|
||||||
CONFIG_BOARD_EARLY_INIT_R=y
|
CONFIG_BOARD_EARLY_INIT_R=y
|
||||||
CONFIG_CLOCKS=y
|
CONFIG_CLOCKS=y
|
||||||
CONFIG_SPL_STACK_R=y
|
CONFIG_SPL_STACK_R=y
|
||||||
|
CONFIG_SPL_FS_LOAD_KERNEL_NAME="atf-uboot.ub"
|
||||||
|
CONFIG_SPL_FS_LOAD_ARGS_NAME="u-boot.bin"
|
||||||
CONFIG_SPL_FPGA=y
|
CONFIG_SPL_FPGA=y
|
||||||
CONFIG_SPL_OS_BOOT=y
|
CONFIG_SPL_OS_BOOT=y
|
||||||
CONFIG_SPL_RAM_SUPPORT=y
|
CONFIG_SPL_RAM_SUPPORT=y
|
||||||
|
|
|
@ -104,8 +104,4 @@
|
||||||
|
|
||||||
#define CONFIG_SYS_ENV_SECT_SIZE (128 << 10) /* 128 KiB */
|
#define CONFIG_SYS_ENV_SECT_SIZE (128 << 10) /* 128 KiB */
|
||||||
|
|
||||||
/* Defines for SPL */
|
|
||||||
|
|
||||||
#define CONFIG_SPL_FS_LOAD_PAYLOAD_NAME "u-boot.img"
|
|
||||||
|
|
||||||
#endif /* __CONFIG_H */
|
#endif /* __CONFIG_H */
|
||||||
|
|
|
@ -18,10 +18,6 @@
|
||||||
/* DDR Configuration */
|
/* DDR Configuration */
|
||||||
#define CONFIG_SYS_SDRAM_BASE1 0x880000000
|
#define CONFIG_SYS_SDRAM_BASE1 0x880000000
|
||||||
|
|
||||||
#ifdef CONFIG_SYS_K3_SPL_ATF
|
|
||||||
#define CONFIG_SPL_FS_LOAD_PAYLOAD_NAME "tispl.bin"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#define CONFIG_SPL_MAX_SIZE CONFIG_SYS_K3_MAX_DOWNLODABLE_IMAGE_SIZE
|
#define CONFIG_SPL_MAX_SIZE CONFIG_SYS_K3_MAX_DOWNLODABLE_IMAGE_SIZE
|
||||||
#if defined(CONFIG_TARGET_AM642_A53_EVM)
|
#if defined(CONFIG_TARGET_AM642_A53_EVM)
|
||||||
#define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SPL_TEXT_BASE + SZ_4M)
|
#define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SPL_TEXT_BASE + SZ_4M)
|
||||||
|
|
|
@ -44,10 +44,6 @@
|
||||||
#define CONFIG_SYS_SPL_MALLOC_SIZE SZ_16M
|
#define CONFIG_SYS_SPL_MALLOC_SIZE SZ_16M
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_SYS_K3_SPL_ATF
|
|
||||||
#define CONFIG_SPL_FS_LOAD_PAYLOAD_NAME "tispl.bin"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#define CONFIG_SPL_MAX_SIZE CONFIG_SYS_K3_MAX_DOWNLODABLE_IMAGE_SIZE
|
#define CONFIG_SPL_MAX_SIZE CONFIG_SYS_K3_MAX_DOWNLODABLE_IMAGE_SIZE
|
||||||
|
|
||||||
#define CONFIG_SYS_BOOTM_LEN SZ_64M
|
#define CONFIG_SYS_BOOTM_LEN SZ_64M
|
||||||
|
|
|
@ -53,8 +53,6 @@
|
||||||
#define CONFIG_SYS_SPL_MALLOC_START 0x70080000
|
#define CONFIG_SYS_SPL_MALLOC_START 0x70080000
|
||||||
#define CONFIG_SYS_SPL_MALLOC_SIZE 0x00080000
|
#define CONFIG_SYS_SPL_MALLOC_SIZE 0x00080000
|
||||||
|
|
||||||
#define CONFIG_SPL_FS_LOAD_PAYLOAD_NAME "u-boot.img"
|
|
||||||
|
|
||||||
#elif CONFIG_NAND_BOOT
|
#elif CONFIG_NAND_BOOT
|
||||||
#define CONFIG_SYS_NAND_U_BOOT_SIZE 0x80000
|
#define CONFIG_SYS_NAND_U_BOOT_SIZE 0x80000
|
||||||
|
|
||||||
|
|
|
@ -75,8 +75,4 @@
|
||||||
#define CONFIG_SYS_MCKR 0x1301
|
#define CONFIG_SYS_MCKR 0x1301
|
||||||
#define CONFIG_SYS_MCKR_CSS 0x1302
|
#define CONFIG_SYS_MCKR_CSS 0x1302
|
||||||
|
|
||||||
#ifdef CONFIG_SD_BOOT
|
|
||||||
#define CONFIG_SPL_FS_LOAD_PAYLOAD_NAME "u-boot.img"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -70,8 +70,4 @@
|
||||||
#define CONFIG_SYS_MCKR 0x1301
|
#define CONFIG_SYS_MCKR 0x1301
|
||||||
#define CONFIG_SYS_MCKR_CSS 0x1302
|
#define CONFIG_SYS_MCKR_CSS 0x1302
|
||||||
|
|
||||||
#ifdef CONFIG_SD_BOOT
|
|
||||||
#define CONFIG_SPL_FS_LOAD_PAYLOAD_NAME "u-boot.img"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -11,10 +11,6 @@
|
||||||
#define CONFIG_SPL_MAX_SIZE 0x00100000
|
#define CONFIG_SPL_MAX_SIZE 0x00100000
|
||||||
#define CONFIG_SPL_BSS_START_ADDR 0x04000000
|
#define CONFIG_SPL_BSS_START_ADDR 0x04000000
|
||||||
#define CONFIG_SPL_BSS_MAX_SIZE 0x00100000
|
#define CONFIG_SPL_BSS_MAX_SIZE 0x00100000
|
||||||
|
|
||||||
#ifdef CONFIG_SPL_MMC
|
|
||||||
#define CONFIG_SPL_FS_LOAD_PAYLOAD_NAME "u-boot.itb"
|
|
||||||
#endif
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define RISCV_MMODE_TIMERBASE 0xe6000000
|
#define RISCV_MMODE_TIMERBASE 0xe6000000
|
||||||
|
|
|
@ -59,8 +59,6 @@
|
||||||
#include "imx6_spl.h"
|
#include "imx6_spl.h"
|
||||||
/* RiOTboard */
|
/* RiOTboard */
|
||||||
#define CONFIG_SYS_SPL_ARGS_ADDR 0x13000000
|
#define CONFIG_SYS_SPL_ARGS_ADDR 0x13000000
|
||||||
#define CONFIG_SPL_FS_LOAD_KERNEL_NAME "uImage"
|
|
||||||
#define CONFIG_SPL_FS_LOAD_ARGS_NAME "imx6dl-riotboard.dtb"
|
|
||||||
|
|
||||||
#define CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR 0 /* offset 69KB */
|
#define CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR 0 /* offset 69KB */
|
||||||
#define CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTORS 0 /* offset 69KB */
|
#define CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTORS 0 /* offset 69KB */
|
||||||
|
|
|
@ -140,8 +140,6 @@
|
||||||
|
|
||||||
/* Falcon Mode */
|
/* Falcon Mode */
|
||||||
#ifdef CONFIG_SPL_OS_BOOT
|
#ifdef CONFIG_SPL_OS_BOOT
|
||||||
# define CONFIG_SPL_FS_LOAD_ARGS_NAME "args"
|
|
||||||
# define CONFIG_SPL_FS_LOAD_KERNEL_NAME "uImage"
|
|
||||||
# define CONFIG_SYS_SPL_ARGS_ADDR 0x18000000
|
# define CONFIG_SYS_SPL_ARGS_ADDR 0x18000000
|
||||||
|
|
||||||
/* MMC support: args@1MB kernel@2MB */
|
/* MMC support: args@1MB kernel@2MB */
|
||||||
|
|
|
@ -135,8 +135,6 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Falcon Mode */
|
/* Falcon Mode */
|
||||||
#define CONFIG_SPL_FS_LOAD_ARGS_NAME "args"
|
|
||||||
#define CONFIG_SPL_FS_LOAD_KERNEL_NAME "uImage"
|
|
||||||
#define CONFIG_SYS_SPL_ARGS_ADDR 0x18000000
|
#define CONFIG_SYS_SPL_ARGS_ADDR 0x18000000
|
||||||
|
|
||||||
/* Falcon Mode - MMC support: args@1MB kernel@2MB */
|
/* Falcon Mode - MMC support: args@1MB kernel@2MB */
|
||||||
|
|
|
@ -63,15 +63,6 @@
|
||||||
#define CONFIG_SYS_SATA_FAT_BOOT_PARTITION 1
|
#define CONFIG_SYS_SATA_FAT_BOOT_PARTITION 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Define the payload for FAT/EXT support */
|
|
||||||
#if defined(CONFIG_SPL_FS_FAT) || defined(CONFIG_SPL_FS_EXT4)
|
|
||||||
# ifdef CONFIG_OF_CONTROL
|
|
||||||
# define CONFIG_SPL_FS_LOAD_PAYLOAD_NAME "u-boot-dtb.img"
|
|
||||||
# else
|
|
||||||
# define CONFIG_SPL_FS_LOAD_PAYLOAD_NAME "u-boot.img"
|
|
||||||
# endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if defined(CONFIG_MX6SX) || defined(CONFIG_MX6SL) || \
|
#if defined(CONFIG_MX6SX) || defined(CONFIG_MX6SL) || \
|
||||||
defined(CONFIG_MX6UL) || defined(CONFIG_MX6ULL)
|
defined(CONFIG_MX6UL) || defined(CONFIG_MX6ULL)
|
||||||
#define CONFIG_SPL_BSS_START_ADDR 0x88200000
|
#define CONFIG_SPL_BSS_START_ADDR 0x88200000
|
||||||
|
|
|
@ -51,8 +51,6 @@
|
||||||
#define CONFIG_USB_MAX_CONTROLLER_COUNT 2
|
#define CONFIG_USB_MAX_CONTROLLER_COUNT 2
|
||||||
|
|
||||||
/* Falcon */
|
/* Falcon */
|
||||||
#define CONFIG_SPL_FS_LOAD_ARGS_NAME "args"
|
|
||||||
#define CONFIG_SPL_FS_LOAD_KERNEL_NAME "uImage"
|
|
||||||
#define CONFIG_SYS_SPL_ARGS_ADDR 0x13000000
|
#define CONFIG_SYS_SPL_ARGS_ADDR 0x13000000
|
||||||
|
|
||||||
/* MMC support: args@1MB kernel@2MB */
|
/* MMC support: args@1MB kernel@2MB */
|
||||||
|
|
|
@ -43,15 +43,6 @@
|
||||||
#define CONFIG_SYS_MONITOR_LEN 409600 /* 400 KB */
|
#define CONFIG_SYS_MONITOR_LEN 409600 /* 400 KB */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Define the payload for FAT/EXT support */
|
|
||||||
#if defined(CONFIG_SPL_FS_FAT) || defined(CONFIG_SPL_FS_EXT4)
|
|
||||||
# ifdef CONFIG_OF_CONTROL
|
|
||||||
# define CONFIG_SPL_FS_LOAD_PAYLOAD_NAME "u-boot-dtb.img"
|
|
||||||
# else
|
|
||||||
# define CONFIG_SPL_FS_LOAD_PAYLOAD_NAME "u-boot.img"
|
|
||||||
# endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#define CONFIG_SPL_BSS_START_ADDR 0x88200000
|
#define CONFIG_SPL_BSS_START_ADDR 0x88200000
|
||||||
#define CONFIG_SPL_BSS_MAX_SIZE 0x100000 /* 1 MB */
|
#define CONFIG_SPL_BSS_MAX_SIZE 0x100000 /* 1 MB */
|
||||||
#define CONFIG_SYS_SPL_MALLOC_START 0x88300000
|
#define CONFIG_SYS_SPL_MALLOC_START 0x88300000
|
||||||
|
|
|
@ -49,10 +49,6 @@
|
||||||
/* Image load address in RAM for DFU boot*/
|
/* Image load address in RAM for DFU boot*/
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_SYS_K3_SPL_ATF
|
|
||||||
#define CONFIG_SPL_FS_LOAD_PAYLOAD_NAME "tispl.bin"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#define CONFIG_SPL_MAX_SIZE CONFIG_SYS_K3_MAX_DOWNLODABLE_IMAGE_SIZE
|
#define CONFIG_SPL_MAX_SIZE CONFIG_SYS_K3_MAX_DOWNLODABLE_IMAGE_SIZE
|
||||||
|
|
||||||
#define CONFIG_SYS_BOOTM_LEN SZ_64M
|
#define CONFIG_SYS_BOOTM_LEN SZ_64M
|
||||||
|
|
|
@ -50,10 +50,6 @@
|
||||||
/* Image load address in RAM for DFU boot*/
|
/* Image load address in RAM for DFU boot*/
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_SYS_K3_SPL_ATF
|
|
||||||
#define CONFIG_SPL_FS_LOAD_PAYLOAD_NAME "tispl.bin"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#define CONFIG_SPL_MAX_SIZE CONFIG_SYS_K3_MAX_DOWNLODABLE_IMAGE_SIZE
|
#define CONFIG_SPL_MAX_SIZE CONFIG_SYS_K3_MAX_DOWNLODABLE_IMAGE_SIZE
|
||||||
|
|
||||||
#define CONFIG_SYS_BOOTM_LEN SZ_64M
|
#define CONFIG_SYS_BOOTM_LEN SZ_64M
|
||||||
|
|
|
@ -139,8 +139,6 @@
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define CONFIG_SPL_FS_LOAD_PAYLOAD_NAME "u-boot.img"
|
|
||||||
|
|
||||||
#include <asm/fsl_secure_boot.h>
|
#include <asm/fsl_secure_boot.h>
|
||||||
|
|
||||||
#endif /* __LS1046ARDB_H__ */
|
#endif /* __LS1046ARDB_H__ */
|
||||||
|
|
|
@ -21,7 +21,6 @@
|
||||||
*/
|
*/
|
||||||
#define CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR (0x800)
|
#define CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR (0x800)
|
||||||
#define CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTORS (0x80)
|
#define CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTORS (0x80)
|
||||||
#define CONFIG_SPL_FS_LOAD_KERNEL_NAME "fitImage"
|
|
||||||
|
|
||||||
#define CONFIG_MXC_UART_BASE UART1_BASE
|
#define CONFIG_MXC_UART_BASE UART1_BASE
|
||||||
|
|
||||||
|
|
|
@ -28,8 +28,6 @@
|
||||||
|
|
||||||
/* Falcon Mode */
|
/* Falcon Mode */
|
||||||
#ifdef CONFIG_SPL_OS_BOOT
|
#ifdef CONFIG_SPL_OS_BOOT
|
||||||
#define CONFIG_SPL_FS_LOAD_ARGS_NAME "args"
|
|
||||||
#define CONFIG_SPL_FS_LOAD_KERNEL_NAME "uImage"
|
|
||||||
#define CONFIG_SYS_SPL_ARGS_ADDR 0x18000000
|
#define CONFIG_SYS_SPL_ARGS_ADDR 0x18000000
|
||||||
|
|
||||||
/* Falcon Mode - MMC support: args@1MB kernel@2MB */
|
/* Falcon Mode - MMC support: args@1MB kernel@2MB */
|
||||||
|
|
|
@ -18,8 +18,6 @@
|
||||||
#include "mx6sabre_common.h"
|
#include "mx6sabre_common.h"
|
||||||
|
|
||||||
/* Falcon Mode */
|
/* Falcon Mode */
|
||||||
#define CONFIG_SPL_FS_LOAD_ARGS_NAME "args"
|
|
||||||
#define CONFIG_SPL_FS_LOAD_KERNEL_NAME "uImage"
|
|
||||||
#define CONFIG_SYS_SPL_ARGS_ADDR 0x18000000
|
#define CONFIG_SYS_SPL_ARGS_ADDR 0x18000000
|
||||||
|
|
||||||
/* Falcon Mode - MMC support: args@1MB kernel@2MB */
|
/* Falcon Mode - MMC support: args@1MB kernel@2MB */
|
||||||
|
|
|
@ -28,7 +28,6 @@
|
||||||
#define CONFIG_SPL_STACK (0x80000000 + 0x04000000 - \
|
#define CONFIG_SPL_STACK (0x80000000 + 0x04000000 - \
|
||||||
GENERATED_GBL_DATA_SIZE)
|
GENERATED_GBL_DATA_SIZE)
|
||||||
|
|
||||||
#define CONFIG_SPL_FS_LOAD_PAYLOAD_NAME "boot/fw_payload.bin"
|
|
||||||
#define CONFIG_SPL_GD_ADDR 0x85000000
|
#define CONFIG_SPL_GD_ADDR 0x85000000
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -14,8 +14,6 @@
|
||||||
|
|
||||||
#ifdef CONFIG_SPL_OS_BOOT
|
#ifdef CONFIG_SPL_OS_BOOT
|
||||||
/* Falcon Mode */
|
/* Falcon Mode */
|
||||||
#define CONFIG_SPL_FS_LOAD_ARGS_NAME "args"
|
|
||||||
#define CONFIG_SPL_FS_LOAD_KERNEL_NAME "uImage"
|
|
||||||
#define CONFIG_SYS_SPL_ARGS_ADDR 0x18000000
|
#define CONFIG_SYS_SPL_ARGS_ADDR 0x18000000
|
||||||
|
|
||||||
/* Falcon Mode - MMC support: args@1MB kernel@2MB */
|
/* Falcon Mode - MMC support: args@1MB kernel@2MB */
|
||||||
|
|
|
@ -16,8 +16,6 @@
|
||||||
|
|
||||||
#ifdef CONFIG_SPL_OS_BOOT
|
#ifdef CONFIG_SPL_OS_BOOT
|
||||||
/* Falcon Mode */
|
/* Falcon Mode */
|
||||||
#define CONFIG_SPL_FS_LOAD_ARGS_NAME "args"
|
|
||||||
#define CONFIG_SPL_FS_LOAD_KERNEL_NAME "uImage"
|
|
||||||
#define CONFIG_SYS_SPL_ARGS_ADDR 0x88000000
|
#define CONFIG_SYS_SPL_ARGS_ADDR 0x88000000
|
||||||
|
|
||||||
/* Falcon Mode - MMC support: args@1MB kernel@2MB */
|
/* Falcon Mode - MMC support: args@1MB kernel@2MB */
|
||||||
|
|
|
@ -14,8 +14,6 @@
|
||||||
|
|
||||||
#ifdef CONFIG_SPL_OS_BOOT
|
#ifdef CONFIG_SPL_OS_BOOT
|
||||||
/* Falcon Mode */
|
/* Falcon Mode */
|
||||||
#define CONFIG_SPL_FS_LOAD_ARGS_NAME "args"
|
|
||||||
#define CONFIG_SPL_FS_LOAD_KERNEL_NAME "uImage"
|
|
||||||
#define CONFIG_SYS_SPL_ARGS_ADDR 0x88000000
|
#define CONFIG_SYS_SPL_ARGS_ADDR 0x88000000
|
||||||
|
|
||||||
/* Falcon Mode - MMC support: args@1MB kernel@2MB */
|
/* Falcon Mode - MMC support: args@1MB kernel@2MB */
|
||||||
|
|
|
@ -58,8 +58,6 @@
|
||||||
#define CONFIG_SYS_SPL_MALLOC_START 0x70080000
|
#define CONFIG_SYS_SPL_MALLOC_START 0x70080000
|
||||||
#define CONFIG_SYS_SPL_MALLOC_SIZE 0x00080000
|
#define CONFIG_SYS_SPL_MALLOC_SIZE 0x00080000
|
||||||
|
|
||||||
#define CONFIG_SPL_FS_LOAD_PAYLOAD_NAME "u-boot.img"
|
|
||||||
|
|
||||||
#elif CONFIG_NAND_BOOT
|
#elif CONFIG_NAND_BOOT
|
||||||
#define CONFIG_SYS_NAND_U_BOOT_SIZE 0x80000
|
#define CONFIG_SYS_NAND_U_BOOT_SIZE 0x80000
|
||||||
|
|
||||||
|
|
|
@ -23,9 +23,6 @@
|
||||||
|
|
||||||
/* RAW SD card / eMMC locations. */
|
/* RAW SD card / eMMC locations. */
|
||||||
|
|
||||||
/* FAT sd card locations. */
|
|
||||||
#define CONFIG_SPL_FS_LOAD_PAYLOAD_NAME "u-boot.img"
|
|
||||||
|
|
||||||
#define CONFIG_SYS_SDRAM_BASE 0
|
#define CONFIG_SYS_SDRAM_BASE 0
|
||||||
#define SDRAM_BANK_SIZE (2UL << 30)
|
#define SDRAM_BANK_SIZE (2UL << 30)
|
||||||
#define SDRAM_MAX_SIZE 0xfe000000
|
#define SDRAM_MAX_SIZE 0xfe000000
|
||||||
|
|
|
@ -30,8 +30,4 @@
|
||||||
|
|
||||||
#define CONFIG_SYS_MONITOR_LEN (512 << 10)
|
#define CONFIG_SYS_MONITOR_LEN (512 << 10)
|
||||||
|
|
||||||
#ifdef CONFIG_SD_BOOT
|
|
||||||
#define CONFIG_SPL_FS_LOAD_PAYLOAD_NAME "u-boot.img"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -35,8 +35,4 @@
|
||||||
|
|
||||||
#define CONFIG_SYS_MONITOR_LEN (512 << 10)
|
#define CONFIG_SYS_MONITOR_LEN (512 << 10)
|
||||||
|
|
||||||
#ifdef CONFIG_SD_BOOT
|
|
||||||
#define CONFIG_SPL_FS_LOAD_PAYLOAD_NAME "u-boot.img"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -42,8 +42,4 @@
|
||||||
|
|
||||||
#define CONFIG_SYS_MONITOR_LEN (512 << 10)
|
#define CONFIG_SYS_MONITOR_LEN (512 << 10)
|
||||||
|
|
||||||
#ifdef CONFIG_SD_BOOT
|
|
||||||
#define CONFIG_SPL_FS_LOAD_PAYLOAD_NAME "u-boot.img"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -27,8 +27,4 @@
|
||||||
|
|
||||||
#define CONFIG_SYS_MONITOR_LEN (512 << 10)
|
#define CONFIG_SYS_MONITOR_LEN (512 << 10)
|
||||||
|
|
||||||
#ifdef CONFIG_SD_BOOT
|
|
||||||
#define CONFIG_SPL_FS_LOAD_PAYLOAD_NAME "u-boot.img"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -65,10 +65,6 @@
|
||||||
/* size of u-boot.bin to load */
|
/* size of u-boot.bin to load */
|
||||||
#define CONFIG_SYS_MONITOR_LEN (2 * SZ_512K)
|
#define CONFIG_SYS_MONITOR_LEN (2 * SZ_512K)
|
||||||
|
|
||||||
#ifdef CONFIG_SD_BOOT
|
|
||||||
#define CONFIG_SPL_FS_LOAD_PAYLOAD_NAME "u-boot.img"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Falcon boot support on raw MMC */
|
/* Falcon boot support on raw MMC */
|
||||||
#define CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR 0x100 /* 128 KiB */
|
#define CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR 0x100 /* 128 KiB */
|
||||||
#define CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTORS (CONFIG_CMD_SPL_WRITE_SIZE / 512)
|
#define CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTORS (CONFIG_CMD_SPL_WRITE_SIZE / 512)
|
||||||
|
@ -76,8 +72,6 @@
|
||||||
#define CONFIG_SYS_SPL_ARGS_ADDR 0x22000000
|
#define CONFIG_SYS_SPL_ARGS_ADDR 0x22000000
|
||||||
|
|
||||||
/* Falcon boot support on FAT on MMC */
|
/* Falcon boot support on FAT on MMC */
|
||||||
#define CONFIG_SPL_FS_LOAD_ARGS_NAME "args"
|
|
||||||
#define CONFIG_SPL_FS_LOAD_KERNEL_NAME "uImage"
|
|
||||||
|
|
||||||
/* Falcon boot support on raw NAND */
|
/* Falcon boot support on raw NAND */
|
||||||
#define CONFIG_SYS_NAND_SPL_KERNEL_OFFS 0x1a0000
|
#define CONFIG_SYS_NAND_SPL_KERNEL_OFFS 0x1a0000
|
||||||
|
|
|
@ -76,8 +76,4 @@
|
||||||
|
|
||||||
#define CONFIG_SYS_MONITOR_LEN (512 << 10)
|
#define CONFIG_SYS_MONITOR_LEN (512 << 10)
|
||||||
|
|
||||||
#ifdef CONFIG_SD_BOOT
|
|
||||||
#define CONFIG_SPL_FS_LOAD_PAYLOAD_NAME "u-boot.img"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -41,8 +41,4 @@
|
||||||
|
|
||||||
#define CONFIG_SYS_MONITOR_LEN (512 << 10)
|
#define CONFIG_SYS_MONITOR_LEN (512 << 10)
|
||||||
|
|
||||||
#ifdef CONFIG_SD_BOOT
|
|
||||||
#define CONFIG_SPL_FS_LOAD_PAYLOAD_NAME "u-boot.img"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -41,8 +41,4 @@
|
||||||
|
|
||||||
#define CONFIG_SYS_MONITOR_LEN (512 << 10)
|
#define CONFIG_SYS_MONITOR_LEN (512 << 10)
|
||||||
|
|
||||||
#ifdef CONFIG_SD_BOOT
|
|
||||||
#define CONFIG_SPL_FS_LOAD_PAYLOAD_NAME "u-boot.img"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -59,8 +59,6 @@
|
||||||
#define CONFIG_SPL_BSS_START_ADDR 0x80000000
|
#define CONFIG_SPL_BSS_START_ADDR 0x80000000
|
||||||
#define CONFIG_SPL_BSS_MAX_SIZE 0x80000 /* 512 KB */
|
#define CONFIG_SPL_BSS_MAX_SIZE 0x80000 /* 512 KB */
|
||||||
|
|
||||||
#define CONFIG_SPL_FS_LOAD_PAYLOAD_NAME "u-boot.img"
|
|
||||||
|
|
||||||
#define CONFIG_SYS_NAND_ECCPOS { 2, 3, 4, 5, 6, 7, 8, 9, \
|
#define CONFIG_SYS_NAND_ECCPOS { 2, 3, 4, 5, 6, 7, 8, 9, \
|
||||||
10, 11, 12, 13, 14, 15, 16, 17, \
|
10, 11, 12, 13, 14, 15, 16, 17, \
|
||||||
18, 19, 20, 21, 22, 23, 24, 25, \
|
18, 19, 20, 21, 22, 23, 24, 25, \
|
||||||
|
|
|
@ -58,8 +58,6 @@
|
||||||
#define CONFIG_SYS_SPL_MALLOC_SIZE (1024 * 1024)
|
#define CONFIG_SYS_SPL_MALLOC_SIZE (1024 * 1024)
|
||||||
#define CONFIG_SPL_STACK LOW_LEVEL_SRAM_STACK
|
#define CONFIG_SPL_STACK LOW_LEVEL_SRAM_STACK
|
||||||
|
|
||||||
#define CONFIG_SPL_FS_LOAD_PAYLOAD_NAME "u-boot.img"
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Serial
|
* Serial
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -162,13 +162,6 @@
|
||||||
#define CONFIG_SPL_MAX_SIZE CONFIG_SYS_INIT_RAM_SIZE
|
#define CONFIG_SPL_MAX_SIZE CONFIG_SYS_INIT_RAM_SIZE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* SPL SDMMC boot support */
|
|
||||||
#ifdef CONFIG_SPL_MMC
|
|
||||||
#if defined(CONFIG_SPL_FS_FAT) || defined(CONFIG_SPL_FS_EXT4)
|
|
||||||
#define CONFIG_SPL_FS_LOAD_PAYLOAD_NAME "u-boot.img"
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* SPL QSPI boot support */
|
/* SPL QSPI boot support */
|
||||||
|
|
||||||
/* SPL NAND boot support */
|
/* SPL NAND boot support */
|
||||||
|
|
|
@ -162,11 +162,4 @@ unsigned int cm_get_l4_sys_free_clk_hz(void);
|
||||||
#define CONFIG_SYS_SPL_MALLOC_START (CONFIG_SPL_BSS_START_ADDR \
|
#define CONFIG_SYS_SPL_MALLOC_START (CONFIG_SPL_BSS_START_ADDR \
|
||||||
- CONFIG_SYS_SPL_MALLOC_SIZE)
|
- CONFIG_SYS_SPL_MALLOC_SIZE)
|
||||||
|
|
||||||
/* SPL SDMMC boot support */
|
|
||||||
#ifdef CONFIG_SPL_LOAD_FIT
|
|
||||||
#define CONFIG_SPL_FS_LOAD_PAYLOAD_NAME "u-boot.itb"
|
|
||||||
#else
|
|
||||||
#define CONFIG_SPL_FS_LOAD_PAYLOAD_NAME "u-boot.img"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif /* __CONFIG_SOCFPGA_SOC64_COMMON_H__ */
|
#endif /* __CONFIG_SOCFPGA_SOC64_COMMON_H__ */
|
||||||
|
|
|
@ -93,8 +93,6 @@
|
||||||
#define CONFIG_SPL_BSS_START_ADDR 0x80000000
|
#define CONFIG_SPL_BSS_START_ADDR 0x80000000
|
||||||
#define CONFIG_SPL_BSS_MAX_SIZE 0x80000 /* 512 KB */
|
#define CONFIG_SPL_BSS_MAX_SIZE 0x80000 /* 512 KB */
|
||||||
|
|
||||||
#define CONFIG_SPL_FS_LOAD_PAYLOAD_NAME "u-boot.img"
|
|
||||||
|
|
||||||
#define CONFIG_SYS_SPI_U_BOOT_SIZE 0x40000
|
#define CONFIG_SYS_SPI_U_BOOT_SIZE 0x40000
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -132,16 +132,8 @@
|
||||||
CONFIG_SPL_TEXT_BASE)
|
CONFIG_SPL_TEXT_BASE)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
/* FAT sd card locations. */
|
|
||||||
#ifndef CONFIG_SPL_FS_LOAD_PAYLOAD_NAME
|
|
||||||
#define CONFIG_SPL_FS_LOAD_PAYLOAD_NAME "u-boot.img"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef CONFIG_SPL_OS_BOOT
|
#ifdef CONFIG_SPL_OS_BOOT
|
||||||
/* FAT */
|
/* FAT */
|
||||||
#define CONFIG_SPL_FS_LOAD_KERNEL_NAME "uImage"
|
|
||||||
#define CONFIG_SPL_FS_LOAD_ARGS_NAME "args"
|
|
||||||
|
|
||||||
/* RAW SD card / eMMC */
|
/* RAW SD card / eMMC */
|
||||||
#define CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR 0x1500 /* address 0x2A0000 */
|
#define CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR 0x1500 /* address 0x2A0000 */
|
||||||
|
|
|
@ -19,7 +19,6 @@
|
||||||
/* SPL settings */
|
/* SPL settings */
|
||||||
#undef CONFIG_SPL_MAX_FOOTPRINT
|
#undef CONFIG_SPL_MAX_FOOTPRINT
|
||||||
#define CONFIG_SPL_MAX_FOOTPRINT CONFIG_SYS_SPI_U_BOOT_OFFS
|
#define CONFIG_SPL_MAX_FOOTPRINT CONFIG_SYS_SPI_U_BOOT_OFFS
|
||||||
#define CONFIG_SPL_FS_LOAD_PAYLOAD_NAME "u-boot.img"
|
|
||||||
|
|
||||||
/* Setup proper boot sequences for Miami boards */
|
/* Setup proper boot sequences for Miami boards */
|
||||||
|
|
||||||
|
|
|
@ -22,8 +22,6 @@
|
||||||
|
|
||||||
#ifndef CONFIG_TPL_BUILD
|
#ifndef CONFIG_TPL_BUILD
|
||||||
/* Falcon Mode */
|
/* Falcon Mode */
|
||||||
#define CONFIG_SPL_FS_LOAD_ARGS_NAME "args"
|
|
||||||
#define CONFIG_SPL_FS_LOAD_KERNEL_NAME "uImage"
|
|
||||||
#define CONFIG_SYS_SPL_ARGS_ADDR 0x0ffe5000
|
#define CONFIG_SYS_SPL_ARGS_ADDR 0x0ffe5000
|
||||||
|
|
||||||
/* Falcon Mode - MMC support: args@16MB kernel@17MB */
|
/* Falcon Mode - MMC support: args@16MB kernel@17MB */
|
||||||
|
|
|
@ -215,20 +215,13 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* u-boot is like dtb */
|
/* u-boot is like dtb */
|
||||||
#define CONFIG_SPL_FS_LOAD_ARGS_NAME "u-boot.bin"
|
|
||||||
#define CONFIG_SYS_SPL_ARGS_ADDR 0x8000000
|
#define CONFIG_SYS_SPL_ARGS_ADDR 0x8000000
|
||||||
|
|
||||||
/* ATF is my kernel image */
|
/* ATF is my kernel image */
|
||||||
#define CONFIG_SPL_FS_LOAD_KERNEL_NAME "atf-uboot.ub"
|
|
||||||
|
|
||||||
/* MMC support */
|
/* MMC support */
|
||||||
# define CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR 0 /* unused */
|
# define CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR 0 /* unused */
|
||||||
# define CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTORS 0 /* unused */
|
# define CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTORS 0 /* unused */
|
||||||
# if defined(CONFIG_SPL_LOAD_FIT)
|
|
||||||
# define CONFIG_SPL_FS_LOAD_PAYLOAD_NAME "u-boot.itb"
|
|
||||||
# else
|
|
||||||
# define CONFIG_SPL_FS_LOAD_PAYLOAD_NAME "u-boot.img"
|
|
||||||
# endif
|
|
||||||
|
|
||||||
#if defined(CONFIG_SPL_BUILD) && defined(CONFIG_SPL_DFU)
|
#if defined(CONFIG_SPL_BUILD) && defined(CONFIG_SPL_DFU)
|
||||||
# define CONFIG_SPL_HASH
|
# define CONFIG_SPL_HASH
|
||||||
|
|
|
@ -212,17 +212,9 @@
|
||||||
/* Boot FreeBSD/vxWorks from an ELF image */
|
/* Boot FreeBSD/vxWorks from an ELF image */
|
||||||
#define CONFIG_SYS_MMC_MAX_DEVICE 1
|
#define CONFIG_SYS_MMC_MAX_DEVICE 1
|
||||||
|
|
||||||
/* MMC support */
|
|
||||||
#ifdef CONFIG_MMC_SDHCI_ZYNQ
|
|
||||||
#define CONFIG_SPL_FS_LOAD_PAYLOAD_NAME "u-boot.img"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Address in RAM where the parameters must be copied by SPL. */
|
/* Address in RAM where the parameters must be copied by SPL. */
|
||||||
#define CONFIG_SYS_SPL_ARGS_ADDR 0x10000000
|
#define CONFIG_SYS_SPL_ARGS_ADDR 0x10000000
|
||||||
|
|
||||||
#define CONFIG_SPL_FS_LOAD_ARGS_NAME "system.dtb"
|
|
||||||
#define CONFIG_SPL_FS_LOAD_KERNEL_NAME "uImage"
|
|
||||||
|
|
||||||
/* Not using MMC raw mode - just for compilation purpose */
|
/* Not using MMC raw mode - just for compilation purpose */
|
||||||
#define CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR 0
|
#define CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR 0
|
||||||
#define CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTORS 0
|
#define CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTORS 0
|
||||||
|
|
Loading…
Reference in a new issue