2015-06-10 10:20:57 +00:00
|
|
|
if ARCH_ZYNQMP
|
|
|
|
|
2019-01-23 06:20:03 +00:00
|
|
|
config SPL_FS_FAT
|
2016-09-13 05:18:38 +00:00
|
|
|
default y
|
|
|
|
|
2016-09-13 05:18:41 +00:00
|
|
|
config SPL_LIBCOMMON_SUPPORT
|
|
|
|
default y
|
|
|
|
|
2016-09-13 05:18:42 +00:00
|
|
|
config SPL_LIBDISK_SUPPORT
|
|
|
|
default y
|
|
|
|
|
2016-09-13 05:18:43 +00:00
|
|
|
config SPL_LIBGENERIC_SUPPORT
|
|
|
|
default y
|
|
|
|
|
2021-08-08 18:20:09 +00:00
|
|
|
config SPL_MMC
|
2017-04-04 17:02:58 +00:00
|
|
|
default y if MMC_SDHCI_ZYNQ
|
2016-09-13 05:18:44 +00:00
|
|
|
|
2021-08-08 18:20:12 +00:00
|
|
|
config SPL_SERIAL
|
2016-09-13 05:18:56 +00:00
|
|
|
default y
|
|
|
|
|
2016-09-13 05:18:57 +00:00
|
|
|
config SPL_SPI_FLASH_SUPPORT
|
|
|
|
default y if ZYNQ_QSPI
|
|
|
|
|
2021-08-08 18:20:14 +00:00
|
|
|
config SPL_SPI
|
2016-09-13 05:18:58 +00:00
|
|
|
default y if ZYNQ_QSPI
|
|
|
|
|
2015-01-15 09:01:51 +00:00
|
|
|
config SYS_BOARD
|
|
|
|
default "zynqmp"
|
|
|
|
|
|
|
|
config SYS_VENDOR
|
2017-01-03 08:47:52 +00:00
|
|
|
string "Vendor name"
|
2015-01-15 09:01:51 +00:00
|
|
|
default "xilinx"
|
|
|
|
|
|
|
|
config SYS_SOC
|
|
|
|
default "zynqmp"
|
|
|
|
|
|
|
|
config SYS_CONFIG_NAME
|
2016-03-18 17:21:36 +00:00
|
|
|
string "Board configuration name"
|
|
|
|
default "xilinx_zynqmp"
|
|
|
|
help
|
|
|
|
This option contains information about board configuration name.
|
|
|
|
Based on this option include/configs/<CONFIG_SYS_CONFIG_NAME>.h header
|
|
|
|
will be used for board configuration.
|
2015-01-15 09:01:51 +00:00
|
|
|
|
2017-07-13 13:31:11 +00:00
|
|
|
config SYS_MEM_RSVD_FOR_MMU
|
|
|
|
bool "Reserve memory for MMU Table"
|
|
|
|
help
|
|
|
|
If defined this option is used to setup different space for
|
|
|
|
MMU table than the one which will be allocated during
|
|
|
|
relocation.
|
|
|
|
|
2016-09-20 09:37:24 +00:00
|
|
|
config BOOT_INIT_FILE
|
|
|
|
string "boot.bin init register filename"
|
2016-12-16 12:00:26 +00:00
|
|
|
depends on SPL
|
2016-09-20 09:37:24 +00:00
|
|
|
default ""
|
|
|
|
help
|
|
|
|
Add register writes to boot.bin format (max 256 pairs).
|
|
|
|
Expect a table of register-value pairs, e.g. "0x12345678 0x4321"
|
|
|
|
|
2016-10-21 10:58:17 +00:00
|
|
|
config PMUFW_INIT_FILE
|
|
|
|
string "PMU firmware"
|
|
|
|
depends on SPL
|
|
|
|
default ""
|
|
|
|
help
|
|
|
|
Include external PMUFW (Platform Management Unit FirmWare) to
|
|
|
|
a Xilinx bootable image (boot.bin).
|
|
|
|
|
2019-05-21 16:06:43 +00:00
|
|
|
config ZYNQMP_SPL_PM_CFG_OBJ_FILE
|
|
|
|
string "PMU firmware configuration object to load at runtime by SPL"
|
|
|
|
depends on SPL
|
|
|
|
help
|
|
|
|
Path to a binary PMU firmware configuration object to be linked
|
|
|
|
into U-Boot SPL and loaded at runtime into the PMU firmware.
|
|
|
|
|
|
|
|
The ZynqMP Power Management Unit (PMU) needs a configuration
|
|
|
|
object for most SoC peripherals to work. To have it loaded by
|
|
|
|
U-Boot SPL set here the file name (absolute path or relative to
|
|
|
|
the top source tree) of your configuration, which must be a
|
|
|
|
binary blob. It will be linked in the SPL binary and loaded
|
|
|
|
into the PMU firmware by U-Boot SPL during board
|
|
|
|
initialization.
|
|
|
|
|
|
|
|
Leave this option empty if your PMU firmware has a hard-coded
|
|
|
|
configuration object or you are loading it by any other means.
|
|
|
|
|
2015-08-04 07:33:26 +00:00
|
|
|
config ZYNQMP_USB
|
|
|
|
bool "Configure ZynqMP USB"
|
|
|
|
|
2018-01-12 10:05:46 +00:00
|
|
|
config ZYNQMP_NO_DDR
|
|
|
|
bool "Disable DDR MMU mapping"
|
|
|
|
help
|
|
|
|
This option configures MMU with no DDR to avoid speculative
|
|
|
|
access to DDR memory where DDR is not present.
|
|
|
|
|
2021-06-13 18:55:53 +00:00
|
|
|
config SPL_ZYNQMP_DRAM_ECC_INIT
|
|
|
|
bool "Initialize DRAM ECC"
|
|
|
|
depends on SPL
|
|
|
|
help
|
|
|
|
This option initializes all memory to 0xdeadbeef. Must be set if your
|
|
|
|
memory is of ECC type.
|
|
|
|
|
|
|
|
config SPL_ZYNQMP_DRAM_BANK1_BASE
|
|
|
|
depends on SPL_ZYNQMP_DRAM_ECC_INIT
|
|
|
|
hex "DRAM Bank1 address"
|
|
|
|
default 0x00000000
|
|
|
|
help
|
|
|
|
Start address of DRAM ECC bank1
|
|
|
|
|
|
|
|
config SPL_ZYNQMP_DRAM_BANK1_LEN
|
|
|
|
depends on SPL_ZYNQMP_DRAM_ECC_INIT
|
|
|
|
hex "DRAM Bank1 size"
|
|
|
|
default 0x80000000
|
|
|
|
help
|
|
|
|
Size in bytes of the DRAM ECC bank1
|
|
|
|
|
|
|
|
config SPL_ZYNQMP_DRAM_BANK2_BASE
|
|
|
|
depends on SPL_ZYNQMP_DRAM_ECC_INIT
|
|
|
|
hex "DRAM Bank2 address"
|
|
|
|
default 0x800000000
|
|
|
|
help
|
|
|
|
Start address of DRAM ECC bank2
|
|
|
|
|
|
|
|
config SPL_ZYNQMP_DRAM_BANK2_LEN
|
|
|
|
depends on SPL_ZYNQMP_DRAM_ECC_INIT
|
|
|
|
hex "DRAM Bank2 size"
|
|
|
|
default 0x0
|
|
|
|
help
|
|
|
|
Size in bytes of the DRAM ECC bank2. A null size takes no action.
|
|
|
|
|
2016-07-05 23:10:13 +00:00
|
|
|
config SYS_MALLOC_F_LEN
|
|
|
|
default 0x600
|
|
|
|
|
2017-07-13 13:31:10 +00:00
|
|
|
config DEFINE_TCM_OCM_MMAP
|
|
|
|
bool "Define TCM and OCM memory in MMU Table"
|
2017-08-01 10:54:50 +00:00
|
|
|
default y if MP
|
2017-07-13 13:31:10 +00:00
|
|
|
help
|
|
|
|
This option if enabled defines the TCM and OCM memory and its
|
|
|
|
memory attributes in MMU table entry.
|
|
|
|
|
2017-07-12 11:21:27 +00:00
|
|
|
config ZYNQMP_PSU_INIT_ENABLED
|
|
|
|
bool "Include psu_init"
|
|
|
|
help
|
|
|
|
Include psu_init to full u-boot. SPL include psu_init by default.
|
|
|
|
|
2016-08-30 14:17:27 +00:00
|
|
|
config SPL_ZYNQMP_ALT_BOOTMODE_ENABLED
|
|
|
|
bool "Overwrite SPL bootmode"
|
|
|
|
depends on SPL
|
|
|
|
help
|
|
|
|
Overwrite bootmode selected via boot mode pins to tell SPL what should
|
|
|
|
be the next boot device.
|
|
|
|
|
2018-02-28 10:23:28 +00:00
|
|
|
config ZYNQ_SDHCI_MAX_FREQ
|
|
|
|
default 200000000
|
|
|
|
|
2016-08-30 14:17:27 +00:00
|
|
|
config SPL_ZYNQMP_ALT_BOOTMODE
|
|
|
|
hex
|
|
|
|
default 0x0 if JTAG_MODE
|
|
|
|
default 0x1 if QSPI_MODE_24BIT
|
|
|
|
default 0x2 if QSPI_MODE_32BIT
|
|
|
|
default 0x3 if SD_MODE
|
|
|
|
default 0x4 if NAND_MODE
|
|
|
|
default 0x5 if SD_MODE1
|
|
|
|
default 0x6 if EMMC_MODE
|
|
|
|
default 0x7 if USB_MODE
|
2016-10-26 07:24:32 +00:00
|
|
|
default 0xa if SW_USBHOST_MODE
|
|
|
|
default 0xb if SW_SATA_MODE
|
2017-02-15 08:41:53 +00:00
|
|
|
default 0xe if SD1_LSHFT_MODE
|
2016-08-30 14:17:27 +00:00
|
|
|
|
|
|
|
choice
|
|
|
|
prompt "Boot mode"
|
2016-08-30 14:17:27 +00:00
|
|
|
depends on SPL_ZYNQMP_ALT_BOOTMODE_ENABLED
|
2018-01-30 13:02:01 +00:00
|
|
|
default JTAG_MODE
|
2016-08-30 14:17:27 +00:00
|
|
|
|
|
|
|
config JTAG_MODE
|
|
|
|
bool "JTAG_MODE"
|
|
|
|
|
|
|
|
config QSPI_MODE_24BIT
|
|
|
|
bool "QSPI_MODE_24BIT"
|
|
|
|
|
|
|
|
config QSPI_MODE_32BIT
|
|
|
|
bool "QSPI_MODE_32BIT"
|
|
|
|
|
|
|
|
config SD_MODE
|
|
|
|
bool "SD_MODE"
|
|
|
|
|
|
|
|
config SD_MODE1
|
|
|
|
bool "SD_MODE1"
|
|
|
|
|
|
|
|
config NAND_MODE
|
|
|
|
bool "NAND_MODE"
|
|
|
|
|
|
|
|
config EMMC_MODE
|
|
|
|
bool "EMMC_MODE"
|
|
|
|
|
|
|
|
config USB_MODE
|
|
|
|
bool "USB"
|
|
|
|
|
2016-10-26 07:24:32 +00:00
|
|
|
config SW_USBHOST_MODE
|
|
|
|
bool "SW USBHOST_MODE"
|
|
|
|
|
|
|
|
config SW_SATA_MODE
|
|
|
|
bool "SW SATA_MODE"
|
|
|
|
|
2017-02-15 08:41:53 +00:00
|
|
|
config SD1_LSHFT_MODE
|
|
|
|
bool "SD1_LSHFT_MODE"
|
|
|
|
|
2016-08-30 14:17:27 +00:00
|
|
|
endchoice
|
2016-07-05 23:10:13 +00:00
|
|
|
|
2020-08-27 13:34:11 +00:00
|
|
|
source "board/xilinx/Kconfig"
|
|
|
|
source "board/xilinx/zynqmp/Kconfig"
|
|
|
|
|
2015-01-15 09:01:51 +00:00
|
|
|
endif
|