111bde1cdSSimon Glassmenu "SPL / TPL" 211bde1cdSSimon Glass 3c2ae7d82SSimon Glassconfig SUPPORT_SPL 4c2ae7d82SSimon Glass bool 5c2ae7d82SSimon Glass 6c2ae7d82SSimon Glassconfig SUPPORT_TPL 7c2ae7d82SSimon Glass bool 8c2ae7d82SSimon Glass 966928afbSB, Raviconfig SPL_DFU_NO_RESET 1066928afbSB, Ravi bool 1166928afbSB, Ravi 12c2ae7d82SSimon Glassconfig SPL 13c2ae7d82SSimon Glass bool 14c2ae7d82SSimon Glass depends on SUPPORT_SPL 15c2ae7d82SSimon Glass prompt "Enable SPL" 16c2ae7d82SSimon Glass help 17c2ae7d82SSimon Glass If you want to build SPL as well as the normal image, say Y. 18c2ae7d82SSimon Glass 19226498b8STom Riniif SPL 20226498b8STom Rini 210680f1b1SLey Foon Tanconfig SPL_BOARD_INIT 220680f1b1SLey Foon Tan bool "Call board-specific initialization in SPL" 230680f1b1SLey Foon Tan help 240680f1b1SLey Foon Tan If this option is enabled, U-Boot will call the function 250680f1b1SLey Foon Tan spl_board_init() from board_init_r(). This function should be 260680f1b1SLey Foon Tan provided by the board. 270680f1b1SLey Foon Tan 28225d30b7SPhilipp Tomsichconfig SPL_BOOTROM_SUPPORT 29225d30b7SPhilipp Tomsich bool "Support returning to the BOOTROM" 30225d30b7SPhilipp Tomsich help 31225d30b7SPhilipp Tomsich Some platforms (e.g. the Rockchip RK3368) provide support in their 32225d30b7SPhilipp Tomsich ROM for loading the next boot-stage after performing basic setup 33225d30b7SPhilipp Tomsich from the SPL stage. 34225d30b7SPhilipp Tomsich 35225d30b7SPhilipp Tomsich Enable this option, to return to the BOOTROM through the 36225d30b7SPhilipp Tomsich BOOT_DEVICE_BOOTROM (or fall-through to the next boot device in the 37225d30b7SPhilipp Tomsich boot device list, if not implemented for a given board) 38225d30b7SPhilipp Tomsich 3924eb39b5SAndrew F. Davisconfig SPL_RAW_IMAGE_SUPPORT 4024eb39b5SAndrew F. Davis bool "Support SPL loading and booting of RAW images" 4124eb39b5SAndrew F. Davis default n if (ARCH_MX6 && (SPL_MMC_SUPPORT || SPL_SATA_SUPPORT)) 42ae9b57b5SAndrew F. Davis default y if !TI_SECURE_DEVICE 4324eb39b5SAndrew F. Davis help 4424eb39b5SAndrew F. Davis SPL will support loading and booting a RAW image when this option 4524eb39b5SAndrew F. Davis is y. If this is not set, SPL will move on to other available 4624eb39b5SAndrew F. Davis boot media to find a suitable image. 4724eb39b5SAndrew F. Davis 48722a6b17SAndrew F. Davisconfig SPL_LEGACY_IMAGE_SUPPORT 49722a6b17SAndrew F. Davis bool "Support SPL loading and booting of Legacy images" 50ae9b57b5SAndrew F. Davis default y if !TI_SECURE_DEVICE 51722a6b17SAndrew F. Davis help 52722a6b17SAndrew F. Davis SPL will support loading and booting Legacy images when this option 53722a6b17SAndrew F. Davis is y. If this is not set, SPL will move on to other available 54722a6b17SAndrew F. Davis boot media to find a suitable image. 55722a6b17SAndrew F. Davis 56c2ae7d82SSimon Glassconfig SPL_SYS_MALLOC_SIMPLE 57c2ae7d82SSimon Glass bool 58c2ae7d82SSimon Glass prompt "Only use malloc_simple functions in the SPL" 59c2ae7d82SSimon Glass help 60c2ae7d82SSimon Glass Say Y here to only use the *_simple malloc functions from 61c2ae7d82SSimon Glass malloc_simple.c, rather then using the versions from dlmalloc.c; 62c2ae7d82SSimon Glass this will make the SPL binary smaller at the cost of more heap 63c2ae7d82SSimon Glass usage as the *_simple malloc functions do not re-use free-ed mem. 64c2ae7d82SSimon Glass 65c2ae7d82SSimon Glassconfig SPL_STACK_R 66c2ae7d82SSimon Glass bool "Enable SDRAM location for SPL stack" 67c2ae7d82SSimon Glass help 68c2ae7d82SSimon Glass SPL starts off execution in SRAM and thus typically has only a small 69c2ae7d82SSimon Glass stack available. Since SPL sets up DRAM while in its board_init_f() 70c2ae7d82SSimon Glass function, it is possible for the stack to move there before 71c2ae7d82SSimon Glass board_init_r() is reached. This option enables a special SDRAM 72c2ae7d82SSimon Glass location for the SPL stack. U-Boot SPL switches to this after 73c2ae7d82SSimon Glass board_init_f() completes, and before board_init_r() starts. 74c2ae7d82SSimon Glass 75c2ae7d82SSimon Glassconfig SPL_STACK_R_ADDR 76c2ae7d82SSimon Glass depends on SPL_STACK_R 77c2ae7d82SSimon Glass hex "SDRAM location for SPL stack" 78c2ae7d82SSimon Glass help 79c2ae7d82SSimon Glass Specify the address in SDRAM for the SPL stack. This will be set up 80c2ae7d82SSimon Glass before board_init_r() is called. 81c2ae7d82SSimon Glass 82c2ae7d82SSimon Glassconfig SPL_STACK_R_MALLOC_SIMPLE_LEN 83c2ae7d82SSimon Glass depends on SPL_STACK_R && SPL_SYS_MALLOC_SIMPLE 84c2ae7d82SSimon Glass hex "Size of malloc_simple heap after switching to DRAM SPL stack" 85c2ae7d82SSimon Glass default 0x100000 86c2ae7d82SSimon Glass help 87c2ae7d82SSimon Glass Specify the amount of the stack to use as memory pool for 88c2ae7d82SSimon Glass malloc_simple after switching the stack to DRAM. This may be set 89c2ae7d82SSimon Glass to give board_init_r() a larger heap then the initial heap in 90c2ae7d82SSimon Glass SRAM which is limited to SYS_MALLOC_F_LEN bytes. 91c2ae7d82SSimon Glass 92c2ae7d82SSimon Glassconfig SPL_SEPARATE_BSS 93c2ae7d82SSimon Glass bool "BSS section is in a different memory region from text" 94c2ae7d82SSimon Glass help 95c2ae7d82SSimon Glass Some platforms need a large BSS region in SPL and can provide this 96c2ae7d82SSimon Glass because RAM is already set up. In this case BSS can be moved to RAM. 97c2ae7d82SSimon Glass This option should then be enabled so that the correct device tree 98c2ae7d82SSimon Glass location is used. Normally we put the device tree at the end of BSS 99c2ae7d82SSimon Glass but with this option enabled, it goes at _image_binary_end. 100c2ae7d82SSimon Glass 101a807ab33SSimon Glassconfig SPL_DISPLAY_PRINT 102a807ab33SSimon Glass bool "Display a board-specific message in SPL" 103a807ab33SSimon Glass help 104a807ab33SSimon Glass If this option is enabled, U-Boot will call the function 105a807ab33SSimon Glass spl_display_print() immediately after displaying the SPL console 106a807ab33SSimon Glass banner ("U-Boot SPL ..."). This function should be provided by 107a807ab33SSimon Glass the board. 108a807ab33SSimon Glass 10938fed8abSSemen Protsenkoconfig SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR 11038fed8abSSemen Protsenko bool "MMC raw mode: by sector" 11138fed8abSSemen Protsenko default y if ARCH_SUNXI || ARCH_DAVINCI || ARCH_UNIPHIER ||ARCH_MX6 || \ 11238fed8abSSemen Protsenko ARCH_ROCKCHIP || ARCH_MVEBU || ARCH_SOCFPGA || \ 11338fed8abSSemen Protsenko ARCH_AT91 || ARCH_ZYNQ || ARCH_KEYSTONE || OMAP34XX || \ 11438fed8abSSemen Protsenko OMAP44XX || OMAP54XX || AM33XX || AM43XX 11538fed8abSSemen Protsenko help 11638fed8abSSemen Protsenko Use sector number for specifying U-Boot location on MMC/SD in 11738fed8abSSemen Protsenko raw mode. 11838fed8abSSemen Protsenko 11938fed8abSSemen Protsenkoconfig SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR 12038fed8abSSemen Protsenko hex "Address on the MMC to load U-Boot from" 121226498b8STom Rini depends on SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR 12238fed8abSSemen Protsenko default 0x50 if ARCH_SUNXI 12338fed8abSSemen Protsenko default 0x75 if ARCH_DAVINCI 12438fed8abSSemen Protsenko default 0x8a if ARCH_MX6 125c0efc314SMasahiro Yamada default 0x100 if ARCH_ROCKCHIP || ARCH_UNIPHIER 12638fed8abSSemen Protsenko default 0x140 if ARCH_MVEBU 12738fed8abSSemen Protsenko default 0x200 if ARCH_SOCFPGA || ARCH_AT91 12838fed8abSSemen Protsenko default 0x300 if ARCH_ZYNQ || ARCH_KEYSTONE || OMAP34XX || OMAP44XX || \ 12938fed8abSSemen Protsenko OMAP54XX || AM33XX || AM43XX 13038fed8abSSemen Protsenko help 13138fed8abSSemen Protsenko Address on the MMC to load U-Boot from, when the MMC is being used 13238fed8abSSemen Protsenko in raw mode. Units: MMC sectors (1 sector = 512 bytes). 13338fed8abSSemen Protsenko 134949123e3SDalon Westergreenconfig SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION 135949123e3SDalon Westergreen bool "MMC Raw mode: by partition" 136949123e3SDalon Westergreen help 137949123e3SDalon Westergreen Use a partition for loading U-Boot when using MMC/SD in raw mode. 138949123e3SDalon Westergreen 139949123e3SDalon Westergreenconfig SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION 140949123e3SDalon Westergreen hex "Partition to use to load U-Boot from" 141226498b8STom Rini depends on SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION 142949123e3SDalon Westergreen default 1 143949123e3SDalon Westergreen help 144949123e3SDalon Westergreen Partition on the MMC to load U-Boot from when the MMC is being 145949123e3SDalon Westergreen used in raw mode 146949123e3SDalon Westergreen 147f0fb4fa7SDalon Westergreenconfig SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION_TYPE 148f0fb4fa7SDalon Westergreen bool "MMC raw mode: by partition type" 149226498b8STom Rini depends on DOS_PARTITION && SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION 150f0fb4fa7SDalon Westergreen help 151f0fb4fa7SDalon Westergreen Use partition type for specifying U-Boot partition on MMC/SD in 152f0fb4fa7SDalon Westergreen raw mode. U-Boot will be loaded from the first partition of this 153f0fb4fa7SDalon Westergreen type to be found. 154f0fb4fa7SDalon Westergreen 155f0fb4fa7SDalon Westergreenconfig SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION_TYPE 156f0fb4fa7SDalon Westergreen hex "Partition Type on the MMC to load U-Boot from" 157226498b8STom Rini depends on SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION_TYPE 158f0fb4fa7SDalon Westergreen help 159f0fb4fa7SDalon Westergreen Partition Type on the MMC to load U-Boot from, when the MMC is being 160f0fb4fa7SDalon Westergreen used in raw mode. 161f0fb4fa7SDalon Westergreen 16211bde1cdSSimon Glassconfig SPL_CRC32_SUPPORT 16311bde1cdSSimon Glass bool "Support CRC32" 16411bde1cdSSimon Glass depends on SPL_FIT 16511bde1cdSSimon Glass help 16611bde1cdSSimon Glass Enable this to support CRC32 in FIT images within SPL. This is a 16711bde1cdSSimon Glass 32-bit checksum value that can be used to verify images. This is 16811bde1cdSSimon Glass the least secure type of checksum, suitable for detected 16911bde1cdSSimon Glass accidental image corruption. For secure applications you should 17011bde1cdSSimon Glass consider SHA1 or SHA256. 17111bde1cdSSimon Glass 17211bde1cdSSimon Glassconfig SPL_MD5_SUPPORT 17311bde1cdSSimon Glass bool "Support MD5" 17411bde1cdSSimon Glass depends on SPL_FIT 17511bde1cdSSimon Glass help 17611bde1cdSSimon Glass Enable this to support MD5 in FIT images within SPL. An MD5 17711bde1cdSSimon Glass checksum is a 128-bit hash value used to check that the image 17811bde1cdSSimon Glass contents have not been corrupted. Note that MD5 is not considered 17911bde1cdSSimon Glass secure as it is possible (with a brute-force attack) to adjust the 18011bde1cdSSimon Glass image while still retaining the same MD5 hash value. For secure 18111bde1cdSSimon Glass applications where images may be changed maliciously, you should 18211bde1cdSSimon Glass consider SHA1 or SHA256. 18311bde1cdSSimon Glass 18411bde1cdSSimon Glassconfig SPL_SHA1_SUPPORT 18511bde1cdSSimon Glass bool "Support SHA1" 18611bde1cdSSimon Glass depends on SPL_FIT 187089df18bSTom Rini select SHA1 18811bde1cdSSimon Glass help 18911bde1cdSSimon Glass Enable this to support SHA1 in FIT images within SPL. A SHA1 19011bde1cdSSimon Glass checksum is a 160-bit (20-byte) hash value used to check that the 19111bde1cdSSimon Glass image contents have not been corrupted or maliciously altered. 19211bde1cdSSimon Glass While SHA1 is fairly secure it is coming to the end of its life 19311bde1cdSSimon Glass due to the expanding computing power avaiable to brute-force 19411bde1cdSSimon Glass attacks. For more security, consider SHA256. 19511bde1cdSSimon Glass 19611bde1cdSSimon Glassconfig SPL_SHA256_SUPPORT 19711bde1cdSSimon Glass bool "Support SHA256" 19811bde1cdSSimon Glass depends on SPL_FIT 199089df18bSTom Rini select SHA256 20011bde1cdSSimon Glass help 20111bde1cdSSimon Glass Enable this to support SHA256 in FIT images within SPL. A SHA256 20211bde1cdSSimon Glass checksum is a 256-bit (32-byte) hash value used to check that the 20311bde1cdSSimon Glass image contents have not been corrupted. SHA256 is recommended for 20411bde1cdSSimon Glass use in secure applications since (as at 2016) there is no known 20511bde1cdSSimon Glass feasible attack that could produce a 'collision' with differing 20611bde1cdSSimon Glass input data. Use this for the highest security. Note that only the 20711bde1cdSSimon Glass SHA256 variant is supported: SHA512 and others are not currently 20811bde1cdSSimon Glass supported in U-Boot. 20911bde1cdSSimon Glass 2105e148df9SSimon Glassconfig SPL_CPU_SUPPORT 2115e148df9SSimon Glass bool "Support CPU drivers" 2125e148df9SSimon Glass help 2135e148df9SSimon Glass Enable this to support CPU drivers in SPL. These drivers can set 2145e148df9SSimon Glass up CPUs and provide information about them such as the model and 2155e148df9SSimon Glass name. This can be useful in SPL since setting up the CPUs earlier 2165e148df9SSimon Glass may improve boot performance. Enable this option to build the 2175e148df9SSimon Glass drivers in drivers/cpu as part of an SPL build. 2185e148df9SSimon Glass 21911bde1cdSSimon Glassconfig SPL_CRYPTO_SUPPORT 22011bde1cdSSimon Glass bool "Support crypto drivers" 22111bde1cdSSimon Glass help 22211bde1cdSSimon Glass Enable crypto drivers in SPL. These drivers can be used to 22311bde1cdSSimon Glass accelerate secure boot processing in secure applications. Enable 22411bde1cdSSimon Glass this option to build the drivers in drivers/crypto as part of an 22511bde1cdSSimon Glass SPL build. 22611bde1cdSSimon Glass 22711bde1cdSSimon Glassconfig SPL_HASH_SUPPORT 22811bde1cdSSimon Glass bool "Support hashing drivers" 229089df18bSTom Rini select SHA1 230089df18bSTom Rini select SHA256 23111bde1cdSSimon Glass help 23211bde1cdSSimon Glass Enable hashing drivers in SPL. These drivers can be used to 23311bde1cdSSimon Glass accelerate secure boot processing in secure applications. Enable 23411bde1cdSSimon Glass this option to build system-specific drivers for hash acceleration 23511bde1cdSSimon Glass as part of an SPL build. 23611bde1cdSSimon Glass 23711bde1cdSSimon Glassconfig SPL_DMA_SUPPORT 23811bde1cdSSimon Glass bool "Support DMA drivers" 23911bde1cdSSimon Glass help 24011bde1cdSSimon Glass Enable DMA (direct-memory-access) drivers in SPL. These drivers 24111bde1cdSSimon Glass can be used to handle memory-to-peripheral data transfer without 24211bde1cdSSimon Glass the CPU moving the data. Enable this option to build the drivers 24311bde1cdSSimon Glass in drivers/dma as part of an SPL build. 24411bde1cdSSimon Glass 24511bde1cdSSimon Glassconfig SPL_DRIVERS_MISC_SUPPORT 24611bde1cdSSimon Glass bool "Support misc drivers" 24711bde1cdSSimon Glass help 24811bde1cdSSimon Glass Enable miscellaneous drivers in SPL. These drivers perform various 24911bde1cdSSimon Glass tasks that don't fall nicely into other categories, Enable this 25011bde1cdSSimon Glass option to build the drivers in drivers/misc as part of an SPL 25111bde1cdSSimon Glass build, for those that support building in SPL (not all drivers do). 25211bde1cdSSimon Glass 25311bde1cdSSimon Glassconfig SPL_ENV_SUPPORT 25411bde1cdSSimon Glass bool "Support an environment" 25511bde1cdSSimon Glass help 25611bde1cdSSimon Glass Enable environment support in SPL. The U-Boot environment provides 25711bde1cdSSimon Glass a number of settings (essentially name/value pairs) which can 25811bde1cdSSimon Glass control many aspects of U-Boot's operation. Normally this is not 25911bde1cdSSimon Glass needed in SPL as it has a much simpler task with less 26011bde1cdSSimon Glass configuration. But some boards use this to support 'Falcon' boot 26111bde1cdSSimon Glass on EXT2 and FAT, where SPL boots directly into Linux without 26211bde1cdSSimon Glass starting U-Boot first. Enabling this option will make getenv() 26311bde1cdSSimon Glass and setenv() available in SPL. 26411bde1cdSSimon Glass 265d2d9bdfcSB, Raviconfig SPL_SAVEENV 266d2d9bdfcSB, Ravi bool "Support save environment" 267226498b8STom Rini depends on SPL_ENV_SUPPORT 268d2d9bdfcSB, Ravi help 269d2d9bdfcSB, Ravi Enable save environment support in SPL after setenv. By default 270d2d9bdfcSB, Ravi the saveenv option is not provided in SPL, but some boards need 271d2d9bdfcSB, Ravi this support in 'Falcon' boot, where SPL need to boot from 272d2d9bdfcSB, Ravi different images based on environment variable set by OS. For 273d2d9bdfcSB, Ravi example OS may set "reboot_image" environment variable to 274d2d9bdfcSB, Ravi "recovery" inorder to boot recovery image by SPL. The SPL read 275d2d9bdfcSB, Ravi "reboot_image" and act accordingly and change the reboot_image 276d2d9bdfcSB, Ravi to default mode using setenv and save the environemnt. 277d2d9bdfcSB, Ravi 27811bde1cdSSimon Glassconfig SPL_ETH_SUPPORT 27911bde1cdSSimon Glass bool "Support Ethernet" 28011bde1cdSSimon Glass depends on SPL_ENV_SUPPORT 28111bde1cdSSimon Glass help 28211bde1cdSSimon Glass Enable access to the network subsystem and associated Ethernet 28311bde1cdSSimon Glass drivers in SPL. This permits SPL to load U-Boot over an Ethernet 28411bde1cdSSimon Glass link rather than from an on-board peripheral. Environment support 28511bde1cdSSimon Glass is required since the network stack uses a number of environment 28611bde1cdSSimon Glass variables. See also SPL_NET_SUPPORT. 28711bde1cdSSimon Glass 28811bde1cdSSimon Glassconfig SPL_EXT_SUPPORT 28911bde1cdSSimon Glass bool "Support EXT filesystems" 29011bde1cdSSimon Glass help 29111bde1cdSSimon Glass Enable support for EXT2/3/4 filesystems with SPL. This permits 29211bde1cdSSimon Glass U-Boot (or Linux in Falcon mode) to be loaded from an EXT 29311bde1cdSSimon Glass filesystem from within SPL. Support for the underlying block 29411bde1cdSSimon Glass device (e.g. MMC or USB) must be enabled separately. 29511bde1cdSSimon Glass 29611bde1cdSSimon Glassconfig SPL_FAT_SUPPORT 29711bde1cdSSimon Glass bool "Support FAT filesystems" 298eedfb89eSSekhar Nori select FS_FAT 29911bde1cdSSimon Glass help 30011bde1cdSSimon Glass Enable support for FAT and VFAT filesystems with SPL. This 30111bde1cdSSimon Glass permits U-Boot (or Linux in Falcon mode) to be loaded from a FAT 30211bde1cdSSimon Glass filesystem from within SPL. Support for the underlying block 30311bde1cdSSimon Glass device (e.g. MMC or USB) must be enabled separately. 30411bde1cdSSimon Glass 30511bde1cdSSimon Glassconfig SPL_FPGA_SUPPORT 30611bde1cdSSimon Glass bool "Support FPGAs" 30711bde1cdSSimon Glass help 30811bde1cdSSimon Glass Enable support for FPGAs in SPL. Field-programmable Gate Arrays 30911bde1cdSSimon Glass provide software-configurable hardware which is typically used to 31011bde1cdSSimon Glass implement peripherals (such as UARTs, LCD displays, MMC) or 31111bde1cdSSimon Glass accelerate custom processing functions, such as image processing 31211bde1cdSSimon Glass or machine learning. Sometimes it is useful to program the FPGA 31311bde1cdSSimon Glass as early as possible during boot, and this option can enable that 31411bde1cdSSimon Glass within SPL. 31511bde1cdSSimon Glass 31611bde1cdSSimon Glassconfig SPL_GPIO_SUPPORT 31711bde1cdSSimon Glass bool "Support GPIO" 31811bde1cdSSimon Glass help 31911bde1cdSSimon Glass Enable support for GPIOs (General-purpose Input/Output) in SPL. 32011bde1cdSSimon Glass GPIOs allow U-Boot to read the state of an input line (high or 32111bde1cdSSimon Glass low) and set the state of an output line. This can be used to 32211bde1cdSSimon Glass drive LEDs, control power to various system parts and read user 32311bde1cdSSimon Glass input. GPIOs can be useful in SPL to enable a 'sign-of-life' LED, 32411bde1cdSSimon Glass for example. Enable this option to build the drivers in 32511bde1cdSSimon Glass drivers/gpio as part of an SPL build. 32611bde1cdSSimon Glass 32711bde1cdSSimon Glassconfig SPL_I2C_SUPPORT 32811bde1cdSSimon Glass bool "Support I2C" 32911bde1cdSSimon Glass help 33011bde1cdSSimon Glass Enable support for the I2C (Inter-Integrated Circuit) bus in SPL. 33111bde1cdSSimon Glass I2C works with a clock and data line which can be driven by a 33211bde1cdSSimon Glass one or more masters or slaves. It is a fairly complex bus but is 33311bde1cdSSimon Glass widely used as it only needs two lines for communication. Speeds of 33411bde1cdSSimon Glass 400kbps are typical but up to 3.4Mbps is supported by some 33511bde1cdSSimon Glass hardware. I2C can be useful in SPL to configure power management 33611bde1cdSSimon Glass ICs (PMICs) before raising the CPU clock speed, for example. 33711bde1cdSSimon Glass Enable this option to build the drivers in drivers/i2c as part of 33811bde1cdSSimon Glass an SPL build. 33911bde1cdSSimon Glass 34011bde1cdSSimon Glassconfig SPL_LIBCOMMON_SUPPORT 34111bde1cdSSimon Glass bool "Support common libraries" 34211bde1cdSSimon Glass help 34311bde1cdSSimon Glass Enable support for common U-Boot libraries within SPL. These 34411bde1cdSSimon Glass libraries include common code to deal with U-Boot images, 34511bde1cdSSimon Glass environment and USB, for example. This option is enabled on many 34611bde1cdSSimon Glass boards. Enable this option to build the code in common/ as part of 34711bde1cdSSimon Glass an SPL build. 34811bde1cdSSimon Glass 34911bde1cdSSimon Glassconfig SPL_LIBDISK_SUPPORT 35011bde1cdSSimon Glass bool "Support disk paritions" 35111bde1cdSSimon Glass help 35211bde1cdSSimon Glass Enable support for disk partitions within SPL. 'Disk' is something 35311bde1cdSSimon Glass of a misnomer as it includes non-spinning media such as flash (as 35411bde1cdSSimon Glass used in MMC and USB sticks). Partitions provide a way for a disk 35511bde1cdSSimon Glass to be split up into separate regions, with a partition table placed 35611bde1cdSSimon Glass at the start or end which describes the location and size of each 35711bde1cdSSimon Glass 'partition'. These partitions are typically uses as individual block 35811bde1cdSSimon Glass devices, typically with an EXT2 or FAT filesystem in each. This 35911bde1cdSSimon Glass option enables whatever partition support has been enabled in 36011bde1cdSSimon Glass U-Boot to also be used in SPL. It brings in the code in disk/. 36111bde1cdSSimon Glass 36211bde1cdSSimon Glassconfig SPL_LIBGENERIC_SUPPORT 36311bde1cdSSimon Glass bool "Support generic libraries" 36411bde1cdSSimon Glass help 36511bde1cdSSimon Glass Enable support for generic U-Boot libraries within SPL. These 36611bde1cdSSimon Glass libraries include generic code to deal with device tree, hashing, 36711bde1cdSSimon Glass printf(), compression and the like. This option is enabled on many 36811bde1cdSSimon Glass boards. Enable this option to build the code in lib/ as part of an 36911bde1cdSSimon Glass SPL build. 37011bde1cdSSimon Glass 37111bde1cdSSimon Glassconfig SPL_MMC_SUPPORT 37211bde1cdSSimon Glass bool "Support MMC" 373226498b8STom Rini depends on MMC 37411bde1cdSSimon Glass help 37511bde1cdSSimon Glass Enable support for MMC (Multimedia Card) within SPL. This enables 37611bde1cdSSimon Glass the MMC protocol implementation and allows any enabled drivers to 37711bde1cdSSimon Glass be used within SPL. MMC can be used with or without disk partition 37811bde1cdSSimon Glass support depending on the application (SPL_LIBDISK_SUPPORT). Enable 37911bde1cdSSimon Glass this option to build the drivers in drivers/mmc as part of an SPL 38011bde1cdSSimon Glass build. 38111bde1cdSSimon Glass 38211bde1cdSSimon Glassconfig SPL_MPC8XXX_INIT_DDR_SUPPORT 38311bde1cdSSimon Glass bool "Support MPC8XXX DDR init" 38411bde1cdSSimon Glass help 38511bde1cdSSimon Glass Enable support for DDR-SDRAM (double-data-rate synchronous dynamic 38611bde1cdSSimon Glass random-access memory) on the MPC8XXX family within SPL. This 38711bde1cdSSimon Glass allows DRAM to be set up before loading U-Boot into that DRAM, 38811bde1cdSSimon Glass where it can run. 38911bde1cdSSimon Glass 39011bde1cdSSimon Glassconfig SPL_MTD_SUPPORT 39111bde1cdSSimon Glass bool "Support MTD drivers" 39211bde1cdSSimon Glass help 39311bde1cdSSimon Glass Enable support for MTD (Memory Technology Device) within SPL. MTD 39411bde1cdSSimon Glass provides a block interface over raw NAND and can also be used with 39511bde1cdSSimon Glass SPI flash. This allows SPL to load U-Boot from supported MTD 39611bde1cdSSimon Glass devices. See SPL_NAND_SUPPORT and SPL_ONENAND_SUPPORT for how 39711bde1cdSSimon Glass to enable specific MTD drivers. 39811bde1cdSSimon Glass 39911bde1cdSSimon Glassconfig SPL_MUSB_NEW_SUPPORT 40011bde1cdSSimon Glass bool "Support new Mentor Graphics USB" 40111bde1cdSSimon Glass help 40211bde1cdSSimon Glass Enable support for Mentor Graphics USB in SPL. This is a new 40311bde1cdSSimon Glass driver used by some boards. Enable this option to build 40411bde1cdSSimon Glass the drivers in drivers/usb/musb-new as part of an SPL build. The 40511bde1cdSSimon Glass old drivers are in drivers/usb/musb. 40611bde1cdSSimon Glass 40711bde1cdSSimon Glassconfig SPL_NAND_SUPPORT 40811bde1cdSSimon Glass bool "Support NAND flash" 40911bde1cdSSimon Glass help 41011bde1cdSSimon Glass Enable support for NAND (Negative AND) flash in SPL. NAND flash 41111bde1cdSSimon Glass can be used to allow SPL to load U-Boot from supported devices. 41211bde1cdSSimon Glass This enables the drivers in drivers/mtd/nand as part of an SPL 41311bde1cdSSimon Glass build. 41411bde1cdSSimon Glass 41511bde1cdSSimon Glassconfig SPL_NET_SUPPORT 41611bde1cdSSimon Glass bool "Support networking" 41711bde1cdSSimon Glass help 41811bde1cdSSimon Glass Enable support for network devices (such as Ethernet) in SPL. 41911bde1cdSSimon Glass This permits SPL to load U-Boot over a network link rather than 42011bde1cdSSimon Glass from an on-board peripheral. Environment support is required since 42111bde1cdSSimon Glass the network stack uses a number of environment variables. See also 42211bde1cdSSimon Glass SPL_ETH_SUPPORT. 42311bde1cdSSimon Glass 42411bde1cdSSimon Glassif SPL_NET_SUPPORT 42511bde1cdSSimon Glassconfig SPL_NET_VCI_STRING 42611bde1cdSSimon Glass string "BOOTP Vendor Class Identifier string sent by SPL" 42711bde1cdSSimon Glass help 42811bde1cdSSimon Glass As defined by RFC 2132 the vendor class identifier field can be 42911bde1cdSSimon Glass sent by the client to identify the vendor type and configuration 43011bde1cdSSimon Glass of a client. This is often used in practice to allow for the DHCP 43111bde1cdSSimon Glass server to specify different files to load depending on if the ROM, 43211bde1cdSSimon Glass SPL or U-Boot itself makes the request 43311bde1cdSSimon Glassendif # if SPL_NET_SUPPORT 43411bde1cdSSimon Glass 43511bde1cdSSimon Glassconfig SPL_NO_CPU_SUPPORT 43611bde1cdSSimon Glass bool "Drop CPU code in SPL" 43711bde1cdSSimon Glass help 43811bde1cdSSimon Glass This is specific to the ARM926EJ-S CPU. It disables the standard 43911bde1cdSSimon Glass start.S start-up code, presumably so that a replacement can be 44011bde1cdSSimon Glass used on that CPU. You should not enable it unless you know what 44111bde1cdSSimon Glass you are doing. 44211bde1cdSSimon Glass 44311bde1cdSSimon Glassconfig SPL_NOR_SUPPORT 44411bde1cdSSimon Glass bool "Support NOR flash" 44511bde1cdSSimon Glass help 44611bde1cdSSimon Glass Enable support for loading U-Boot from memory-mapped NOR (Negative 44711bde1cdSSimon Glass OR) flash in SPL. NOR flash is slow to write but fast to read, and 44811bde1cdSSimon Glass a memory-mapped device makes it very easy to access. Loading from 44911bde1cdSSimon Glass NOR is typically achieved with just a memcpy(). 45011bde1cdSSimon Glass 451c6d9e9dbSVikas Manochaconfig SPL_XIP_SUPPORT 452c6d9e9dbSVikas Manocha bool "Support XIP" 453c6d9e9dbSVikas Manocha depends on SPL 454c6d9e9dbSVikas Manocha help 455c6d9e9dbSVikas Manocha Enable support for execute in place of U-Boot or kernel image. There 456c6d9e9dbSVikas Manocha is no need to copy image from flash to ram if flash supports execute 457c6d9e9dbSVikas Manocha in place. Its very useful in systems having enough flash but not 458c6d9e9dbSVikas Manocha enough ram to load the image. 459c6d9e9dbSVikas Manocha 46011bde1cdSSimon Glassconfig SPL_ONENAND_SUPPORT 46111bde1cdSSimon Glass bool "Support OneNAND flash" 46211bde1cdSSimon Glass help 46311bde1cdSSimon Glass Enable support for OneNAND (Negative AND) flash in SPL. OneNAND is 46411bde1cdSSimon Glass a type of NAND flash and therefore can be used to allow SPL to 46511bde1cdSSimon Glass load U-Boot from supported devices. This enables the drivers in 46611bde1cdSSimon Glass drivers/mtd/onenand as part of an SPL build. 46711bde1cdSSimon Glass 468c20ae2ffSHeiko Schocherconfig SPL_OS_BOOT 469c20ae2ffSHeiko Schocher bool "Activate Falcon Mode" 470226498b8STom Rini depends on !TI_SECURE_DEVICE 471c20ae2ffSHeiko Schocher default n 472c20ae2ffSHeiko Schocher help 473c20ae2ffSHeiko Schocher Enable booting directly to an OS from SPL. 474c20ae2ffSHeiko Schocher for more info read doc/README.falcon 475c20ae2ffSHeiko Schocher 47629d3bc79SHeiko Schocherif SPL_OS_BOOT 47729d3bc79SHeiko Schocherconfig SYS_OS_BASE 47829d3bc79SHeiko Schocher hex "addr, where OS is found" 479226498b8STom Rini depends on SPL_NOR_SUPPORT 48029d3bc79SHeiko Schocher help 48129d3bc79SHeiko Schocher Specify the address, where the OS image is found, which 48229d3bc79SHeiko Schocher gets booted. 48329d3bc79SHeiko Schocher 48429d3bc79SHeiko Schocherendif # SPL_OS_BOOT 48529d3bc79SHeiko Schocher 4862446b6b8SSimon Glassconfig SPL_PCI_SUPPORT 4872446b6b8SSimon Glass bool "Support PCI drivers" 4882446b6b8SSimon Glass help 4892446b6b8SSimon Glass Enable support for PCI in SPL. For platforms that need PCI to boot, 4902446b6b8SSimon Glass or must perform some init using PCI in SPL, this provides the 4912446b6b8SSimon Glass necessary driver support. This enables the drivers in drivers/pci 4922446b6b8SSimon Glass as part of an SPL build. 4932446b6b8SSimon Glass 494bbe41abfSSimon Glassconfig SPL_PCH_SUPPORT 495bbe41abfSSimon Glass bool "Support PCH drivers" 496bbe41abfSSimon Glass help 497bbe41abfSSimon Glass Enable support for PCH (Platform Controller Hub) devices in SPL. 498bbe41abfSSimon Glass These are used to set up GPIOs and the SPI peripheral early in 499bbe41abfSSimon Glass boot. This enables the drivers in drivers/pch as part of an SPL 500bbe41abfSSimon Glass build. 501bbe41abfSSimon Glass 50211bde1cdSSimon Glassconfig SPL_POST_MEM_SUPPORT 50311bde1cdSSimon Glass bool "Support POST drivers" 50411bde1cdSSimon Glass help 50511bde1cdSSimon Glass Enable support for POST (Power-on Self Test) in SPL. POST is a 50611bde1cdSSimon Glass procedure that checks that the hardware (CPU or board) appears to 50711bde1cdSSimon Glass be functionally correctly. It is a sanity check that can be 50811bde1cdSSimon Glass performed before booting. This enables the drivers in post/drivers 50911bde1cdSSimon Glass as part of an SPL build. 51011bde1cdSSimon Glass 51111bde1cdSSimon Glassconfig SPL_POWER_SUPPORT 51211bde1cdSSimon Glass bool "Support power drivers" 51311bde1cdSSimon Glass help 51411bde1cdSSimon Glass Enable support for power control in SPL. This includes support 51511bde1cdSSimon Glass for PMICs (Power-management Integrated Circuits) and some of the 51611bde1cdSSimon Glass features provided by PMICs. In particular, voltage regulators can 51711bde1cdSSimon Glass be used to enable/disable power and vary its voltage. That can be 51811bde1cdSSimon Glass useful in SPL to turn on boot peripherals and adjust CPU voltage 51911bde1cdSSimon Glass so that the clock speed can be increased. This enables the drivers 52011bde1cdSSimon Glass in drivers/power, drivers/power/pmic and drivers/power/regulator 52111bde1cdSSimon Glass as part of an SPL build. 52211bde1cdSSimon Glass 52322802f4eSStefan Agnerconfig SPL_RAM_SUPPORT 52422802f4eSStefan Agner bool "Support booting from RAM" 52522802f4eSStefan Agner default y if MICROBLAZE || ARCH_SOCFPGA || TEGRA || ARCH_ZYNQ 52622802f4eSStefan Agner help 52722802f4eSStefan Agner Enable booting of an image in RAM. The image can be preloaded or 52822802f4eSStefan Agner it can be loaded by SPL directly into RAM (e.g. using USB). 52922802f4eSStefan Agner 530f417d40fSStefan Agnerconfig SPL_RAM_DEVICE 531f417d40fSStefan Agner bool "Support booting from preloaded image in RAM" 53222802f4eSStefan Agner depends on SPL_RAM_SUPPORT 533f417d40fSStefan Agner default y if MICROBLAZE || ARCH_SOCFPGA || TEGRA || ARCH_ZYNQ 534f417d40fSStefan Agner help 535f417d40fSStefan Agner Enable booting of an image already loaded in RAM. The image has to 536f417d40fSStefan Agner be already in memory when SPL takes over, e.g. loaded by the boot 537f417d40fSStefan Agner ROM. 538f417d40fSStefan Agner 53930bf8a0dSSimon Glassconfig SPL_RTC_SUPPORT 54030bf8a0dSSimon Glass bool "Support RTC drivers" 54130bf8a0dSSimon Glass help 54230bf8a0dSSimon Glass Enable RTC (Real-time Clock) support in SPL. This includes support 54330bf8a0dSSimon Glass for reading and setting the time. Some RTC devices also have some 54430bf8a0dSSimon Glass non-volatile (battery-backed) memory which is accessible if 54530bf8a0dSSimon Glass needed. This enables the drivers in drivers/rtc as part of an SPL 54630bf8a0dSSimon Glass build. 54730bf8a0dSSimon Glass 54811bde1cdSSimon Glassconfig SPL_SATA_SUPPORT 54911bde1cdSSimon Glass bool "Support loading from SATA" 55011bde1cdSSimon Glass help 55111bde1cdSSimon Glass Enable support for SATA (Serial AT attachment) in SPL. This allows 55211bde1cdSSimon Glass use of SATA devices such as hard drives and flash drivers for 55311bde1cdSSimon Glass loading U-Boot. SATA is used in higher-end embedded systems and 55411bde1cdSSimon Glass can provide higher performance than MMC , at somewhat higher 55511bde1cdSSimon Glass expense and power consumption. This enables loading from SATA 55611bde1cdSSimon Glass using a configured device. 55711bde1cdSSimon Glass 55811bde1cdSSimon Glassconfig SPL_SERIAL_SUPPORT 55911bde1cdSSimon Glass bool "Support serial" 56011bde1cdSSimon Glass help 56111bde1cdSSimon Glass Enable support for serial in SPL. This allows use of a serial UART 56211bde1cdSSimon Glass for displaying messages while SPL is running. It also brings in 56311bde1cdSSimon Glass printf() and panic() functions. This should normally be enabled 56411bde1cdSSimon Glass unless there are space reasons not to. Even then, consider 56511bde1cdSSimon Glass enabling USE_TINY_PRINTF which is a small printf() version. 56611bde1cdSSimon Glass 56711bde1cdSSimon Glassconfig SPL_SPI_FLASH_SUPPORT 56811bde1cdSSimon Glass bool "Support SPI flash drivers" 56911bde1cdSSimon Glass help 57011bde1cdSSimon Glass Enable support for using SPI flash in SPL, and loading U-Boot from 57111bde1cdSSimon Glass SPI flash. SPI flash (Serial Peripheral Bus flash) is named after 57211bde1cdSSimon Glass the SPI bus that is used to connect it to a system. It is a simple 57311bde1cdSSimon Glass but fast bidirectional 4-wire bus (clock, chip select and two data 57411bde1cdSSimon Glass lines). This enables the drivers in drivers/mtd/spi as part of an 57511bde1cdSSimon Glass SPL build. This normally requires SPL_SPI_SUPPORT. 57611bde1cdSSimon Glass 57711bde1cdSSimon Glassconfig SPL_SPI_SUPPORT 57811bde1cdSSimon Glass bool "Support SPI drivers" 57911bde1cdSSimon Glass help 58011bde1cdSSimon Glass Enable support for using SPI in SPL. This is used for connecting 58111bde1cdSSimon Glass to SPI flash for loading U-Boot. See SPL_SPI_FLASH_SUPPORT for 58211bde1cdSSimon Glass more details on that. The SPI driver provides the transport for 58311bde1cdSSimon Glass data between the SPI flash and the CPU. This option can be used to 58411bde1cdSSimon Glass enable SPI drivers that are needed for other purposes also, such 58511bde1cdSSimon Glass as a SPI PMIC. 58611bde1cdSSimon Glass 5874a6c81ffSSimon Glassconfig SPL_TIMER_SUPPORT 5884a6c81ffSSimon Glass bool "Support timer drivers" 5894a6c81ffSSimon Glass help 5904a6c81ffSSimon Glass Enable support for timer drivers in SPL. These can be used to get 5914a6c81ffSSimon Glass a timer value when in SPL, or perhaps for implementing a delay 5924a6c81ffSSimon Glass function. This enables the drivers in drivers/timer as part of an 5934a6c81ffSSimon Glass SPL build. 5944a6c81ffSSimon Glass 59511bde1cdSSimon Glassconfig SPL_USB_HOST_SUPPORT 59611bde1cdSSimon Glass bool "Support USB host drivers" 59711bde1cdSSimon Glass help 59811bde1cdSSimon Glass Enable access to USB (Universal Serial Bus) host devices so that 59911bde1cdSSimon Glass SPL can load U-Boot from a connected USB peripheral, such as a USB 60011bde1cdSSimon Glass flash stick. While USB takes a little longer to start up than most 60111bde1cdSSimon Glass buses, it is very flexible since many different types of storage 60211bde1cdSSimon Glass device can be attached. This option enables the drivers in 60311bde1cdSSimon Glass drivers/usb/host as part of an SPL build. 60411bde1cdSSimon Glass 60511bde1cdSSimon Glassconfig SPL_USB_SUPPORT 60611bde1cdSSimon Glass bool "Support loading from USB" 60711bde1cdSSimon Glass depends on SPL_USB_HOST_SUPPORT 60811bde1cdSSimon Glass help 60911bde1cdSSimon Glass Enable support for USB devices in SPL. This allows use of USB 61011bde1cdSSimon Glass devices such as hard drives and flash drivers for loading U-Boot. 61111bde1cdSSimon Glass The actual drivers are enabled separately using the normal U-Boot 61211bde1cdSSimon Glass config options. This enables loading from USB using a configured 61311bde1cdSSimon Glass device. 61411bde1cdSSimon Glass 615e94793c8SStefan Agnerconfig SPL_USB_GADGET_SUPPORT 616e94793c8SStefan Agner bool "Suppport USB Gadget drivers" 617e94793c8SStefan Agner help 618e94793c8SStefan Agner Enable USB Gadget API which allows to enable USB device functions 619e94793c8SStefan Agner in SPL. 620e94793c8SStefan Agner 621e94793c8SStefan Agnerif SPL_USB_GADGET_SUPPORT 622e94793c8SStefan Agner 623e94793c8SStefan Agnerconfig SPL_USBETH_SUPPORT 624e94793c8SStefan Agner bool "Support USB Ethernet drivers" 625e94793c8SStefan Agner help 626e94793c8SStefan Agner Enable access to the USB network subsystem and associated 627e94793c8SStefan Agner drivers in SPL. This permits SPL to load U-Boot over a 628e94793c8SStefan Agner USB-connected Ethernet link (such as a USB Ethernet dongle) rather 629e94793c8SStefan Agner than from an onboard peripheral. Environment support is required 630e94793c8SStefan Agner since the network stack uses a number of environment variables. 631e94793c8SStefan Agner See also SPL_NET_SUPPORT and SPL_ETH_SUPPORT. 632e94793c8SStefan Agner 6335991703eSStefan Agnerconfig SPL_DFU_SUPPORT 6345991703eSStefan Agner bool "Support DFU (Device Firmware Upgarde)" 6355991703eSStefan Agner select SPL_HASH_SUPPORT 63666928afbSB, Ravi select SPL_DFU_NO_RESET 6371b19cbdbSB, Ravi depends on SPL_RAM_SUPPORT 6385991703eSStefan Agner help 6395991703eSStefan Agner This feature enables the DFU (Device Firmware Upgarde) in SPL with 6405991703eSStefan Agner RAM memory device support. The ROM code will load and execute 6415991703eSStefan Agner the SPL built with dfu. The user can load binaries (u-boot/kernel) to 6425991703eSStefan Agner selected device partition from host-pc using dfu-utils. 6435991703eSStefan Agner This feature is useful to flash the binaries to factory or bare-metal 6445991703eSStefan Agner boards using USB interface. 6455991703eSStefan Agner 6465991703eSStefan Agnerchoice 6475991703eSStefan Agner bool "DFU device selection" 6485991703eSStefan Agner depends on SPL_DFU_SUPPORT 6495991703eSStefan Agner 6505991703eSStefan Agnerconfig SPL_DFU_RAM 6515991703eSStefan Agner bool "RAM device" 65222802f4eSStefan Agner depends on SPL_DFU_SUPPORT && SPL_RAM_SUPPORT 6535991703eSStefan Agner help 6545991703eSStefan Agner select RAM/DDR memory device for loading binary images 6555991703eSStefan Agner (u-boot/kernel) to the selected device partition using 6565991703eSStefan Agner DFU and execute the u-boot/kernel from RAM. 6575991703eSStefan Agner 6585991703eSStefan Agnerendchoice 6595991703eSStefan Agner 660e94793c8SStefan Agnerendif 661e94793c8SStefan Agner 66211bde1cdSSimon Glassconfig SPL_WATCHDOG_SUPPORT 66311bde1cdSSimon Glass bool "Support watchdog drivers" 66411bde1cdSSimon Glass help 66511bde1cdSSimon Glass Enable support for watchdog drivers in SPL. A watchdog is 66611bde1cdSSimon Glass typically a hardware peripheral which can reset the system when it 66711bde1cdSSimon Glass detects no activity for a while (such as a software crash). This 66811bde1cdSSimon Glass enables the drivers in drivers/watchdog as part of an SPL build. 66911bde1cdSSimon Glass 67011bde1cdSSimon Glassconfig SPL_YMODEM_SUPPORT 67111bde1cdSSimon Glass bool "Support loading using Ymodem" 67211bde1cdSSimon Glass help 67311bde1cdSSimon Glass While loading from serial is slow it can be a useful backup when 67411bde1cdSSimon Glass there is no other option. The Ymodem protocol provides a reliable 67511bde1cdSSimon Glass means of transmitting U-Boot over a serial line for using in SPL, 67611bde1cdSSimon Glass with a checksum to ensure correctness. 67711bde1cdSSimon Glass 678bcc1726aSKever Yangconfig SPL_ATF_SUPPORT 679bcc1726aSKever Yang bool "Support ARM Trusted Firmware" 680226498b8STom Rini depends on ARM64 681bcc1726aSKever Yang help 682bcc1726aSKever Yang ATF(ARM Trusted Firmware) is a component for ARM arch64 which which 683bcc1726aSKever Yang is loaded by SPL(which is considered as BL2 in ATF terminology). 684bcc1726aSKever Yang More detail at: https://github.com/ARM-software/arm-trusted-firmware 685bcc1726aSKever Yang 686bcc1726aSKever Yangconfig SPL_ATF_TEXT_BASE 687bcc1726aSKever Yang depends on SPL_ATF_SUPPORT 688bcc1726aSKever Yang hex "ATF BL31 base address" 689bcc1726aSKever Yang help 690bcc1726aSKever Yang This is the base address in memory for ATF BL31 text and entry point. 691bcc1726aSKever Yang 692226498b8STom Riniconfig TPL 693226498b8STom Rini bool 694226498b8STom Rini depends on SUPPORT_TPL 695226498b8STom Rini prompt "Enable TPL" 696226498b8STom Rini help 697226498b8STom Rini If you want to build TPL as well as the normal image and SPL, say Y. 698226498b8STom Rini 699226498b8STom Riniif TPL 700226498b8STom Rini 701*a954fa32SPhilipp Tomsichconfig TPL_BOOTROM_SUPPORT 702*a954fa32SPhilipp Tomsich bool "Support returning to the BOOTROM (from TPL)" 703*a954fa32SPhilipp Tomsich help 704*a954fa32SPhilipp Tomsich Some platforms (e.g. the Rockchip RK3368) provide support in their 705*a954fa32SPhilipp Tomsich ROM for loading the next boot-stage after performing basic setup 706*a954fa32SPhilipp Tomsich from the TPL stage. 707*a954fa32SPhilipp Tomsich 708*a954fa32SPhilipp Tomsich Enable this option, to return to the BOOTROM through the 709*a954fa32SPhilipp Tomsich BOOT_DEVICE_BOOTROM (or fall-through to the next boot device in the 710*a954fa32SPhilipp Tomsich boot device list, if not implemented for a given board) 711*a954fa32SPhilipp Tomsich 712f73329eeSSimon Glassconfig TPL_ENV_SUPPORT 713f73329eeSSimon Glass bool "Support an environment" 714f73329eeSSimon Glass help 715f73329eeSSimon Glass Enable environment support in TPL. See SPL_ENV_SUPPORT for details. 716f73329eeSSimon Glass 717f73329eeSSimon Glassconfig TPL_I2C_SUPPORT 718f73329eeSSimon Glass bool "Support I2C" 719f73329eeSSimon Glass help 720f73329eeSSimon Glass Enable support for the I2C bus in SPL. See SPL_I2C_SUPPORT for 721f73329eeSSimon Glass details. 722f73329eeSSimon Glass 723f73329eeSSimon Glassconfig TPL_LIBCOMMON_SUPPORT 724f73329eeSSimon Glass bool "Support common libraries" 725f73329eeSSimon Glass help 726f73329eeSSimon Glass Enable support for common U-Boot libraries within TPL. See 727f73329eeSSimon Glass SPL_LIBCOMMON_SUPPORT for details. 728f73329eeSSimon Glass 729f73329eeSSimon Glassconfig TPL_LIBGENERIC_SUPPORT 730f73329eeSSimon Glass bool "Support generic libraries" 731f73329eeSSimon Glass help 732f73329eeSSimon Glass Enable support for generic U-Boot libraries within TPL. See 733f73329eeSSimon Glass SPL_LIBGENERIC_SUPPORT for details. 734f73329eeSSimon Glass 735f73329eeSSimon Glassconfig TPL_MPC8XXX_INIT_DDR_SUPPORT 736f73329eeSSimon Glass bool "Support MPC8XXX DDR init" 737f73329eeSSimon Glass help 738f73329eeSSimon Glass Enable support for DDR-SDRAM on the MPC8XXX family within TPL. See 739f73329eeSSimon Glass SPL_MPC8XXX_INIT_DDR_SUPPORT for details. 740f73329eeSSimon Glass 741f73329eeSSimon Glassconfig TPL_MMC_SUPPORT 742f73329eeSSimon Glass bool "Support MMC" 743226498b8STom Rini depends on MMC 744f73329eeSSimon Glass help 745f73329eeSSimon Glass Enable support for MMC within TPL. See SPL_MMC_SUPPORT for details. 746f73329eeSSimon Glass 747f73329eeSSimon Glassconfig TPL_NAND_SUPPORT 748f73329eeSSimon Glass bool "Support NAND flash" 749f73329eeSSimon Glass help 750f73329eeSSimon Glass Enable support for NAND in SPL. See SPL_NAND_SUPPORT for details. 751f73329eeSSimon Glass 752f73329eeSSimon Glassconfig TPL_SERIAL_SUPPORT 753f73329eeSSimon Glass bool "Support serial" 754f73329eeSSimon Glass help 755f73329eeSSimon Glass Enable support for serial in SPL. See SPL_SERIAL_SUPPORT for 756f73329eeSSimon Glass details. 757f73329eeSSimon Glass 758f73329eeSSimon Glassconfig TPL_SPI_FLASH_SUPPORT 759f73329eeSSimon Glass bool "Support SPI flash drivers" 760f73329eeSSimon Glass help 761f73329eeSSimon Glass Enable support for using SPI flash in SPL. See SPL_SPI_FLASH_SUPPORT 762f73329eeSSimon Glass for details. 763f73329eeSSimon Glass 764f73329eeSSimon Glassconfig TPL_SPI_SUPPORT 765f73329eeSSimon Glass bool "Support SPI drivers" 766f73329eeSSimon Glass help 767f73329eeSSimon Glass Enable support for using SPI in SPL. See SPL_SPI_SUPPORT for 768f73329eeSSimon Glass details. 769f73329eeSSimon Glass 770226498b8STom Riniendif # TPL 771226498b8STom Rini 772226498b8STom Riniendif # SPL 77311bde1cdSSimon Glassendmenu 774