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 1975670c81STom Riniconfig SPL_FRAMEWORK 2075670c81STom Rini bool "Support SPL based upon the common SPL framework" 2175670c81STom Rini depends on SPL 2275670c81STom Rini default y 2375670c81STom Rini help 2475670c81STom Rini Enable the SPL framework under common/spl/. This framework 2575670c81STom Rini supports MMC, NAND and YMODEM and other methods loading of U-Boot 2675670c81STom Rini and the Linux Kernel. If unsure, say Y. 2775670c81STom Rini 28b0edea3cSSimon Glassconfig HANDOFF 29b0edea3cSSimon Glass bool "Pass hand-off information from SPL to U-Boot proper" 30b0edea3cSSimon Glass depends on BLOBLIST 31b0edea3cSSimon Glass help 32b0edea3cSSimon Glass It is useful to be able to pass information from SPL to U-Boot 33b0edea3cSSimon Glass proper to preserve state that is known in SPL and is needed in U-Boot. 34b0edea3cSSimon Glass Enable this to locate the handoff information in U-Boot proper, early 35b0edea3cSSimon Glass in boot. It is available in gd->handoff. The state state is set up 36b0edea3cSSimon Glass in SPL (or TPL if that is being used). 37b0edea3cSSimon Glass 38226498b8STom Riniif SPL 39226498b8STom Rini 40b0edea3cSSimon Glassconfig SPL_HANDOFF 41b0edea3cSSimon Glass bool "Pass hand-off information from SPL to U-Boot proper" 42b0edea3cSSimon Glass depends on HANDOFF 43b0edea3cSSimon Glass default y 44b0edea3cSSimon Glass help 45b0edea3cSSimon Glass This option enables SPL to write handoff information. This can be 46b0edea3cSSimon Glass used to pass information like the size of SDRAM from SPL to U-Boot 47b0edea3cSSimon Glass proper. Also SPL can receive information from TPL in the same place 48b0edea3cSSimon Glass if that is enabled. 49b0edea3cSSimon Glass 50dd6fbcb9SPhilipp Tomsichconfig SPL_LDSCRIPT 51dd6fbcb9SPhilipp Tomsich string "Linker script for the SPL stage" 52dd6fbcb9SPhilipp Tomsich default "arch/$(ARCH)/cpu/u-boot-spl.lds" 53dd6fbcb9SPhilipp Tomsich help 54dd6fbcb9SPhilipp Tomsich The SPL stage will usually require a different linker-script 55dd6fbcb9SPhilipp Tomsich (as it runs from a different memory region) than the regular 56dd6fbcb9SPhilipp Tomsich U-Boot stage. Set this to the path of the linker-script to 57dd6fbcb9SPhilipp Tomsich be used for SPL. 58dd6fbcb9SPhilipp Tomsich 590680f1b1SLey Foon Tanconfig SPL_BOARD_INIT 600680f1b1SLey Foon Tan bool "Call board-specific initialization in SPL" 610680f1b1SLey Foon Tan help 620680f1b1SLey Foon Tan If this option is enabled, U-Boot will call the function 630680f1b1SLey Foon Tan spl_board_init() from board_init_r(). This function should be 640680f1b1SLey Foon Tan provided by the board. 650680f1b1SLey Foon Tan 66225d30b7SPhilipp Tomsichconfig SPL_BOOTROM_SUPPORT 67225d30b7SPhilipp Tomsich bool "Support returning to the BOOTROM" 68225d30b7SPhilipp Tomsich help 69225d30b7SPhilipp Tomsich Some platforms (e.g. the Rockchip RK3368) provide support in their 70225d30b7SPhilipp Tomsich ROM for loading the next boot-stage after performing basic setup 71225d30b7SPhilipp Tomsich from the SPL stage. 72225d30b7SPhilipp Tomsich 73225d30b7SPhilipp Tomsich Enable this option, to return to the BOOTROM through the 74225d30b7SPhilipp Tomsich BOOT_DEVICE_BOOTROM (or fall-through to the next boot device in the 75225d30b7SPhilipp Tomsich boot device list, if not implemented for a given board) 76225d30b7SPhilipp Tomsich 77afa9609eSLukasz Majewskiconfig SPL_BOOTCOUNT_LIMIT 78afa9609eSLukasz Majewski bool "Support bootcount in SPL" 79afa9609eSLukasz Majewski depends on SPL_ENV_SUPPORT 80afa9609eSLukasz Majewski help 81afa9609eSLukasz Majewski On some boards, which use 'falcon' mode, it is necessary to check 82afa9609eSLukasz Majewski and increment the number of boot attempts. Such boards do not 83afa9609eSLukasz Majewski use proper U-Boot for normal boot flow and hence needs those 84afa9609eSLukasz Majewski adjustments to be done in the SPL. 85afa9609eSLukasz Majewski 8624eb39b5SAndrew F. Davisconfig SPL_RAW_IMAGE_SUPPORT 8724eb39b5SAndrew F. Davis bool "Support SPL loading and booting of RAW images" 8824eb39b5SAndrew F. Davis default n if (ARCH_MX6 && (SPL_MMC_SUPPORT || SPL_SATA_SUPPORT)) 89ae9b57b5SAndrew F. Davis default y if !TI_SECURE_DEVICE 9024eb39b5SAndrew F. Davis help 9124eb39b5SAndrew F. Davis SPL will support loading and booting a RAW image when this option 9224eb39b5SAndrew F. Davis is y. If this is not set, SPL will move on to other available 9324eb39b5SAndrew F. Davis boot media to find a suitable image. 9424eb39b5SAndrew F. Davis 95722a6b17SAndrew F. Davisconfig SPL_LEGACY_IMAGE_SUPPORT 96722a6b17SAndrew F. Davis bool "Support SPL loading and booting of Legacy images" 97ae9b57b5SAndrew F. Davis default y if !TI_SECURE_DEVICE 98722a6b17SAndrew F. Davis help 99722a6b17SAndrew F. Davis SPL will support loading and booting Legacy images when this option 100722a6b17SAndrew F. Davis is y. If this is not set, SPL will move on to other available 101722a6b17SAndrew F. Davis boot media to find a suitable image. 102722a6b17SAndrew F. Davis 103c2ae7d82SSimon Glassconfig SPL_SYS_MALLOC_SIMPLE 104c2ae7d82SSimon Glass bool 105c2ae7d82SSimon Glass prompt "Only use malloc_simple functions in the SPL" 106c2ae7d82SSimon Glass help 107c2ae7d82SSimon Glass Say Y here to only use the *_simple malloc functions from 108c2ae7d82SSimon Glass malloc_simple.c, rather then using the versions from dlmalloc.c; 109c2ae7d82SSimon Glass this will make the SPL binary smaller at the cost of more heap 110c2ae7d82SSimon Glass usage as the *_simple malloc functions do not re-use free-ed mem. 111c2ae7d82SSimon Glass 112d60b5f74SPhilipp Tomsichconfig TPL_SYS_MALLOC_SIMPLE 113d60b5f74SPhilipp Tomsich bool 114d60b5f74SPhilipp Tomsich prompt "Only use malloc_simple functions in the TPL" 115d60b5f74SPhilipp Tomsich help 116d60b5f74SPhilipp Tomsich Say Y here to only use the *_simple malloc functions from 117d60b5f74SPhilipp Tomsich malloc_simple.c, rather then using the versions from dlmalloc.c; 118d60b5f74SPhilipp Tomsich this will make the TPL binary smaller at the cost of more heap 119d60b5f74SPhilipp Tomsich usage as the *_simple malloc functions do not re-use free-ed mem. 120d60b5f74SPhilipp Tomsich 121c2ae7d82SSimon Glassconfig SPL_STACK_R 122c2ae7d82SSimon Glass bool "Enable SDRAM location for SPL stack" 123c2ae7d82SSimon Glass help 124c2ae7d82SSimon Glass SPL starts off execution in SRAM and thus typically has only a small 125c2ae7d82SSimon Glass stack available. Since SPL sets up DRAM while in its board_init_f() 126c2ae7d82SSimon Glass function, it is possible for the stack to move there before 127c2ae7d82SSimon Glass board_init_r() is reached. This option enables a special SDRAM 128c2ae7d82SSimon Glass location for the SPL stack. U-Boot SPL switches to this after 129c2ae7d82SSimon Glass board_init_f() completes, and before board_init_r() starts. 130c2ae7d82SSimon Glass 131c2ae7d82SSimon Glassconfig SPL_STACK_R_ADDR 132c2ae7d82SSimon Glass depends on SPL_STACK_R 133c2ae7d82SSimon Glass hex "SDRAM location for SPL stack" 134ff6c3125STom Rini default 0x82000000 if ARCH_OMAP2PLUS 135c2ae7d82SSimon Glass help 136c2ae7d82SSimon Glass Specify the address in SDRAM for the SPL stack. This will be set up 137c2ae7d82SSimon Glass before board_init_r() is called. 138c2ae7d82SSimon Glass 139c2ae7d82SSimon Glassconfig SPL_STACK_R_MALLOC_SIMPLE_LEN 140c2ae7d82SSimon Glass depends on SPL_STACK_R && SPL_SYS_MALLOC_SIMPLE 141c2ae7d82SSimon Glass hex "Size of malloc_simple heap after switching to DRAM SPL stack" 142c2ae7d82SSimon Glass default 0x100000 143c2ae7d82SSimon Glass help 144c2ae7d82SSimon Glass Specify the amount of the stack to use as memory pool for 145c2ae7d82SSimon Glass malloc_simple after switching the stack to DRAM. This may be set 146c2ae7d82SSimon Glass to give board_init_r() a larger heap then the initial heap in 147c2ae7d82SSimon Glass SRAM which is limited to SYS_MALLOC_F_LEN bytes. 148c2ae7d82SSimon Glass 149c2ae7d82SSimon Glassconfig SPL_SEPARATE_BSS 150c2ae7d82SSimon Glass bool "BSS section is in a different memory region from text" 151c2ae7d82SSimon Glass help 152c2ae7d82SSimon Glass Some platforms need a large BSS region in SPL and can provide this 153c2ae7d82SSimon Glass because RAM is already set up. In this case BSS can be moved to RAM. 154c2ae7d82SSimon Glass This option should then be enabled so that the correct device tree 155c2ae7d82SSimon Glass location is used. Normally we put the device tree at the end of BSS 156c2ae7d82SSimon Glass but with this option enabled, it goes at _image_binary_end. 157c2ae7d82SSimon Glass 158aedc08b2SSimon Glassconfig SPL_BANNER_PRINT 159aedc08b2SSimon Glass bool "Enable output of the SPL banner 'U-Boot SPL ...'" 160aedc08b2SSimon Glass default y 161aedc08b2SSimon Glass help 162aedc08b2SSimon Glass If this option is enabled, SPL will print the banner with version 163aedc08b2SSimon Glass info. Disabling this option could be useful to reduce TPL boot time 164aedc08b2SSimon Glass (e.g. approx. 6 ms faster, when output on i.MX6 with 115200 baud). 165aedc08b2SSimon Glass 166aedc08b2SSimon Glassconfig TPL_BANNER_PRINT 167aedc08b2SSimon Glass bool "Enable output of the TPL banner 'U-Boot TPL ...'" 168aedc08b2SSimon Glass default y 1690292bc0dSAnatolij Gustschin help 1700292bc0dSAnatolij Gustschin If this option is enabled, SPL will not print the banner with version 171aedc08b2SSimon Glass info. Disabling this option could be useful to reduce SPL boot time 172aedc08b2SSimon Glass (e.g. approx. 6 ms faster, when output on i.MX6 with 115200 baud). 1730292bc0dSAnatolij Gustschin 174a807ab33SSimon Glassconfig SPL_DISPLAY_PRINT 175a807ab33SSimon Glass bool "Display a board-specific message in SPL" 176a807ab33SSimon Glass help 177a807ab33SSimon Glass If this option is enabled, U-Boot will call the function 178a807ab33SSimon Glass spl_display_print() immediately after displaying the SPL console 179a807ab33SSimon Glass banner ("U-Boot SPL ..."). This function should be provided by 180a807ab33SSimon Glass the board. 181a807ab33SSimon Glass 18238fed8abSSemen Protsenkoconfig SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR 18338fed8abSSemen Protsenko bool "MMC raw mode: by sector" 1841da1938dSFabio Estevam default y if ARCH_SUNXI || ARCH_DAVINCI || ARCH_UNIPHIER || \ 1851da1938dSFabio Estevam ARCH_MX6 || ARCH_MX7 || \ 18638fed8abSSemen Protsenko ARCH_ROCKCHIP || ARCH_MVEBU || ARCH_SOCFPGA || \ 18738fed8abSSemen Protsenko ARCH_AT91 || ARCH_ZYNQ || ARCH_KEYSTONE || OMAP34XX || \ 18838fed8abSSemen Protsenko OMAP44XX || OMAP54XX || AM33XX || AM43XX 18938fed8abSSemen Protsenko help 19038fed8abSSemen Protsenko Use sector number for specifying U-Boot location on MMC/SD in 19138fed8abSSemen Protsenko raw mode. 19238fed8abSSemen Protsenko 19338fed8abSSemen Protsenkoconfig SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR 19438fed8abSSemen Protsenko hex "Address on the MMC to load U-Boot from" 195226498b8STom Rini depends on SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR 19638fed8abSSemen Protsenko default 0x50 if ARCH_SUNXI 19738fed8abSSemen Protsenko default 0x75 if ARCH_DAVINCI 1981da1938dSFabio Estevam default 0x8a if ARCH_MX6 || ARCH_MX7 1998f4d62b4SKever Yang default 0x100 if ARCH_UNIPHIER 20038fed8abSSemen Protsenko default 0x140 if ARCH_MVEBU 20138fed8abSSemen Protsenko default 0x200 if ARCH_SOCFPGA || ARCH_AT91 20238fed8abSSemen Protsenko default 0x300 if ARCH_ZYNQ || ARCH_KEYSTONE || OMAP34XX || OMAP44XX || \ 203586bde93SLokesh Vutla OMAP54XX || AM33XX || AM43XX || ARCH_K3 2048f4d62b4SKever Yang default 0x4000 if ARCH_ROCKCHIP 20538fed8abSSemen Protsenko help 20638fed8abSSemen Protsenko Address on the MMC to load U-Boot from, when the MMC is being used 20738fed8abSSemen Protsenko in raw mode. Units: MMC sectors (1 sector = 512 bytes). 20838fed8abSSemen Protsenko 209949123e3SDalon Westergreenconfig SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION 210949123e3SDalon Westergreen bool "MMC Raw mode: by partition" 211949123e3SDalon Westergreen help 212949123e3SDalon Westergreen Use a partition for loading U-Boot when using MMC/SD in raw mode. 213949123e3SDalon Westergreen 214949123e3SDalon Westergreenconfig SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION 215949123e3SDalon Westergreen hex "Partition to use to load U-Boot from" 216226498b8STom Rini depends on SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION 217949123e3SDalon Westergreen default 1 218949123e3SDalon Westergreen help 219949123e3SDalon Westergreen Partition on the MMC to load U-Boot from when the MMC is being 220949123e3SDalon Westergreen used in raw mode 221949123e3SDalon Westergreen 222f0fb4fa7SDalon Westergreenconfig SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION_TYPE 223f0fb4fa7SDalon Westergreen bool "MMC raw mode: by partition type" 224226498b8STom Rini depends on DOS_PARTITION && SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION 225f0fb4fa7SDalon Westergreen help 226f0fb4fa7SDalon Westergreen Use partition type for specifying U-Boot partition on MMC/SD in 227f0fb4fa7SDalon Westergreen raw mode. U-Boot will be loaded from the first partition of this 228f0fb4fa7SDalon Westergreen type to be found. 229f0fb4fa7SDalon Westergreen 230f0fb4fa7SDalon Westergreenconfig SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION_TYPE 231f0fb4fa7SDalon Westergreen hex "Partition Type on the MMC to load U-Boot from" 232226498b8STom Rini depends on SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION_TYPE 233f0fb4fa7SDalon Westergreen help 234f0fb4fa7SDalon Westergreen Partition Type on the MMC to load U-Boot from, when the MMC is being 235f0fb4fa7SDalon Westergreen used in raw mode. 236f0fb4fa7SDalon Westergreen 23711bde1cdSSimon Glassconfig SPL_CRC32_SUPPORT 23811bde1cdSSimon Glass bool "Support CRC32" 23911bde1cdSSimon Glass depends on SPL_FIT 24011bde1cdSSimon Glass help 24111bde1cdSSimon Glass Enable this to support CRC32 in FIT images within SPL. This is a 24211bde1cdSSimon Glass 32-bit checksum value that can be used to verify images. This is 24311bde1cdSSimon Glass the least secure type of checksum, suitable for detected 24411bde1cdSSimon Glass accidental image corruption. For secure applications you should 24511bde1cdSSimon Glass consider SHA1 or SHA256. 24611bde1cdSSimon Glass 24711bde1cdSSimon Glassconfig SPL_MD5_SUPPORT 24811bde1cdSSimon Glass bool "Support MD5" 24911bde1cdSSimon Glass depends on SPL_FIT 25011bde1cdSSimon Glass help 25111bde1cdSSimon Glass Enable this to support MD5 in FIT images within SPL. An MD5 25211bde1cdSSimon Glass checksum is a 128-bit hash value used to check that the image 25311bde1cdSSimon Glass contents have not been corrupted. Note that MD5 is not considered 25411bde1cdSSimon Glass secure as it is possible (with a brute-force attack) to adjust the 25511bde1cdSSimon Glass image while still retaining the same MD5 hash value. For secure 25611bde1cdSSimon Glass applications where images may be changed maliciously, you should 25711bde1cdSSimon Glass consider SHA1 or SHA256. 25811bde1cdSSimon Glass 25911bde1cdSSimon Glassconfig SPL_SHA1_SUPPORT 26011bde1cdSSimon Glass bool "Support SHA1" 26111bde1cdSSimon Glass depends on SPL_FIT 262089df18bSTom Rini select SHA1 26311bde1cdSSimon Glass help 26411bde1cdSSimon Glass Enable this to support SHA1 in FIT images within SPL. A SHA1 26511bde1cdSSimon Glass checksum is a 160-bit (20-byte) hash value used to check that the 26611bde1cdSSimon Glass image contents have not been corrupted or maliciously altered. 26711bde1cdSSimon Glass While SHA1 is fairly secure it is coming to the end of its life 26811bde1cdSSimon Glass due to the expanding computing power avaiable to brute-force 26911bde1cdSSimon Glass attacks. For more security, consider SHA256. 27011bde1cdSSimon Glass 27111bde1cdSSimon Glassconfig SPL_SHA256_SUPPORT 27211bde1cdSSimon Glass bool "Support SHA256" 27311bde1cdSSimon Glass depends on SPL_FIT 274089df18bSTom Rini select SHA256 27511bde1cdSSimon Glass help 27611bde1cdSSimon Glass Enable this to support SHA256 in FIT images within SPL. A SHA256 27711bde1cdSSimon Glass checksum is a 256-bit (32-byte) hash value used to check that the 27811bde1cdSSimon Glass image contents have not been corrupted. SHA256 is recommended for 27911bde1cdSSimon Glass use in secure applications since (as at 2016) there is no known 28011bde1cdSSimon Glass feasible attack that could produce a 'collision' with differing 28111bde1cdSSimon Glass input data. Use this for the highest security. Note that only the 28211bde1cdSSimon Glass SHA256 variant is supported: SHA512 and others are not currently 28311bde1cdSSimon Glass supported in U-Boot. 28411bde1cdSSimon Glass 285337bbb62SPhilipp Tomsichconfig SPL_FIT_IMAGE_TINY 286337bbb62SPhilipp Tomsich bool "Remove functionality from SPL FIT loading to reduce size" 287337bbb62SPhilipp Tomsich depends on SPL_FIT 2886f796a9bSIcenowy Zheng default y if MACH_SUN50I || MACH_SUN50I_H5 || MACH_SUN50I_H6 289f6282cddSYe Li default y if ARCH_IMX8M 290337bbb62SPhilipp Tomsich help 291337bbb62SPhilipp Tomsich Enable this to reduce the size of the FIT image loading code 292337bbb62SPhilipp Tomsich in SPL, if space for the SPL binary is very tight. 293337bbb62SPhilipp Tomsich 294337bbb62SPhilipp Tomsich This removes the detection of image types (which forces the 295337bbb62SPhilipp Tomsich first image to be treated as having a U-Boot style calling 296337bbb62SPhilipp Tomsich convention) and skips the recording of each loaded payload 297337bbb62SPhilipp Tomsich (i.e. loadable) into the FDT (modifying the loaded FDT to 298337bbb62SPhilipp Tomsich ensure this information is available to the next image 299337bbb62SPhilipp Tomsich invoked). 300337bbb62SPhilipp Tomsich 3015e148df9SSimon Glassconfig SPL_CPU_SUPPORT 3025e148df9SSimon Glass bool "Support CPU drivers" 3035e148df9SSimon Glass help 3045e148df9SSimon Glass Enable this to support CPU drivers in SPL. These drivers can set 3055e148df9SSimon Glass up CPUs and provide information about them such as the model and 3065e148df9SSimon Glass name. This can be useful in SPL since setting up the CPUs earlier 3075e148df9SSimon Glass may improve boot performance. Enable this option to build the 3085e148df9SSimon Glass drivers in drivers/cpu as part of an SPL build. 3095e148df9SSimon Glass 31011bde1cdSSimon Glassconfig SPL_CRYPTO_SUPPORT 31111bde1cdSSimon Glass bool "Support crypto drivers" 31211bde1cdSSimon Glass help 31311bde1cdSSimon Glass Enable crypto drivers in SPL. These drivers can be used to 31411bde1cdSSimon Glass accelerate secure boot processing in secure applications. Enable 31511bde1cdSSimon Glass this option to build the drivers in drivers/crypto as part of an 31611bde1cdSSimon Glass SPL build. 31711bde1cdSSimon Glass 31811bde1cdSSimon Glassconfig SPL_HASH_SUPPORT 31911bde1cdSSimon Glass bool "Support hashing drivers" 320089df18bSTom Rini select SHA1 321089df18bSTom Rini select SHA256 32211bde1cdSSimon Glass help 32311bde1cdSSimon Glass Enable hashing drivers in SPL. These drivers can be used to 32411bde1cdSSimon Glass accelerate secure boot processing in secure applications. Enable 32511bde1cdSSimon Glass this option to build system-specific drivers for hash acceleration 32611bde1cdSSimon Glass as part of an SPL build. 32711bde1cdSSimon Glass 3282d424eb0SSimon Glassconfig TPL_HASH_SUPPORT 3292d424eb0SSimon Glass bool "Support hashing drivers in TPL" 3302d424eb0SSimon Glass select SHA1 3312d424eb0SSimon Glass select SHA256 3322d424eb0SSimon Glass help 3332d424eb0SSimon Glass Enable hashing drivers in SPL. These drivers can be used to 3342d424eb0SSimon Glass accelerate secure boot processing in secure applications. Enable 3352d424eb0SSimon Glass this option to build system-specific drivers for hash acceleration 3362d424eb0SSimon Glass as part of an SPL build. 3372d424eb0SSimon Glass 33811bde1cdSSimon Glassconfig SPL_DMA_SUPPORT 33911bde1cdSSimon Glass bool "Support DMA drivers" 34011bde1cdSSimon Glass help 34111bde1cdSSimon Glass Enable DMA (direct-memory-access) drivers in SPL. These drivers 34211bde1cdSSimon Glass can be used to handle memory-to-peripheral data transfer without 34311bde1cdSSimon Glass the CPU moving the data. Enable this option to build the drivers 34411bde1cdSSimon Glass in drivers/dma as part of an SPL build. 34511bde1cdSSimon Glass 34611bde1cdSSimon Glassconfig SPL_DRIVERS_MISC_SUPPORT 34711bde1cdSSimon Glass bool "Support misc drivers" 34811bde1cdSSimon Glass help 34911bde1cdSSimon Glass Enable miscellaneous drivers in SPL. These drivers perform various 35011bde1cdSSimon Glass tasks that don't fall nicely into other categories, Enable this 35111bde1cdSSimon Glass option to build the drivers in drivers/misc as part of an SPL 35211bde1cdSSimon Glass build, for those that support building in SPL (not all drivers do). 35311bde1cdSSimon Glass 35411bde1cdSSimon Glassconfig SPL_ENV_SUPPORT 35511bde1cdSSimon Glass bool "Support an environment" 35611bde1cdSSimon Glass help 35711bde1cdSSimon Glass Enable environment support in SPL. The U-Boot environment provides 35811bde1cdSSimon Glass a number of settings (essentially name/value pairs) which can 35911bde1cdSSimon Glass control many aspects of U-Boot's operation. Normally this is not 36011bde1cdSSimon Glass needed in SPL as it has a much simpler task with less 36111bde1cdSSimon Glass configuration. But some boards use this to support 'Falcon' boot 36211bde1cdSSimon Glass on EXT2 and FAT, where SPL boots directly into Linux without 36300caae6dSSimon Glass starting U-Boot first. Enabling this option will make env_get() 364382bee57SSimon Glass and env_set() available in SPL. 36511bde1cdSSimon Glass 366d2d9bdfcSB, Raviconfig SPL_SAVEENV 367d2d9bdfcSB, Ravi bool "Support save environment" 368226498b8STom Rini depends on SPL_ENV_SUPPORT 369d6400c3fSJean-Jacques Hiblot select SPL_MMC_WRITE if ENV_IS_IN_MMC 370d2d9bdfcSB, Ravi help 371d2d9bdfcSB, Ravi Enable save environment support in SPL after setenv. By default 372d2d9bdfcSB, Ravi the saveenv option is not provided in SPL, but some boards need 373d2d9bdfcSB, Ravi this support in 'Falcon' boot, where SPL need to boot from 374d2d9bdfcSB, Ravi different images based on environment variable set by OS. For 375d2d9bdfcSB, Ravi example OS may set "reboot_image" environment variable to 376d2d9bdfcSB, Ravi "recovery" inorder to boot recovery image by SPL. The SPL read 377d2d9bdfcSB, Ravi "reboot_image" and act accordingly and change the reboot_image 378919d25c9SShyam Saini to default mode using setenv and save the environment. 379d2d9bdfcSB, Ravi 38011bde1cdSSimon Glassconfig SPL_ETH_SUPPORT 38111bde1cdSSimon Glass bool "Support Ethernet" 38211bde1cdSSimon Glass depends on SPL_ENV_SUPPORT 38311bde1cdSSimon Glass help 38411bde1cdSSimon Glass Enable access to the network subsystem and associated Ethernet 38511bde1cdSSimon Glass drivers in SPL. This permits SPL to load U-Boot over an Ethernet 38611bde1cdSSimon Glass link rather than from an on-board peripheral. Environment support 38711bde1cdSSimon Glass is required since the network stack uses a number of environment 38811bde1cdSSimon Glass variables. See also SPL_NET_SUPPORT. 38911bde1cdSSimon Glass 390f4b40924STien Fong Cheeconfig SPL_FS_EXT4 39111bde1cdSSimon Glass bool "Support EXT filesystems" 39211bde1cdSSimon Glass help 39311bde1cdSSimon Glass Enable support for EXT2/3/4 filesystems with SPL. This permits 39411bde1cdSSimon Glass U-Boot (or Linux in Falcon mode) to be loaded from an EXT 39511bde1cdSSimon Glass filesystem from within SPL. Support for the underlying block 39611bde1cdSSimon Glass device (e.g. MMC or USB) must be enabled separately. 39711bde1cdSSimon Glass 3980c3a9ed4STien Fong Cheeconfig SPL_FS_FAT 39911bde1cdSSimon Glass bool "Support FAT filesystems" 400eedfb89eSSekhar Nori select FS_FAT 40111bde1cdSSimon Glass help 40211bde1cdSSimon Glass Enable support for FAT and VFAT filesystems with SPL. This 40311bde1cdSSimon Glass permits U-Boot (or Linux in Falcon mode) to be loaded from a FAT 40411bde1cdSSimon Glass filesystem from within SPL. Support for the underlying block 40511bde1cdSSimon Glass device (e.g. MMC or USB) must be enabled separately. 40611bde1cdSSimon Glass 407d8c3ea99STien Fong Cheeconfig SPL_FAT_WRITE 408d8c3ea99STien Fong Chee bool "Support write for FAT filesystems" 409d8c3ea99STien Fong Chee help 410d8c3ea99STien Fong Chee Enable write support for FAT and VFAT filesystems with SPL. 411d8c3ea99STien Fong Chee Support for the underlying block device (e.g. MMC or USB) must be 412d8c3ea99STien Fong Chee enabled separately. 413d8c3ea99STien Fong Chee 41411bde1cdSSimon Glassconfig SPL_FPGA_SUPPORT 41511bde1cdSSimon Glass bool "Support FPGAs" 41611bde1cdSSimon Glass help 41711bde1cdSSimon Glass Enable support for FPGAs in SPL. Field-programmable Gate Arrays 41811bde1cdSSimon Glass provide software-configurable hardware which is typically used to 41911bde1cdSSimon Glass implement peripherals (such as UARTs, LCD displays, MMC) or 42011bde1cdSSimon Glass accelerate custom processing functions, such as image processing 42111bde1cdSSimon Glass or machine learning. Sometimes it is useful to program the FPGA 42211bde1cdSSimon Glass as early as possible during boot, and this option can enable that 42311bde1cdSSimon Glass within SPL. 42411bde1cdSSimon Glass 42511bde1cdSSimon Glassconfig SPL_GPIO_SUPPORT 4262d424eb0SSimon Glass bool "Support GPIO in SPL" 42711bde1cdSSimon Glass help 42811bde1cdSSimon Glass Enable support for GPIOs (General-purpose Input/Output) in SPL. 42911bde1cdSSimon Glass GPIOs allow U-Boot to read the state of an input line (high or 43011bde1cdSSimon Glass low) and set the state of an output line. This can be used to 43111bde1cdSSimon Glass drive LEDs, control power to various system parts and read user 43211bde1cdSSimon Glass input. GPIOs can be useful in SPL to enable a 'sign-of-life' LED, 43311bde1cdSSimon Glass for example. Enable this option to build the drivers in 43411bde1cdSSimon Glass drivers/gpio as part of an SPL build. 43511bde1cdSSimon Glass 43611bde1cdSSimon Glassconfig SPL_I2C_SUPPORT 43711bde1cdSSimon Glass bool "Support I2C" 43811bde1cdSSimon Glass help 43911bde1cdSSimon Glass Enable support for the I2C (Inter-Integrated Circuit) bus in SPL. 44011bde1cdSSimon Glass I2C works with a clock and data line which can be driven by a 44111bde1cdSSimon Glass one or more masters or slaves. It is a fairly complex bus but is 44211bde1cdSSimon Glass widely used as it only needs two lines for communication. Speeds of 44311bde1cdSSimon Glass 400kbps are typical but up to 3.4Mbps is supported by some 44411bde1cdSSimon Glass hardware. I2C can be useful in SPL to configure power management 44511bde1cdSSimon Glass ICs (PMICs) before raising the CPU clock speed, for example. 44611bde1cdSSimon Glass Enable this option to build the drivers in drivers/i2c as part of 44711bde1cdSSimon Glass an SPL build. 44811bde1cdSSimon Glass 44911bde1cdSSimon Glassconfig SPL_LIBCOMMON_SUPPORT 45011bde1cdSSimon Glass bool "Support common libraries" 45111bde1cdSSimon Glass help 45211bde1cdSSimon Glass Enable support for common U-Boot libraries within SPL. These 45311bde1cdSSimon Glass libraries include common code to deal with U-Boot images, 45411bde1cdSSimon Glass environment and USB, for example. This option is enabled on many 45511bde1cdSSimon Glass boards. Enable this option to build the code in common/ as part of 45611bde1cdSSimon Glass an SPL build. 45711bde1cdSSimon Glass 45811bde1cdSSimon Glassconfig SPL_LIBDISK_SUPPORT 45900416704SSimon Goldschmidt bool "Support disk partitions" 46091ff6865STom Rini select PARTITIONS 46111bde1cdSSimon Glass help 46211bde1cdSSimon Glass Enable support for disk partitions within SPL. 'Disk' is something 46311bde1cdSSimon Glass of a misnomer as it includes non-spinning media such as flash (as 46411bde1cdSSimon Glass used in MMC and USB sticks). Partitions provide a way for a disk 46511bde1cdSSimon Glass to be split up into separate regions, with a partition table placed 46611bde1cdSSimon Glass at the start or end which describes the location and size of each 46711bde1cdSSimon Glass 'partition'. These partitions are typically uses as individual block 46811bde1cdSSimon Glass devices, typically with an EXT2 or FAT filesystem in each. This 46911bde1cdSSimon Glass option enables whatever partition support has been enabled in 47011bde1cdSSimon Glass U-Boot to also be used in SPL. It brings in the code in disk/. 47111bde1cdSSimon Glass 47211bde1cdSSimon Glassconfig SPL_LIBGENERIC_SUPPORT 47311bde1cdSSimon Glass bool "Support generic libraries" 47411bde1cdSSimon Glass help 47511bde1cdSSimon Glass Enable support for generic U-Boot libraries within SPL. These 47611bde1cdSSimon Glass libraries include generic code to deal with device tree, hashing, 47711bde1cdSSimon Glass printf(), compression and the like. This option is enabled on many 47811bde1cdSSimon Glass boards. Enable this option to build the code in lib/ as part of an 47911bde1cdSSimon Glass SPL build. 48011bde1cdSSimon Glass 48188027419SLokesh Vutlaconfig SPL_DM_MAILBOX 48288027419SLokesh Vutla bool "Support Mailbox" 48388027419SLokesh Vutla help 48488027419SLokesh Vutla Enable support for Mailbox within SPL. This enable the inter 48588027419SLokesh Vutla processor communication protocols tobe used within SPL. Enable 48688027419SLokesh Vutla this option to build the drivers in drivers/mailbox as part of 48788027419SLokesh Vutla SPL build. 48888027419SLokesh Vutla 48911bde1cdSSimon Glassconfig SPL_MMC_SUPPORT 49011bde1cdSSimon Glass bool "Support MMC" 491226498b8STom Rini depends on MMC 49291ff6865STom Rini select HAVE_BLOCK_DEVICE 49311bde1cdSSimon Glass help 49411bde1cdSSimon Glass Enable support for MMC (Multimedia Card) within SPL. This enables 49511bde1cdSSimon Glass the MMC protocol implementation and allows any enabled drivers to 49611bde1cdSSimon Glass be used within SPL. MMC can be used with or without disk partition 49711bde1cdSSimon Glass support depending on the application (SPL_LIBDISK_SUPPORT). Enable 49811bde1cdSSimon Glass this option to build the drivers in drivers/mmc as part of an SPL 49911bde1cdSSimon Glass build. 50011bde1cdSSimon Glass 501d6400c3fSJean-Jacques Hiblotconfig SPL_MMC_WRITE 502d6400c3fSJean-Jacques Hiblot bool "MMC/SD/SDIO card support for write operations in SPL" 503d6400c3fSJean-Jacques Hiblot depends on SPL_MMC_SUPPORT 504d6400c3fSJean-Jacques Hiblot default n 505d6400c3fSJean-Jacques Hiblot help 506d6400c3fSJean-Jacques Hiblot Enable write access to MMC and SD Cards in SPL 507d6400c3fSJean-Jacques Hiblot 508d6400c3fSJean-Jacques Hiblot 50911bde1cdSSimon Glassconfig SPL_MPC8XXX_INIT_DDR_SUPPORT 51011bde1cdSSimon Glass bool "Support MPC8XXX DDR init" 51111bde1cdSSimon Glass help 51211bde1cdSSimon Glass Enable support for DDR-SDRAM (double-data-rate synchronous dynamic 51311bde1cdSSimon Glass random-access memory) on the MPC8XXX family within SPL. This 51411bde1cdSSimon Glass allows DRAM to be set up before loading U-Boot into that DRAM, 51511bde1cdSSimon Glass where it can run. 51611bde1cdSSimon Glass 51711bde1cdSSimon Glassconfig SPL_MTD_SUPPORT 51811bde1cdSSimon Glass bool "Support MTD drivers" 51911bde1cdSSimon Glass help 52011bde1cdSSimon Glass Enable support for MTD (Memory Technology Device) within SPL. MTD 52111bde1cdSSimon Glass provides a block interface over raw NAND and can also be used with 52211bde1cdSSimon Glass SPI flash. This allows SPL to load U-Boot from supported MTD 52311bde1cdSSimon Glass devices. See SPL_NAND_SUPPORT and SPL_ONENAND_SUPPORT for how 52411bde1cdSSimon Glass to enable specific MTD drivers. 52511bde1cdSSimon Glass 52611bde1cdSSimon Glassconfig SPL_MUSB_NEW_SUPPORT 52711bde1cdSSimon Glass bool "Support new Mentor Graphics USB" 52811bde1cdSSimon Glass help 52911bde1cdSSimon Glass Enable support for Mentor Graphics USB in SPL. This is a new 53011bde1cdSSimon Glass driver used by some boards. Enable this option to build 53111bde1cdSSimon Glass the drivers in drivers/usb/musb-new as part of an SPL build. The 53211bde1cdSSimon Glass old drivers are in drivers/usb/musb. 53311bde1cdSSimon Glass 53411bde1cdSSimon Glassconfig SPL_NAND_SUPPORT 53511bde1cdSSimon Glass bool "Support NAND flash" 53611bde1cdSSimon Glass help 53711bde1cdSSimon Glass Enable support for NAND (Negative AND) flash in SPL. NAND flash 53811bde1cdSSimon Glass can be used to allow SPL to load U-Boot from supported devices. 539a430fa06SMiquel Raynal This enables the drivers in drivers/mtd/nand/raw as part of an SPL 54011bde1cdSSimon Glass build. 54111bde1cdSSimon Glass 54211bde1cdSSimon Glassconfig SPL_NET_SUPPORT 54311bde1cdSSimon Glass bool "Support networking" 54411bde1cdSSimon Glass help 54511bde1cdSSimon Glass Enable support for network devices (such as Ethernet) in SPL. 54611bde1cdSSimon Glass This permits SPL to load U-Boot over a network link rather than 54711bde1cdSSimon Glass from an on-board peripheral. Environment support is required since 54811bde1cdSSimon Glass the network stack uses a number of environment variables. See also 54911bde1cdSSimon Glass SPL_ETH_SUPPORT. 55011bde1cdSSimon Glass 55111bde1cdSSimon Glassif SPL_NET_SUPPORT 55211bde1cdSSimon Glassconfig SPL_NET_VCI_STRING 55311bde1cdSSimon Glass string "BOOTP Vendor Class Identifier string sent by SPL" 55411bde1cdSSimon Glass help 55511bde1cdSSimon Glass As defined by RFC 2132 the vendor class identifier field can be 55611bde1cdSSimon Glass sent by the client to identify the vendor type and configuration 55711bde1cdSSimon Glass of a client. This is often used in practice to allow for the DHCP 55811bde1cdSSimon Glass server to specify different files to load depending on if the ROM, 55911bde1cdSSimon Glass SPL or U-Boot itself makes the request 56011bde1cdSSimon Glassendif # if SPL_NET_SUPPORT 56111bde1cdSSimon Glass 56211bde1cdSSimon Glassconfig SPL_NO_CPU_SUPPORT 56311bde1cdSSimon Glass bool "Drop CPU code in SPL" 56411bde1cdSSimon Glass help 56511bde1cdSSimon Glass This is specific to the ARM926EJ-S CPU. It disables the standard 56611bde1cdSSimon Glass start.S start-up code, presumably so that a replacement can be 56711bde1cdSSimon Glass used on that CPU. You should not enable it unless you know what 56811bde1cdSSimon Glass you are doing. 56911bde1cdSSimon Glass 57011bde1cdSSimon Glassconfig SPL_NOR_SUPPORT 57111bde1cdSSimon Glass bool "Support NOR flash" 57211bde1cdSSimon Glass help 57311bde1cdSSimon Glass Enable support for loading U-Boot from memory-mapped NOR (Negative 57411bde1cdSSimon Glass OR) flash in SPL. NOR flash is slow to write but fast to read, and 57511bde1cdSSimon Glass a memory-mapped device makes it very easy to access. Loading from 57611bde1cdSSimon Glass NOR is typically achieved with just a memcpy(). 57711bde1cdSSimon Glass 578c6d9e9dbSVikas Manochaconfig SPL_XIP_SUPPORT 579c6d9e9dbSVikas Manocha bool "Support XIP" 580c6d9e9dbSVikas Manocha depends on SPL 581c6d9e9dbSVikas Manocha help 582c6d9e9dbSVikas Manocha Enable support for execute in place of U-Boot or kernel image. There 583c6d9e9dbSVikas Manocha is no need to copy image from flash to ram if flash supports execute 584c6d9e9dbSVikas Manocha in place. Its very useful in systems having enough flash but not 585c6d9e9dbSVikas Manocha enough ram to load the image. 586c6d9e9dbSVikas Manocha 58711bde1cdSSimon Glassconfig SPL_ONENAND_SUPPORT 58811bde1cdSSimon Glass bool "Support OneNAND flash" 58911bde1cdSSimon Glass help 59011bde1cdSSimon Glass Enable support for OneNAND (Negative AND) flash in SPL. OneNAND is 59111bde1cdSSimon Glass a type of NAND flash and therefore can be used to allow SPL to 59211bde1cdSSimon Glass load U-Boot from supported devices. This enables the drivers in 59311bde1cdSSimon Glass drivers/mtd/onenand as part of an SPL build. 59411bde1cdSSimon Glass 595c20ae2ffSHeiko Schocherconfig SPL_OS_BOOT 596c20ae2ffSHeiko Schocher bool "Activate Falcon Mode" 597226498b8STom Rini depends on !TI_SECURE_DEVICE 598c20ae2ffSHeiko Schocher default n 599c20ae2ffSHeiko Schocher help 600c20ae2ffSHeiko Schocher Enable booting directly to an OS from SPL. 601c20ae2ffSHeiko Schocher for more info read doc/README.falcon 602c20ae2ffSHeiko Schocher 60329d3bc79SHeiko Schocherif SPL_OS_BOOT 60429d3bc79SHeiko Schocherconfig SYS_OS_BASE 60529d3bc79SHeiko Schocher hex "addr, where OS is found" 606226498b8STom Rini depends on SPL_NOR_SUPPORT 60729d3bc79SHeiko Schocher help 60829d3bc79SHeiko Schocher Specify the address, where the OS image is found, which 60929d3bc79SHeiko Schocher gets booted. 61029d3bc79SHeiko Schocher 61129d3bc79SHeiko Schocherendif # SPL_OS_BOOT 61229d3bc79SHeiko Schocher 6137550dbe3SYork Sunconfig SPL_PAYLOAD 6147550dbe3SYork Sun string "SPL payload" 6157550dbe3SYork Sun default "tpl/u-boot-with-tpl.bin" if TPL 6167550dbe3SYork Sun default "u-boot.bin" 6177550dbe3SYork Sun help 6182dcfa058SChris Packham Payload for SPL boot. For backward compatibility, default to 6197550dbe3SYork Sun u-boot.bin, i.e. RAW image without any header. In case of 6207550dbe3SYork Sun TPL, tpl/u-boot-with-tpl.bin. For new boards, suggest to 6217550dbe3SYork Sun use u-boot.img. 6227550dbe3SYork Sun 623d50d6817SSekhar Noriconfig SPL_PCI 6242446b6b8SSimon Glass bool "Support PCI drivers" 6252446b6b8SSimon Glass help 6262446b6b8SSimon Glass Enable support for PCI in SPL. For platforms that need PCI to boot, 6272446b6b8SSimon Glass or must perform some init using PCI in SPL, this provides the 6282446b6b8SSimon Glass necessary driver support. This enables the drivers in drivers/pci 6292446b6b8SSimon Glass as part of an SPL build. 6302446b6b8SSimon Glass 631bbe41abfSSimon Glassconfig SPL_PCH_SUPPORT 632bbe41abfSSimon Glass bool "Support PCH drivers" 633bbe41abfSSimon Glass help 634bbe41abfSSimon Glass Enable support for PCH (Platform Controller Hub) devices in SPL. 635bbe41abfSSimon Glass These are used to set up GPIOs and the SPI peripheral early in 636bbe41abfSSimon Glass boot. This enables the drivers in drivers/pch as part of an SPL 637bbe41abfSSimon Glass build. 638bbe41abfSSimon Glass 63911bde1cdSSimon Glassconfig SPL_POST_MEM_SUPPORT 64011bde1cdSSimon Glass bool "Support POST drivers" 64111bde1cdSSimon Glass help 64211bde1cdSSimon Glass Enable support for POST (Power-on Self Test) in SPL. POST is a 64311bde1cdSSimon Glass procedure that checks that the hardware (CPU or board) appears to 64411bde1cdSSimon Glass be functionally correctly. It is a sanity check that can be 64511bde1cdSSimon Glass performed before booting. This enables the drivers in post/drivers 64611bde1cdSSimon Glass as part of an SPL build. 64711bde1cdSSimon Glass 648bfc6bae8SLey Foon Tanconfig SPL_DM_RESET 6490e373c0aSPatrick Delaunay bool "Support reset drivers" 6500e373c0aSPatrick Delaunay depends on SPL 6510e373c0aSPatrick Delaunay help 6520e373c0aSPatrick Delaunay Enable support for reset control in SPL. 6530e373c0aSPatrick Delaunay That can be useful in SPL to handle IP reset in driver, as in U-Boot, 6540e373c0aSPatrick Delaunay by using the generic reset API provided by driver model. 6550e373c0aSPatrick Delaunay This enables the drivers in drivers/reset as part of an SPL build. 6560e373c0aSPatrick Delaunay 65711bde1cdSSimon Glassconfig SPL_POWER_SUPPORT 65811bde1cdSSimon Glass bool "Support power drivers" 65911bde1cdSSimon Glass help 66011bde1cdSSimon Glass Enable support for power control in SPL. This includes support 66111bde1cdSSimon Glass for PMICs (Power-management Integrated Circuits) and some of the 66211bde1cdSSimon Glass features provided by PMICs. In particular, voltage regulators can 66311bde1cdSSimon Glass be used to enable/disable power and vary its voltage. That can be 66411bde1cdSSimon Glass useful in SPL to turn on boot peripherals and adjust CPU voltage 66511bde1cdSSimon Glass so that the clock speed can be increased. This enables the drivers 66611bde1cdSSimon Glass in drivers/power, drivers/power/pmic and drivers/power/regulator 66711bde1cdSSimon Glass as part of an SPL build. 66811bde1cdSSimon Glass 669e13278c9SPeng Fanconfig SPL_POWER_DOMAIN 670e13278c9SPeng Fan bool "Support power domain drivers" 671e13278c9SPeng Fan help 672e13278c9SPeng Fan Enable support for power domain control in SPL. Many SoCs allow 673e13278c9SPeng Fan power to be applied to or removed from portions of the SoC (power 674e13278c9SPeng Fan domains). This may be used to save power. This API provides the 675e13278c9SPeng Fan means to control such power management hardware. This enables 676e13278c9SPeng Fan the drivers in drivers/power/domain as part of a SPL build. 677e13278c9SPeng Fan 67822802f4eSStefan Agnerconfig SPL_RAM_SUPPORT 67922802f4eSStefan Agner bool "Support booting from RAM" 68022802f4eSStefan Agner default y if MICROBLAZE || ARCH_SOCFPGA || TEGRA || ARCH_ZYNQ 68122802f4eSStefan Agner help 68222802f4eSStefan Agner Enable booting of an image in RAM. The image can be preloaded or 68322802f4eSStefan Agner it can be loaded by SPL directly into RAM (e.g. using USB). 68422802f4eSStefan Agner 685f417d40fSStefan Agnerconfig SPL_RAM_DEVICE 686f417d40fSStefan Agner bool "Support booting from preloaded image in RAM" 68722802f4eSStefan Agner depends on SPL_RAM_SUPPORT 688f417d40fSStefan Agner default y if MICROBLAZE || ARCH_SOCFPGA || TEGRA || ARCH_ZYNQ 689f417d40fSStefan Agner help 690f417d40fSStefan Agner Enable booting of an image already loaded in RAM. The image has to 691f417d40fSStefan Agner be already in memory when SPL takes over, e.g. loaded by the boot 692f417d40fSStefan Agner ROM. 693f417d40fSStefan Agner 69408c45314SLokesh Vutlaconfig SPL_REMOTEPROC 69508c45314SLokesh Vutla bool "Support REMOTEPROCS" 69608c45314SLokesh Vutla help 69708c45314SLokesh Vutla Enable support for REMOTEPROCs in SPL. This permits to load 69808c45314SLokesh Vutla a remote processor firmware in SPL. 69908c45314SLokesh Vutla 70030bf8a0dSSimon Glassconfig SPL_RTC_SUPPORT 70130bf8a0dSSimon Glass bool "Support RTC drivers" 70230bf8a0dSSimon Glass help 70330bf8a0dSSimon Glass Enable RTC (Real-time Clock) support in SPL. This includes support 70430bf8a0dSSimon Glass for reading and setting the time. Some RTC devices also have some 70530bf8a0dSSimon Glass non-volatile (battery-backed) memory which is accessible if 70630bf8a0dSSimon Glass needed. This enables the drivers in drivers/rtc as part of an SPL 70730bf8a0dSSimon Glass build. 70830bf8a0dSSimon Glass 70911bde1cdSSimon Glassconfig SPL_SATA_SUPPORT 71011bde1cdSSimon Glass bool "Support loading from SATA" 71111bde1cdSSimon Glass help 71211bde1cdSSimon Glass Enable support for SATA (Serial AT attachment) in SPL. This allows 71311bde1cdSSimon Glass use of SATA devices such as hard drives and flash drivers for 71411bde1cdSSimon Glass loading U-Boot. SATA is used in higher-end embedded systems and 71511bde1cdSSimon Glass can provide higher performance than MMC , at somewhat higher 71611bde1cdSSimon Glass expense and power consumption. This enables loading from SATA 71711bde1cdSSimon Glass using a configured device. 71811bde1cdSSimon Glass 71911bde1cdSSimon Glassconfig SPL_SERIAL_SUPPORT 72011bde1cdSSimon Glass bool "Support serial" 72114ad44abSAlex Kiernan select SPL_PRINTF 72214ad44abSAlex Kiernan select SPL_STRTO 72311bde1cdSSimon Glass help 72411bde1cdSSimon Glass Enable support for serial in SPL. This allows use of a serial UART 72511bde1cdSSimon Glass for displaying messages while SPL is running. It also brings in 72611bde1cdSSimon Glass printf() and panic() functions. This should normally be enabled 72711bde1cdSSimon Glass unless there are space reasons not to. Even then, consider 72811bde1cdSSimon Glass enabling USE_TINY_PRINTF which is a small printf() version. 72911bde1cdSSimon Glass 73011bde1cdSSimon Glassconfig SPL_SPI_FLASH_SUPPORT 73111bde1cdSSimon Glass bool "Support SPI flash drivers" 73211bde1cdSSimon Glass help 73311bde1cdSSimon Glass Enable support for using SPI flash in SPL, and loading U-Boot from 73411bde1cdSSimon Glass SPI flash. SPI flash (Serial Peripheral Bus flash) is named after 73511bde1cdSSimon Glass the SPI bus that is used to connect it to a system. It is a simple 73611bde1cdSSimon Glass but fast bidirectional 4-wire bus (clock, chip select and two data 73711bde1cdSSimon Glass lines). This enables the drivers in drivers/mtd/spi as part of an 73811bde1cdSSimon Glass SPL build. This normally requires SPL_SPI_SUPPORT. 73911bde1cdSSimon Glass 7400c6f187cSVignesh Rif SPL_SPI_FLASH_SUPPORT 7410c6f187cSVignesh R 742778572d7SVignesh Rconfig SPL_SPI_FLASH_TINY 743778572d7SVignesh R bool "Enable low footprint SPL SPI Flash support" 744778572d7SVignesh R depends on !SPI_FLASH_BAR 74572875978SVignesh R default y if SPI_FLASH 746778572d7SVignesh R help 747778572d7SVignesh R Enable lightweight SPL SPI Flash support that supports just reading 748778572d7SVignesh R data/images from flash. No support to write/erase flash. Enable 749778572d7SVignesh R this if you have SPL size limitations and don't need full 750778572d7SVignesh R fledged SPI flash support. 751778572d7SVignesh R 7520c6f187cSVignesh Rconfig SPL_SPI_FLASH_SFDP_SUPPORT 7530c6f187cSVignesh R bool "SFDP table parsing support for SPI NOR flashes" 754778572d7SVignesh R depends on !SPI_FLASH_BAR && !SPL_SPI_FLASH_TINY 7550c6f187cSVignesh R help 7560c6f187cSVignesh R Enable support for parsing and auto discovery of parameters for 7570c6f187cSVignesh R SPI NOR flashes using Serial Flash Discoverable Parameters (SFDP) 7580c6f187cSVignesh R tables as per JESD216 standard in SPL. 7590c6f187cSVignesh R 76055500438SMarek Vasutconfig SPL_SPI_LOAD 76155500438SMarek Vasut bool "Support loading from SPI flash" 76255500438SMarek Vasut help 76355500438SMarek Vasut Enable support for loading next stage, U-Boot or otherwise, from 76455500438SMarek Vasut SPI NOR in U-Boot SPL. 76555500438SMarek Vasut 7660c6f187cSVignesh Rendif # SPL_SPI_FLASH_SUPPORT 7670c6f187cSVignesh R 76811bde1cdSSimon Glassconfig SPL_SPI_SUPPORT 76911bde1cdSSimon Glass bool "Support SPI drivers" 77011bde1cdSSimon Glass help 77111bde1cdSSimon Glass Enable support for using SPI in SPL. This is used for connecting 77211bde1cdSSimon Glass to SPI flash for loading U-Boot. See SPL_SPI_FLASH_SUPPORT for 77311bde1cdSSimon Glass more details on that. The SPI driver provides the transport for 77411bde1cdSSimon Glass data between the SPI flash and the CPU. This option can be used to 77511bde1cdSSimon Glass enable SPI drivers that are needed for other purposes also, such 77611bde1cdSSimon Glass as a SPI PMIC. 77711bde1cdSSimon Glass 7788502f9f6SFaiz Abbasconfig SPL_THERMAL 7798502f9f6SFaiz Abbas bool "Driver support for thermal devices" 7808502f9f6SFaiz Abbas help 7818502f9f6SFaiz Abbas Enable support for temperature-sensing devices. Some SoCs have on-chip 7828502f9f6SFaiz Abbas temperature sensors to permit warnings, speed throttling or even 7838502f9f6SFaiz Abbas automatic power-off when the temperature gets too high or low. Other 7848502f9f6SFaiz Abbas devices may be discrete but connected on a suitable bus. 7858502f9f6SFaiz Abbas 78611bde1cdSSimon Glassconfig SPL_USB_HOST_SUPPORT 78711bde1cdSSimon Glass bool "Support USB host drivers" 78891ff6865STom Rini select HAVE_BLOCK_DEVICE 78911bde1cdSSimon Glass help 79011bde1cdSSimon Glass Enable access to USB (Universal Serial Bus) host devices so that 79111bde1cdSSimon Glass SPL can load U-Boot from a connected USB peripheral, such as a USB 79211bde1cdSSimon Glass flash stick. While USB takes a little longer to start up than most 79311bde1cdSSimon Glass buses, it is very flexible since many different types of storage 79411bde1cdSSimon Glass device can be attached. This option enables the drivers in 79511bde1cdSSimon Glass drivers/usb/host as part of an SPL build. 79611bde1cdSSimon Glass 797*79536013SAbel Vesaconfig SPL_USB_STORAGE 79811bde1cdSSimon Glass bool "Support loading from USB" 799*79536013SAbel Vesa depends on SPL_USB_HOST_SUPPORT && !(BLK && !DM_USB) 80011bde1cdSSimon Glass help 80111bde1cdSSimon Glass Enable support for USB devices in SPL. This allows use of USB 80211bde1cdSSimon Glass devices such as hard drives and flash drivers for loading U-Boot. 80311bde1cdSSimon Glass The actual drivers are enabled separately using the normal U-Boot 80411bde1cdSSimon Glass config options. This enables loading from USB using a configured 80511bde1cdSSimon Glass device. 80611bde1cdSSimon Glass 807f811e976SJean-Jacques Hiblotconfig SPL_USB_GADGET 808e94793c8SStefan Agner bool "Suppport USB Gadget drivers" 809e94793c8SStefan Agner help 810e94793c8SStefan Agner Enable USB Gadget API which allows to enable USB device functions 811e94793c8SStefan Agner in SPL. 812e94793c8SStefan Agner 813f811e976SJean-Jacques Hiblotif SPL_USB_GADGET 814e94793c8SStefan Agner 815b432b1ebSFaiz Abbasconfig SPL_USB_ETHER 816e94793c8SStefan Agner bool "Support USB Ethernet drivers" 817e94793c8SStefan Agner help 818e94793c8SStefan Agner Enable access to the USB network subsystem and associated 819e94793c8SStefan Agner drivers in SPL. This permits SPL to load U-Boot over a 820e94793c8SStefan Agner USB-connected Ethernet link (such as a USB Ethernet dongle) rather 821e94793c8SStefan Agner than from an onboard peripheral. Environment support is required 822e94793c8SStefan Agner since the network stack uses a number of environment variables. 823e94793c8SStefan Agner See also SPL_NET_SUPPORT and SPL_ETH_SUPPORT. 824e94793c8SStefan Agner 8256536ca4dSAndrew F. Davisconfig SPL_DFU 826c3c19c27SFabio Estevam bool "Support DFU (Device Firmware Upgrade)" 8275991703eSStefan Agner select SPL_HASH_SUPPORT 82866928afbSB, Ravi select SPL_DFU_NO_RESET 8291b19cbdbSB, Ravi depends on SPL_RAM_SUPPORT 8305991703eSStefan Agner help 831c3c19c27SFabio Estevam This feature enables the DFU (Device Firmware Upgrade) in SPL with 8325991703eSStefan Agner RAM memory device support. The ROM code will load and execute 8335991703eSStefan Agner the SPL built with dfu. The user can load binaries (u-boot/kernel) to 8345991703eSStefan Agner selected device partition from host-pc using dfu-utils. 8355991703eSStefan Agner This feature is useful to flash the binaries to factory or bare-metal 8365991703eSStefan Agner boards using USB interface. 8375991703eSStefan Agner 8385991703eSStefan Agnerchoice 8395991703eSStefan Agner bool "DFU device selection" 8406536ca4dSAndrew F. Davis depends on SPL_DFU 8415991703eSStefan Agner 8425991703eSStefan Agnerconfig SPL_DFU_RAM 8435991703eSStefan Agner bool "RAM device" 8446536ca4dSAndrew F. Davis depends on SPL_DFU && SPL_RAM_SUPPORT 8455991703eSStefan Agner help 8465991703eSStefan Agner select RAM/DDR memory device for loading binary images 8475991703eSStefan Agner (u-boot/kernel) to the selected device partition using 8485991703eSStefan Agner DFU and execute the u-boot/kernel from RAM. 8495991703eSStefan Agner 8505991703eSStefan Agnerendchoice 8515991703eSStefan Agner 852a3774c1cSStefan Agnerconfig SPL_USB_SDP_SUPPORT 853a3774c1cSStefan Agner bool "Support SDP (Serial Download Protocol)" 854a3774c1cSStefan Agner help 855a3774c1cSStefan Agner Enable Serial Download Protocol (SDP) device support in SPL. This 856a3774c1cSStefan Agner allows to download images into memory and execute (jump to) them 857a3774c1cSStefan Agner using the same protocol as implemented by the i.MX family's boot ROM. 858e94793c8SStefan Agnerendif 859e94793c8SStefan Agner 86011bde1cdSSimon Glassconfig SPL_WATCHDOG_SUPPORT 86111bde1cdSSimon Glass bool "Support watchdog drivers" 86211bde1cdSSimon Glass help 86311bde1cdSSimon Glass Enable support for watchdog drivers in SPL. A watchdog is 86411bde1cdSSimon Glass typically a hardware peripheral which can reset the system when it 86511bde1cdSSimon Glass detects no activity for a while (such as a software crash). This 86611bde1cdSSimon Glass enables the drivers in drivers/watchdog as part of an SPL build. 86711bde1cdSSimon Glass 86811bde1cdSSimon Glassconfig SPL_YMODEM_SUPPORT 86911bde1cdSSimon Glass bool "Support loading using Ymodem" 8703bac19ceSAlex Kiernan depends on SPL_SERIAL_SUPPORT 87111bde1cdSSimon Glass help 87211bde1cdSSimon Glass While loading from serial is slow it can be a useful backup when 87311bde1cdSSimon Glass there is no other option. The Ymodem protocol provides a reliable 87411bde1cdSSimon Glass means of transmitting U-Boot over a serial line for using in SPL, 87511bde1cdSSimon Glass with a checksum to ensure correctness. 87611bde1cdSSimon Glass 877aa122f6bSPhilipp Tomsichconfig SPL_ATF 878bcc1726aSKever Yang bool "Support ARM Trusted Firmware" 879226498b8STom Rini depends on ARM64 880bcc1726aSKever Yang help 881d21fb63dSPhilipp Tomsich ATF(ARM Trusted Firmware) is a component for ARM AArch64 which 882bcc1726aSKever Yang is loaded by SPL (which is considered as BL2 in ATF terminology). 883bcc1726aSKever Yang More detail at: https://github.com/ARM-software/arm-trusted-firmware 884bcc1726aSKever Yang 885d21fb63dSPhilipp Tomsichconfig SPL_ATF_NO_PLATFORM_PARAM 886d21fb63dSPhilipp Tomsich bool "Pass no platform parameter" 887d21fb63dSPhilipp Tomsich depends on SPL_ATF 888d21fb63dSPhilipp Tomsich help 889d21fb63dSPhilipp Tomsich While we expect to call a pointer to a valid FDT (or NULL) 890d21fb63dSPhilipp Tomsich as the platform parameter to an ATF, some ATF versions are 891d21fb63dSPhilipp Tomsich not U-Boot aware and have an insufficiently robust parameter 892d21fb63dSPhilipp Tomsich validation to gracefully reject a FDT being passed. 893d21fb63dSPhilipp Tomsich 894d21fb63dSPhilipp Tomsich If this option is enabled, the spl_atf os-type handler will 895d21fb63dSPhilipp Tomsich always pass NULL for the platform parameter. 896d21fb63dSPhilipp Tomsich 897d21fb63dSPhilipp Tomsich If your ATF is affected, say Y. 898d21fb63dSPhilipp Tomsich 8993bf5f13cSAlex Kiernanconfig SPL_AM33XX_ENABLE_RTC32K_OSC 9003bf5f13cSAlex Kiernan bool "Enable the RTC32K OSC on AM33xx based platforms" 9013bf5f13cSAlex Kiernan default y if AM33XX 9023bf5f13cSAlex Kiernan help 9033bf5f13cSAlex Kiernan Enable access to the AM33xx RTC and select the external 32kHz clock 9043bf5f13cSAlex Kiernan source. 9053bf5f13cSAlex Kiernan 90670fe2876SKever Yangconfig SPL_OPTEE 90770fe2876SKever Yang bool "Support OP-TEE Trusted OS" 90870fe2876SKever Yang depends on ARM 90970fe2876SKever Yang help 91070fe2876SKever Yang OP-TEE is an open source Trusted OS which is loaded by SPL. 91170fe2876SKever Yang More detail at: https://github.com/OP-TEE/optee_os 91270fe2876SKever Yang 913226498b8STom Riniconfig TPL 914226498b8STom Rini bool 915226498b8STom Rini depends on SUPPORT_TPL 916226498b8STom Rini prompt "Enable TPL" 917226498b8STom Rini help 918226498b8STom Rini If you want to build TPL as well as the normal image and SPL, say Y. 919226498b8STom Rini 920226498b8STom Riniif TPL 921226498b8STom Rini 922b0edea3cSSimon Glassconfig TPL_HANDOFF 923b0edea3cSSimon Glass bool "Pass hand-off information from TPL to SPL and U-Boot proper" 924b0edea3cSSimon Glass depends on HANDOFF 925b0edea3cSSimon Glass default y 926b0edea3cSSimon Glass help 927b0edea3cSSimon Glass This option enables TPL to write handoff information. This can be 928b0edea3cSSimon Glass used to pass information like the size of SDRAM from TPL to U-Boot 929b0edea3cSSimon Glass proper. The information is also available to SPL if it is useful 930b0edea3cSSimon Glass there. 931b0edea3cSSimon Glass 932af2f4426SKever Yangconfig TPL_BOARD_INIT 933af2f4426SKever Yang bool "Call board-specific initialization in TPL" 934af2f4426SKever Yang help 935af2f4426SKever Yang If this option is enabled, U-Boot will call the function 936af2f4426SKever Yang spl_board_init() from board_init_r(). This function should be 937af2f4426SKever Yang provided by the board. 938af2f4426SKever Yang 939dd6fbcb9SPhilipp Tomsichconfig TPL_LDSCRIPT 940dd6fbcb9SPhilipp Tomsich string "Linker script for the TPL stage" 941dd6fbcb9SPhilipp Tomsich depends on TPL 9422f41ade7STom Rini default "arch/arm/cpu/armv8/u-boot-spl.lds" if ARM64 9432f41ade7STom Rini default "arch/$(ARCH)/cpu/u-boot-spl.lds" 944dd6fbcb9SPhilipp Tomsich help 945dd6fbcb9SPhilipp Tomsich The TPL stage will usually require a different linker-script 946dd6fbcb9SPhilipp Tomsich (as it runs from a different memory region) than the regular 947dd6fbcb9SPhilipp Tomsich U-Boot stage. Set this to the path of the linker-script to 948dd6fbcb9SPhilipp Tomsich be used for TPL. 949dd6fbcb9SPhilipp Tomsich 950b3ed6ce7SPhilipp Tomsich May be left empty to trigger the Makefile infrastructure to 951b3ed6ce7SPhilipp Tomsich fall back to the linker-script used for the SPL stage. 952b3ed6ce7SPhilipp Tomsich 953b3ed6ce7SPhilipp Tomsichconfig TPL_NEEDS_SEPARATE_TEXT_BASE 954b3ed6ce7SPhilipp Tomsich bool "TPL needs a separate text-base" 955b3ed6ce7SPhilipp Tomsich default n 956b3ed6ce7SPhilipp Tomsich depends on TPL 957b3ed6ce7SPhilipp Tomsich help 958b3ed6ce7SPhilipp Tomsich Enable, if the TPL stage should not inherit its text-base 959b3ed6ce7SPhilipp Tomsich from the SPL stage. When enabled, a base address for the 960b3ed6ce7SPhilipp Tomsich .text sections of the TPL stage has to be set below. 961b3ed6ce7SPhilipp Tomsich 962b3ed6ce7SPhilipp Tomsichconfig TPL_NEEDS_SEPARATE_STACK 963b3ed6ce7SPhilipp Tomsich bool "TPL needs a separate initial stack-pointer" 964b3ed6ce7SPhilipp Tomsich default n 965b3ed6ce7SPhilipp Tomsich depends on TPL 966b3ed6ce7SPhilipp Tomsich help 967b3ed6ce7SPhilipp Tomsich Enable, if the TPL stage should not inherit its initial 968b3ed6ce7SPhilipp Tomsich stack-pointer from the settings for the SPL stage. 969b3ed6ce7SPhilipp Tomsich 970b3ed6ce7SPhilipp Tomsichconfig TPL_TEXT_BASE 971b3ed6ce7SPhilipp Tomsich hex "Base address for the .text section of the TPL stage" 972b3ed6ce7SPhilipp Tomsich depends on TPL_NEEDS_SEPARATE_TEXT_BASE 973b3ed6ce7SPhilipp Tomsich help 974b3ed6ce7SPhilipp Tomsich The base address for the .text section of the TPL stage. 975b3ed6ce7SPhilipp Tomsich 976b3ed6ce7SPhilipp Tomsichconfig TPL_MAX_SIZE 977b3ed6ce7SPhilipp Tomsich int "Maximum size (in bytes) for the TPL stage" 9785aa49af3SPhilipp Tomsich default 0 979b3ed6ce7SPhilipp Tomsich depends on TPL 980b3ed6ce7SPhilipp Tomsich help 981b3ed6ce7SPhilipp Tomsich The maximum size (in bytes) of the TPL stage. 982b3ed6ce7SPhilipp Tomsich 983b3ed6ce7SPhilipp Tomsichconfig TPL_STACK 984b3ed6ce7SPhilipp Tomsich hex "Address of the initial stack-pointer for the TPL stage" 985b3ed6ce7SPhilipp Tomsich depends on TPL_NEEDS_SEPARATE_STACK 986b3ed6ce7SPhilipp Tomsich help 987b3ed6ce7SPhilipp Tomsich The address of the initial stack-pointer for the TPL stage. 988b3ed6ce7SPhilipp Tomsich Usually this will be the (aligned) top-of-stack. 989b3ed6ce7SPhilipp Tomsich 990a954fa32SPhilipp Tomsichconfig TPL_BOOTROM_SUPPORT 991a954fa32SPhilipp Tomsich bool "Support returning to the BOOTROM (from TPL)" 992a954fa32SPhilipp Tomsich help 993a954fa32SPhilipp Tomsich Some platforms (e.g. the Rockchip RK3368) provide support in their 994a954fa32SPhilipp Tomsich ROM for loading the next boot-stage after performing basic setup 995a954fa32SPhilipp Tomsich from the TPL stage. 996a954fa32SPhilipp Tomsich 997a954fa32SPhilipp Tomsich Enable this option, to return to the BOOTROM through the 998a954fa32SPhilipp Tomsich BOOT_DEVICE_BOOTROM (or fall-through to the next boot device in the 999a954fa32SPhilipp Tomsich boot device list, if not implemented for a given board) 1000a954fa32SPhilipp Tomsich 1001c3916e7bSPhilipp Tomsichconfig TPL_DRIVERS_MISC_SUPPORT 1002c3916e7bSPhilipp Tomsich bool "Support misc drivers in TPL" 1003c3916e7bSPhilipp Tomsich help 1004c3916e7bSPhilipp Tomsich Enable miscellaneous drivers in TPL. These drivers perform various 1005c3916e7bSPhilipp Tomsich tasks that don't fall nicely into other categories, Enable this 1006c3916e7bSPhilipp Tomsich option to build the drivers in drivers/misc as part of an TPL 1007c3916e7bSPhilipp Tomsich build, for those that support building in TPL (not all drivers do). 1008c3916e7bSPhilipp Tomsich 1009f73329eeSSimon Glassconfig TPL_ENV_SUPPORT 1010f73329eeSSimon Glass bool "Support an environment" 1011f73329eeSSimon Glass help 1012f73329eeSSimon Glass Enable environment support in TPL. See SPL_ENV_SUPPORT for details. 1013f73329eeSSimon Glass 10142d424eb0SSimon Glassconfig TPL_GPIO_SUPPORT 10152d424eb0SSimon Glass bool "Support GPIO in TPL" 10162d424eb0SSimon Glass help 10172d424eb0SSimon Glass Enable support for GPIOs (General-purpose Input/Output) in TPL. 10182d424eb0SSimon Glass GPIOs allow U-Boot to read the state of an input line (high or 10192d424eb0SSimon Glass low) and set the state of an output line. This can be used to 10202d424eb0SSimon Glass drive LEDs, control power to various system parts and read user 10212d424eb0SSimon Glass input. GPIOs can be useful in TPL to enable a 'sign-of-life' LED, 10222d424eb0SSimon Glass for example. Enable this option to build the drivers in 10232d424eb0SSimon Glass drivers/gpio as part of an TPL build. 10242d424eb0SSimon Glass 1025f73329eeSSimon Glassconfig TPL_I2C_SUPPORT 1026f73329eeSSimon Glass bool "Support I2C" 1027f73329eeSSimon Glass help 1028616bd09eSPhilipp Tomsich Enable support for the I2C bus in TPL. See SPL_I2C_SUPPORT for 1029f73329eeSSimon Glass details. 1030f73329eeSSimon Glass 1031f73329eeSSimon Glassconfig TPL_LIBCOMMON_SUPPORT 1032f73329eeSSimon Glass bool "Support common libraries" 1033f73329eeSSimon Glass help 1034f73329eeSSimon Glass Enable support for common U-Boot libraries within TPL. See 1035f73329eeSSimon Glass SPL_LIBCOMMON_SUPPORT for details. 1036f73329eeSSimon Glass 1037f73329eeSSimon Glassconfig TPL_LIBGENERIC_SUPPORT 1038f73329eeSSimon Glass bool "Support generic libraries" 1039f73329eeSSimon Glass help 1040f73329eeSSimon Glass Enable support for generic U-Boot libraries within TPL. See 1041f73329eeSSimon Glass SPL_LIBGENERIC_SUPPORT for details. 1042f73329eeSSimon Glass 1043f73329eeSSimon Glassconfig TPL_MPC8XXX_INIT_DDR_SUPPORT 1044f73329eeSSimon Glass bool "Support MPC8XXX DDR init" 1045f73329eeSSimon Glass help 1046f73329eeSSimon Glass Enable support for DDR-SDRAM on the MPC8XXX family within TPL. See 1047f73329eeSSimon Glass SPL_MPC8XXX_INIT_DDR_SUPPORT for details. 1048f73329eeSSimon Glass 1049f73329eeSSimon Glassconfig TPL_MMC_SUPPORT 1050f73329eeSSimon Glass bool "Support MMC" 1051226498b8STom Rini depends on MMC 1052f73329eeSSimon Glass help 1053f73329eeSSimon Glass Enable support for MMC within TPL. See SPL_MMC_SUPPORT for details. 1054f73329eeSSimon Glass 1055f73329eeSSimon Glassconfig TPL_NAND_SUPPORT 1056f73329eeSSimon Glass bool "Support NAND flash" 1057f73329eeSSimon Glass help 1058616bd09eSPhilipp Tomsich Enable support for NAND in TPL. See SPL_NAND_SUPPORT for details. 1059f73329eeSSimon Glass 1060d50d6817SSekhar Noriconfig TPL_PCI 10612d424eb0SSimon Glass bool "Support PCI drivers" 10622d424eb0SSimon Glass help 10632d424eb0SSimon Glass Enable support for PCI in TPL. For platforms that need PCI to boot, 10642d424eb0SSimon Glass or must perform some init using PCI in SPL, this provides the 10652d424eb0SSimon Glass necessary driver support. This enables the drivers in drivers/pci 10662d424eb0SSimon Glass as part of a TPL build. 10672d424eb0SSimon Glass 10682d424eb0SSimon Glassconfig TPL_PCH_SUPPORT 10692d424eb0SSimon Glass bool "Support PCH drivers" 10702d424eb0SSimon Glass help 10712d424eb0SSimon Glass Enable support for PCH (Platform Controller Hub) devices in TPL. 10722d424eb0SSimon Glass These are used to set up GPIOs and the SPI peripheral early in 10732d424eb0SSimon Glass boot. This enables the drivers in drivers/pch as part of a TPL 10742d424eb0SSimon Glass build. 10752d424eb0SSimon Glass 1076d79dfd45SMarek Vasutconfig TPL_RAM_SUPPORT 1077d79dfd45SMarek Vasut bool "Support booting from RAM" 1078d79dfd45SMarek Vasut help 1079d79dfd45SMarek Vasut Enable booting of an image in RAM. The image can be preloaded or 1080d79dfd45SMarek Vasut it can be loaded by TPL directly into RAM (e.g. using USB). 1081d79dfd45SMarek Vasut 1082d79dfd45SMarek Vasutconfig TPL_RAM_DEVICE 1083d79dfd45SMarek Vasut bool "Support booting from preloaded image in RAM" 1084d79dfd45SMarek Vasut depends on TPL_RAM_SUPPORT 1085d79dfd45SMarek Vasut help 1086d79dfd45SMarek Vasut Enable booting of an image already loaded in RAM. The image has to 1087d79dfd45SMarek Vasut be already in memory when TPL takes over, e.g. loaded by the boot 1088d79dfd45SMarek Vasut ROM. 1089d79dfd45SMarek Vasut 10902d424eb0SSimon Glassconfig TPL_RTC_SUPPORT 10912d424eb0SSimon Glass bool "Support RTC drivers" 10922d424eb0SSimon Glass help 10932d424eb0SSimon Glass Enable RTC (Real-time Clock) support in TPL. This includes support 10942d424eb0SSimon Glass for reading and setting the time. Some RTC devices also have some 10952d424eb0SSimon Glass non-volatile (battery-backed) memory which is accessible if 10962d424eb0SSimon Glass needed. This enables the drivers in drivers/rtc as part of an TPL 10972d424eb0SSimon Glass build. 10982d424eb0SSimon Glass 1099f73329eeSSimon Glassconfig TPL_SERIAL_SUPPORT 1100f73329eeSSimon Glass bool "Support serial" 110114ad44abSAlex Kiernan select TPL_PRINTF 110214ad44abSAlex Kiernan select TPL_STRTO 1103f73329eeSSimon Glass help 1104616bd09eSPhilipp Tomsich Enable support for serial in TPL. See SPL_SERIAL_SUPPORT for 1105f73329eeSSimon Glass details. 1106f73329eeSSimon Glass 1107f73329eeSSimon Glassconfig TPL_SPI_FLASH_SUPPORT 1108f73329eeSSimon Glass bool "Support SPI flash drivers" 1109f73329eeSSimon Glass help 1110616bd09eSPhilipp Tomsich Enable support for using SPI flash in TPL. See SPL_SPI_FLASH_SUPPORT 1111f73329eeSSimon Glass for details. 1112f73329eeSSimon Glass 11131e725e27SMarek Vasutconfig TPL_SPI_LOAD 11141e725e27SMarek Vasut bool "Support loading from SPI flash" 11151e725e27SMarek Vasut depends on TPL_SPI_FLASH_SUPPORT 11161e725e27SMarek Vasut help 11171e725e27SMarek Vasut Enable support for loading next stage, U-Boot or otherwise, from 11181e725e27SMarek Vasut SPI NOR in U-Boot TPL. 11191e725e27SMarek Vasut 1120f73329eeSSimon Glassconfig TPL_SPI_SUPPORT 1121f73329eeSSimon Glass bool "Support SPI drivers" 1122f73329eeSSimon Glass help 1123616bd09eSPhilipp Tomsich Enable support for using SPI in TPL. See SPL_SPI_SUPPORT for 1124f73329eeSSimon Glass details. 1125f73329eeSSimon Glass 11266ce3d67cSMarek Vasutconfig TPL_YMODEM_SUPPORT 11276ce3d67cSMarek Vasut bool "Support loading using Ymodem" 11283bac19ceSAlex Kiernan depends on TPL_SERIAL_SUPPORT 11296ce3d67cSMarek Vasut help 11306ce3d67cSMarek Vasut While loading from serial is slow it can be a useful backup when 11316ce3d67cSMarek Vasut there is no other option. The Ymodem protocol provides a reliable 11326ce3d67cSMarek Vasut means of transmitting U-Boot over a serial line for using in TPL, 11336ce3d67cSMarek Vasut with a checksum to ensure correctness. 11346ce3d67cSMarek Vasut 1135226498b8STom Riniendif # TPL 1136226498b8STom Rini 1137226498b8STom Riniendif # SPL 113811bde1cdSSimon Glassendmenu 1139