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 212d7c904fSJason Zhuconfig SPL_ADC_SUPPORT 222d7c904fSJason Zhu bool "Support ADC driver in SPL" 232d7c904fSJason Zhu depends on SPL 242d7c904fSJason Zhu help 252d7c904fSJason Zhu The adc drive can be used to measure voltage in spl if need. 262d7c904fSJason Zhu 2753138e05SJoseph Chenconfig SPL_DECOMP_HEADER 2853138e05SJoseph Chen bool "Support SPL DECOMP header" 2953138e05SJoseph Chen default n 3053138e05SJoseph Chen help 3153138e05SJoseph Chen Support to build SPL as decomp header. 3253138e05SJoseph Chen 33dd6fbcb9SPhilipp Tomsichconfig SPL_LDSCRIPT 34dd6fbcb9SPhilipp Tomsich string "Linker script for the SPL stage" 35dd6fbcb9SPhilipp Tomsich default "arch/$(ARCH)/cpu/u-boot-spl.lds" 36dd6fbcb9SPhilipp Tomsich depends on SPL 37dd6fbcb9SPhilipp Tomsich help 38dd6fbcb9SPhilipp Tomsich The SPL stage will usually require a different linker-script 39dd6fbcb9SPhilipp Tomsich (as it runs from a different memory region) than the regular 40dd6fbcb9SPhilipp Tomsich U-Boot stage. Set this to the path of the linker-script to 41dd6fbcb9SPhilipp Tomsich be used for SPL. 42dd6fbcb9SPhilipp Tomsich 430680f1b1SLey Foon Tanconfig SPL_BOARD_INIT 440680f1b1SLey Foon Tan bool "Call board-specific initialization in SPL" 450680f1b1SLey Foon Tan help 460680f1b1SLey Foon Tan If this option is enabled, U-Boot will call the function 470680f1b1SLey Foon Tan spl_board_init() from board_init_r(). This function should be 480680f1b1SLey Foon Tan provided by the board. 490680f1b1SLey Foon Tan 50225d30b7SPhilipp Tomsichconfig SPL_BOOTROM_SUPPORT 51225d30b7SPhilipp Tomsich bool "Support returning to the BOOTROM" 52225d30b7SPhilipp Tomsich help 53225d30b7SPhilipp Tomsich Some platforms (e.g. the Rockchip RK3368) provide support in their 54225d30b7SPhilipp Tomsich ROM for loading the next boot-stage after performing basic setup 55225d30b7SPhilipp Tomsich from the SPL stage. 56225d30b7SPhilipp Tomsich 57225d30b7SPhilipp Tomsich Enable this option, to return to the BOOTROM through the 58225d30b7SPhilipp Tomsich BOOT_DEVICE_BOOTROM (or fall-through to the next boot device in the 59225d30b7SPhilipp Tomsich boot device list, if not implemented for a given board) 60225d30b7SPhilipp Tomsich 6124eb39b5SAndrew F. Davisconfig SPL_RAW_IMAGE_SUPPORT 6224eb39b5SAndrew F. Davis bool "Support SPL loading and booting of RAW images" 6324eb39b5SAndrew F. Davis default n if (ARCH_MX6 && (SPL_MMC_SUPPORT || SPL_SATA_SUPPORT)) 64ae9b57b5SAndrew F. Davis default y if !TI_SECURE_DEVICE 6524eb39b5SAndrew F. Davis help 6624eb39b5SAndrew F. Davis SPL will support loading and booting a RAW image when this option 6724eb39b5SAndrew F. Davis is y. If this is not set, SPL will move on to other available 6824eb39b5SAndrew F. Davis boot media to find a suitable image. 6924eb39b5SAndrew F. Davis 70722a6b17SAndrew F. Davisconfig SPL_LEGACY_IMAGE_SUPPORT 71722a6b17SAndrew F. Davis bool "Support SPL loading and booting of Legacy images" 72ae9b57b5SAndrew F. Davis default y if !TI_SECURE_DEVICE 73722a6b17SAndrew F. Davis help 74722a6b17SAndrew F. Davis SPL will support loading and booting Legacy images when this option 75722a6b17SAndrew F. Davis is y. If this is not set, SPL will move on to other available 76722a6b17SAndrew F. Davis boot media to find a suitable image. 77722a6b17SAndrew F. Davis 78c2ae7d82SSimon Glassconfig SPL_SYS_MALLOC_SIMPLE 79c2ae7d82SSimon Glass bool 80c2ae7d82SSimon Glass prompt "Only use malloc_simple functions in the SPL" 81c2ae7d82SSimon Glass help 82c2ae7d82SSimon Glass Say Y here to only use the *_simple malloc functions from 83c2ae7d82SSimon Glass malloc_simple.c, rather then using the versions from dlmalloc.c; 84c2ae7d82SSimon Glass this will make the SPL binary smaller at the cost of more heap 85c2ae7d82SSimon Glass usage as the *_simple malloc functions do not re-use free-ed mem. 86c2ae7d82SSimon Glass 87d60b5f74SPhilipp Tomsichconfig TPL_SYS_MALLOC_SIMPLE 88d60b5f74SPhilipp Tomsich bool 89d60b5f74SPhilipp Tomsich prompt "Only use malloc_simple functions in the TPL" 90d60b5f74SPhilipp Tomsich help 91d60b5f74SPhilipp Tomsich Say Y here to only use the *_simple malloc functions from 92d60b5f74SPhilipp Tomsich malloc_simple.c, rather then using the versions from dlmalloc.c; 93d60b5f74SPhilipp Tomsich this will make the TPL binary smaller at the cost of more heap 94d60b5f74SPhilipp Tomsich usage as the *_simple malloc functions do not re-use free-ed mem. 95d60b5f74SPhilipp Tomsich 96c2ae7d82SSimon Glassconfig SPL_STACK_R 97c2ae7d82SSimon Glass bool "Enable SDRAM location for SPL stack" 98c2ae7d82SSimon Glass help 99c2ae7d82SSimon Glass SPL starts off execution in SRAM and thus typically has only a small 100c2ae7d82SSimon Glass stack available. Since SPL sets up DRAM while in its board_init_f() 101c2ae7d82SSimon Glass function, it is possible for the stack to move there before 102c2ae7d82SSimon Glass board_init_r() is reached. This option enables a special SDRAM 103c2ae7d82SSimon Glass location for the SPL stack. U-Boot SPL switches to this after 104c2ae7d82SSimon Glass board_init_f() completes, and before board_init_r() starts. 105c2ae7d82SSimon Glass 106c2ae7d82SSimon Glassconfig SPL_STACK_R_ADDR 107c2ae7d82SSimon Glass depends on SPL_STACK_R 108c2ae7d82SSimon Glass hex "SDRAM location for SPL stack" 109c2ae7d82SSimon Glass help 110c2ae7d82SSimon Glass Specify the address in SDRAM for the SPL stack. This will be set up 111c2ae7d82SSimon Glass before board_init_r() is called. 112c2ae7d82SSimon Glass 113c2ae7d82SSimon Glassconfig SPL_STACK_R_MALLOC_SIMPLE_LEN 114c2ae7d82SSimon Glass depends on SPL_STACK_R && SPL_SYS_MALLOC_SIMPLE 115c2ae7d82SSimon Glass hex "Size of malloc_simple heap after switching to DRAM SPL stack" 116c2ae7d82SSimon Glass default 0x100000 117c2ae7d82SSimon Glass help 118c2ae7d82SSimon Glass Specify the amount of the stack to use as memory pool for 119c2ae7d82SSimon Glass malloc_simple after switching the stack to DRAM. This may be set 120c2ae7d82SSimon Glass to give board_init_r() a larger heap then the initial heap in 121c2ae7d82SSimon Glass SRAM which is limited to SYS_MALLOC_F_LEN bytes. 122c2ae7d82SSimon Glass 123c2ae7d82SSimon Glassconfig SPL_SEPARATE_BSS 124c2ae7d82SSimon Glass bool "BSS section is in a different memory region from text" 125c2ae7d82SSimon Glass help 126c2ae7d82SSimon Glass Some platforms need a large BSS region in SPL and can provide this 127c2ae7d82SSimon Glass because RAM is already set up. In this case BSS can be moved to RAM. 128c2ae7d82SSimon Glass This option should then be enabled so that the correct device tree 129c2ae7d82SSimon Glass location is used. Normally we put the device tree at the end of BSS 130c2ae7d82SSimon Glass but with this option enabled, it goes at _image_binary_end. 131c2ae7d82SSimon Glass 132a807ab33SSimon Glassconfig SPL_DISPLAY_PRINT 133a807ab33SSimon Glass bool "Display a board-specific message in SPL" 134a807ab33SSimon Glass help 135a807ab33SSimon Glass If this option is enabled, U-Boot will call the function 136a807ab33SSimon Glass spl_display_print() immediately after displaying the SPL console 137a807ab33SSimon Glass banner ("U-Boot SPL ..."). This function should be provided by 138a807ab33SSimon Glass the board. 139a807ab33SSimon Glass 140dced428bSAndy Yanconfig SPL_SKIP_RELOCATE 141dced428bSAndy Yan bool "Skip code relocation in SPL" 142dced428bSAndy Yan default y 143dced428bSAndy Yan help 144dced428bSAndy Yan The SPL code will be relocated to a high memory if you say no here. 145dced428bSAndy Yan Only ARM64 and PowerPC SPL support relocate now. 146dced428bSAndy Yan 147dced428bSAndy Yanconfig SPL_RELOC_TEXT_BASE 148dced428bSAndy Yan hex "Address the SPL relocate to" 149dced428bSAndy Yan depends on !SPL_SKIP_RELOCATE 150dced428bSAndy Yan help 151dced428bSAndy Yan The address on the ram where the SPL relocate to. 152dced428bSAndy Yan 15338fed8abSSemen Protsenkoconfig SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR 15438fed8abSSemen Protsenko bool "MMC raw mode: by sector" 15538fed8abSSemen Protsenko default y if ARCH_SUNXI || ARCH_DAVINCI || ARCH_UNIPHIER ||ARCH_MX6 || \ 15638fed8abSSemen Protsenko ARCH_ROCKCHIP || ARCH_MVEBU || ARCH_SOCFPGA || \ 15738fed8abSSemen Protsenko ARCH_AT91 || ARCH_ZYNQ || ARCH_KEYSTONE || OMAP34XX || \ 15838fed8abSSemen Protsenko OMAP44XX || OMAP54XX || AM33XX || AM43XX 15938fed8abSSemen Protsenko help 16038fed8abSSemen Protsenko Use sector number for specifying U-Boot location on MMC/SD in 16138fed8abSSemen Protsenko raw mode. 16238fed8abSSemen Protsenko 16338fed8abSSemen Protsenkoconfig SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR 16438fed8abSSemen Protsenko hex "Address on the MMC to load U-Boot from" 165226498b8STom Rini depends on SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR 16638fed8abSSemen Protsenko default 0x50 if ARCH_SUNXI 16738fed8abSSemen Protsenko default 0x75 if ARCH_DAVINCI 16838fed8abSSemen Protsenko default 0x8a if ARCH_MX6 169b24d32f4SKever Yang default 0x100 if ARCH_UNIPHIER 17038fed8abSSemen Protsenko default 0x140 if ARCH_MVEBU 17138fed8abSSemen Protsenko default 0x200 if ARCH_SOCFPGA || ARCH_AT91 17238fed8abSSemen Protsenko default 0x300 if ARCH_ZYNQ || ARCH_KEYSTONE || OMAP34XX || OMAP44XX || \ 17338fed8abSSemen Protsenko OMAP54XX || AM33XX || AM43XX 174b24d32f4SKever Yang default 0x4000 if ARCH_ROCKCHIP 17538fed8abSSemen Protsenko help 17638fed8abSSemen Protsenko Address on the MMC to load U-Boot from, when the MMC is being used 17738fed8abSSemen Protsenko in raw mode. Units: MMC sectors (1 sector = 512 bytes). 17838fed8abSSemen Protsenko 179949123e3SDalon Westergreenconfig SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION 180949123e3SDalon Westergreen bool "MMC Raw mode: by partition" 18185f134f5SJoseph Chen depends on SPL_LIBDISK_SUPPORT 182949123e3SDalon Westergreen help 183949123e3SDalon Westergreen Use a partition for loading U-Boot when using MMC/SD in raw mode. 184949123e3SDalon Westergreen 185949123e3SDalon Westergreenconfig SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION 186949123e3SDalon Westergreen hex "Partition to use to load U-Boot from" 187226498b8STom Rini depends on SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION 188949123e3SDalon Westergreen default 1 189949123e3SDalon Westergreen help 190949123e3SDalon Westergreen Partition on the MMC to load U-Boot from when the MMC is being 191949123e3SDalon Westergreen used in raw mode 192949123e3SDalon Westergreen 193f0fb4fa7SDalon Westergreenconfig SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION_TYPE 194f0fb4fa7SDalon Westergreen bool "MMC raw mode: by partition type" 195226498b8STom Rini depends on DOS_PARTITION && SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION 196f0fb4fa7SDalon Westergreen help 197f0fb4fa7SDalon Westergreen Use partition type for specifying U-Boot partition on MMC/SD in 198f0fb4fa7SDalon Westergreen raw mode. U-Boot will be loaded from the first partition of this 199f0fb4fa7SDalon Westergreen type to be found. 200f0fb4fa7SDalon Westergreen 20185f134f5SJoseph Chenconfig SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION_NAME 20285f134f5SJoseph Chen string "Partition Name on the MMC to load U-Boot from" 20385f134f5SJoseph Chen depends on SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION 20485f134f5SJoseph Chen default "uboot" 20585f134f5SJoseph Chen help 20685f134f5SJoseph Chen Partition Name on the MMC to load U-Boot from, when the MMC is being 20785f134f5SJoseph Chen used in raw mode. 20885f134f5SJoseph Chen 209f0fb4fa7SDalon Westergreenconfig SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION_TYPE 210f0fb4fa7SDalon Westergreen hex "Partition Type on the MMC to load U-Boot from" 211226498b8STom Rini depends on SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION_TYPE 212f0fb4fa7SDalon Westergreen help 213f0fb4fa7SDalon Westergreen Partition Type on the MMC to load U-Boot from, when the MMC is being 214f0fb4fa7SDalon Westergreen used in raw mode. 215f0fb4fa7SDalon Westergreen 2163d94fb28SJoseph Chenconfig SPL_MISC_SECTOR 2173d94fb28SJoseph Chen hex "Sector address to load misc in SPL" 218a00b516fSJoseph Chen depends on !SPL_LIBDISK_SUPPORT && SPL_KERNEL_BOOT 2193d94fb28SJoseph Chen default 0x8000 2203d94fb28SJoseph Chen 22111bde1cdSSimon Glassconfig SPL_CRC32_SUPPORT 22211bde1cdSSimon Glass bool "Support CRC32" 22311bde1cdSSimon Glass depends on SPL_FIT 22411bde1cdSSimon Glass help 22511bde1cdSSimon Glass Enable this to support CRC32 in FIT images within SPL. This is a 22611bde1cdSSimon Glass 32-bit checksum value that can be used to verify images. This is 22711bde1cdSSimon Glass the least secure type of checksum, suitable for detected 22811bde1cdSSimon Glass accidental image corruption. For secure applications you should 22911bde1cdSSimon Glass consider SHA1 or SHA256. 23011bde1cdSSimon Glass 23111bde1cdSSimon Glassconfig SPL_MD5_SUPPORT 23211bde1cdSSimon Glass bool "Support MD5" 23311bde1cdSSimon Glass depends on SPL_FIT 23411bde1cdSSimon Glass help 23511bde1cdSSimon Glass Enable this to support MD5 in FIT images within SPL. An MD5 23611bde1cdSSimon Glass checksum is a 128-bit hash value used to check that the image 23711bde1cdSSimon Glass contents have not been corrupted. Note that MD5 is not considered 23811bde1cdSSimon Glass secure as it is possible (with a brute-force attack) to adjust the 23911bde1cdSSimon Glass image while still retaining the same MD5 hash value. For secure 24011bde1cdSSimon Glass applications where images may be changed maliciously, you should 24111bde1cdSSimon Glass consider SHA1 or SHA256. 24211bde1cdSSimon Glass 24311bde1cdSSimon Glassconfig SPL_SHA1_SUPPORT 24411bde1cdSSimon Glass bool "Support SHA1" 24511bde1cdSSimon Glass depends on SPL_FIT 246089df18bSTom Rini select SHA1 24711bde1cdSSimon Glass help 24811bde1cdSSimon Glass Enable this to support SHA1 in FIT images within SPL. A SHA1 24911bde1cdSSimon Glass checksum is a 160-bit (20-byte) hash value used to check that the 25011bde1cdSSimon Glass image contents have not been corrupted or maliciously altered. 25111bde1cdSSimon Glass While SHA1 is fairly secure it is coming to the end of its life 25211bde1cdSSimon Glass due to the expanding computing power avaiable to brute-force 25311bde1cdSSimon Glass attacks. For more security, consider SHA256. 25411bde1cdSSimon Glass 25511bde1cdSSimon Glassconfig SPL_SHA256_SUPPORT 25611bde1cdSSimon Glass bool "Support SHA256" 25711bde1cdSSimon Glass depends on SPL_FIT 258089df18bSTom Rini select SHA256 25911bde1cdSSimon Glass help 26011bde1cdSSimon Glass Enable this to support SHA256 in FIT images within SPL. A SHA256 26111bde1cdSSimon Glass checksum is a 256-bit (32-byte) hash value used to check that the 26211bde1cdSSimon Glass image contents have not been corrupted. SHA256 is recommended for 26311bde1cdSSimon Glass use in secure applications since (as at 2016) there is no known 26411bde1cdSSimon Glass feasible attack that could produce a 'collision' with differing 26511bde1cdSSimon Glass input data. Use this for the highest security. Note that only the 26611bde1cdSSimon Glass SHA256 variant is supported: SHA512 and others are not currently 26711bde1cdSSimon Glass supported in U-Boot. 26811bde1cdSSimon Glass 2698118cce3SPhilipp Tomsichconfig SPL_FIT_IMAGE_TINY 2708118cce3SPhilipp Tomsich bool "Remove functionality from SPL FIT loading to reduce size" 2718118cce3SPhilipp Tomsich depends on SPL_FIT 2728118cce3SPhilipp Tomsich default y if MACH_SUN50I || MACH_SUN50I_H5 2738118cce3SPhilipp Tomsich default y if ARCH_OMAP2PLUS 2748118cce3SPhilipp Tomsich help 2758118cce3SPhilipp Tomsich Enable this to reduce the size of the FIT image loading code 2768118cce3SPhilipp Tomsich in SPL, if space for the SPL binary is very tight. 2778118cce3SPhilipp Tomsich 2788118cce3SPhilipp Tomsich This removes the detection of image types (which forces the 2798118cce3SPhilipp Tomsich first image to be treated as having a U-Boot style calling 2808118cce3SPhilipp Tomsich convention) and skips the recording of each loaded payload 2818118cce3SPhilipp Tomsich (i.e. loadable) into the FDT (modifying the loaded FDT to 2828118cce3SPhilipp Tomsich ensure this information is available to the next image 2838118cce3SPhilipp Tomsich invoked). 2848118cce3SPhilipp Tomsich 2855e148df9SSimon Glassconfig SPL_CPU_SUPPORT 2865e148df9SSimon Glass bool "Support CPU drivers" 2875e148df9SSimon Glass help 2885e148df9SSimon Glass Enable this to support CPU drivers in SPL. These drivers can set 2895e148df9SSimon Glass up CPUs and provide information about them such as the model and 2905e148df9SSimon Glass name. This can be useful in SPL since setting up the CPUs earlier 2915e148df9SSimon Glass may improve boot performance. Enable this option to build the 2925e148df9SSimon Glass drivers in drivers/cpu as part of an SPL build. 2935e148df9SSimon Glass 29411bde1cdSSimon Glassconfig SPL_CRYPTO_SUPPORT 29511bde1cdSSimon Glass bool "Support crypto drivers" 29611bde1cdSSimon Glass help 29711bde1cdSSimon Glass Enable crypto drivers in SPL. These drivers can be used to 29811bde1cdSSimon Glass accelerate secure boot processing in secure applications. Enable 29911bde1cdSSimon Glass this option to build the drivers in drivers/crypto as part of an 30011bde1cdSSimon Glass SPL build. 30111bde1cdSSimon Glass 30211bde1cdSSimon Glassconfig SPL_HASH_SUPPORT 30311bde1cdSSimon Glass bool "Support hashing drivers" 304089df18bSTom Rini select SHA1 305089df18bSTom Rini select SHA256 30611bde1cdSSimon Glass help 30711bde1cdSSimon Glass Enable hashing drivers in SPL. These drivers can be used to 30811bde1cdSSimon Glass accelerate secure boot processing in secure applications. Enable 30911bde1cdSSimon Glass this option to build system-specific drivers for hash acceleration 31011bde1cdSSimon Glass as part of an SPL build. 31111bde1cdSSimon Glass 31211bde1cdSSimon Glassconfig SPL_DMA_SUPPORT 31311bde1cdSSimon Glass bool "Support DMA drivers" 31411bde1cdSSimon Glass help 31511bde1cdSSimon Glass Enable DMA (direct-memory-access) drivers in SPL. These drivers 31611bde1cdSSimon Glass can be used to handle memory-to-peripheral data transfer without 31711bde1cdSSimon Glass the CPU moving the data. Enable this option to build the drivers 31811bde1cdSSimon Glass in drivers/dma as part of an SPL build. 31911bde1cdSSimon Glass 32011bde1cdSSimon Glassconfig SPL_DRIVERS_MISC_SUPPORT 32111bde1cdSSimon Glass bool "Support misc drivers" 32211bde1cdSSimon Glass help 32311bde1cdSSimon Glass Enable miscellaneous drivers in SPL. These drivers perform various 32411bde1cdSSimon Glass tasks that don't fall nicely into other categories, Enable this 32511bde1cdSSimon Glass option to build the drivers in drivers/misc as part of an SPL 32611bde1cdSSimon Glass build, for those that support building in SPL (not all drivers do). 32711bde1cdSSimon Glass 32811bde1cdSSimon Glassconfig SPL_ENV_SUPPORT 32911bde1cdSSimon Glass bool "Support an environment" 33011bde1cdSSimon Glass help 33111bde1cdSSimon Glass Enable environment support in SPL. The U-Boot environment provides 33211bde1cdSSimon Glass a number of settings (essentially name/value pairs) which can 33311bde1cdSSimon Glass control many aspects of U-Boot's operation. Normally this is not 33411bde1cdSSimon Glass needed in SPL as it has a much simpler task with less 33511bde1cdSSimon Glass configuration. But some boards use this to support 'Falcon' boot 33611bde1cdSSimon Glass on EXT2 and FAT, where SPL boots directly into Linux without 33700caae6dSSimon Glass starting U-Boot first. Enabling this option will make env_get() 338382bee57SSimon Glass and env_set() available in SPL. 33911bde1cdSSimon Glass 340d2d9bdfcSB, Raviconfig SPL_SAVEENV 341d2d9bdfcSB, Ravi bool "Support save environment" 342226498b8STom Rini depends on SPL_ENV_SUPPORT 3439127fbf4SJean-Jacques Hiblot select SPL_MMC_WRITE if ENV_IS_IN_MMC 344d2d9bdfcSB, Ravi help 345d2d9bdfcSB, Ravi Enable save environment support in SPL after setenv. By default 346d2d9bdfcSB, Ravi the saveenv option is not provided in SPL, but some boards need 347d2d9bdfcSB, Ravi this support in 'Falcon' boot, where SPL need to boot from 348d2d9bdfcSB, Ravi different images based on environment variable set by OS. For 349d2d9bdfcSB, Ravi example OS may set "reboot_image" environment variable to 350d2d9bdfcSB, Ravi "recovery" inorder to boot recovery image by SPL. The SPL read 351d2d9bdfcSB, Ravi "reboot_image" and act accordingly and change the reboot_image 352d2d9bdfcSB, Ravi to default mode using setenv and save the environemnt. 353d2d9bdfcSB, Ravi 35411bde1cdSSimon Glassconfig SPL_ETH_SUPPORT 35511bde1cdSSimon Glass bool "Support Ethernet" 35611bde1cdSSimon Glass depends on SPL_ENV_SUPPORT 35711bde1cdSSimon Glass help 35811bde1cdSSimon Glass Enable access to the network subsystem and associated Ethernet 35911bde1cdSSimon Glass drivers in SPL. This permits SPL to load U-Boot over an Ethernet 36011bde1cdSSimon Glass link rather than from an on-board peripheral. Environment support 36111bde1cdSSimon Glass is required since the network stack uses a number of environment 36211bde1cdSSimon Glass variables. See also SPL_NET_SUPPORT. 36311bde1cdSSimon Glass 36411bde1cdSSimon Glassconfig SPL_EXT_SUPPORT 36511bde1cdSSimon Glass bool "Support EXT filesystems" 36611bde1cdSSimon Glass help 36711bde1cdSSimon Glass Enable support for EXT2/3/4 filesystems with SPL. This permits 36811bde1cdSSimon Glass U-Boot (or Linux in Falcon mode) to be loaded from an EXT 36911bde1cdSSimon Glass filesystem from within SPL. Support for the underlying block 37011bde1cdSSimon Glass device (e.g. MMC or USB) must be enabled separately. 37111bde1cdSSimon Glass 37211bde1cdSSimon Glassconfig SPL_FAT_SUPPORT 37311bde1cdSSimon Glass bool "Support FAT filesystems" 374eedfb89eSSekhar Nori select FS_FAT 37511bde1cdSSimon Glass help 37611bde1cdSSimon Glass Enable support for FAT and VFAT filesystems with SPL. This 37711bde1cdSSimon Glass permits U-Boot (or Linux in Falcon mode) to be loaded from a FAT 37811bde1cdSSimon Glass filesystem from within SPL. Support for the underlying block 37911bde1cdSSimon Glass device (e.g. MMC or USB) must be enabled separately. 38011bde1cdSSimon Glass 38111bde1cdSSimon Glassconfig SPL_FPGA_SUPPORT 38211bde1cdSSimon Glass bool "Support FPGAs" 38311bde1cdSSimon Glass help 38411bde1cdSSimon Glass Enable support for FPGAs in SPL. Field-programmable Gate Arrays 38511bde1cdSSimon Glass provide software-configurable hardware which is typically used to 38611bde1cdSSimon Glass implement peripherals (such as UARTs, LCD displays, MMC) or 38711bde1cdSSimon Glass accelerate custom processing functions, such as image processing 38811bde1cdSSimon Glass or machine learning. Sometimes it is useful to program the FPGA 38911bde1cdSSimon Glass as early as possible during boot, and this option can enable that 39011bde1cdSSimon Glass within SPL. 39111bde1cdSSimon Glass 39211bde1cdSSimon Glassconfig SPL_GPIO_SUPPORT 39311bde1cdSSimon Glass bool "Support GPIO" 39411bde1cdSSimon Glass help 39511bde1cdSSimon Glass Enable support for GPIOs (General-purpose Input/Output) in SPL. 39611bde1cdSSimon Glass GPIOs allow U-Boot to read the state of an input line (high or 39711bde1cdSSimon Glass low) and set the state of an output line. This can be used to 39811bde1cdSSimon Glass drive LEDs, control power to various system parts and read user 39911bde1cdSSimon Glass input. GPIOs can be useful in SPL to enable a 'sign-of-life' LED, 40011bde1cdSSimon Glass for example. Enable this option to build the drivers in 40111bde1cdSSimon Glass drivers/gpio as part of an SPL build. 40211bde1cdSSimon Glass 40311bde1cdSSimon Glassconfig SPL_I2C_SUPPORT 40411bde1cdSSimon Glass bool "Support I2C" 40511bde1cdSSimon Glass help 40611bde1cdSSimon Glass Enable support for the I2C (Inter-Integrated Circuit) bus in SPL. 40711bde1cdSSimon Glass I2C works with a clock and data line which can be driven by a 40811bde1cdSSimon Glass one or more masters or slaves. It is a fairly complex bus but is 40911bde1cdSSimon Glass widely used as it only needs two lines for communication. Speeds of 41011bde1cdSSimon Glass 400kbps are typical but up to 3.4Mbps is supported by some 41111bde1cdSSimon Glass hardware. I2C can be useful in SPL to configure power management 41211bde1cdSSimon Glass ICs (PMICs) before raising the CPU clock speed, for example. 41311bde1cdSSimon Glass Enable this option to build the drivers in drivers/i2c as part of 41411bde1cdSSimon Glass an SPL build. 41511bde1cdSSimon Glass 41611bde1cdSSimon Glassconfig SPL_LIBCOMMON_SUPPORT 41711bde1cdSSimon Glass bool "Support common libraries" 41811bde1cdSSimon Glass help 41911bde1cdSSimon Glass Enable support for common U-Boot libraries within SPL. These 42011bde1cdSSimon Glass libraries include common code to deal with U-Boot images, 42111bde1cdSSimon Glass environment and USB, for example. This option is enabled on many 42211bde1cdSSimon Glass boards. Enable this option to build the code in common/ as part of 42311bde1cdSSimon Glass an SPL build. 42411bde1cdSSimon Glass 42511bde1cdSSimon Glassconfig SPL_LIBDISK_SUPPORT 42611bde1cdSSimon Glass bool "Support disk paritions" 42711bde1cdSSimon Glass help 42811bde1cdSSimon Glass Enable support for disk partitions within SPL. 'Disk' is something 42911bde1cdSSimon Glass of a misnomer as it includes non-spinning media such as flash (as 43011bde1cdSSimon Glass used in MMC and USB sticks). Partitions provide a way for a disk 43111bde1cdSSimon Glass to be split up into separate regions, with a partition table placed 43211bde1cdSSimon Glass at the start or end which describes the location and size of each 43311bde1cdSSimon Glass 'partition'. These partitions are typically uses as individual block 43411bde1cdSSimon Glass devices, typically with an EXT2 or FAT filesystem in each. This 43511bde1cdSSimon Glass option enables whatever partition support has been enabled in 43611bde1cdSSimon Glass U-Boot to also be used in SPL. It brings in the code in disk/. 43711bde1cdSSimon Glass 43811bde1cdSSimon Glassconfig SPL_LIBGENERIC_SUPPORT 43911bde1cdSSimon Glass bool "Support generic libraries" 44011bde1cdSSimon Glass help 44111bde1cdSSimon Glass Enable support for generic U-Boot libraries within SPL. These 44211bde1cdSSimon Glass libraries include generic code to deal with device tree, hashing, 44311bde1cdSSimon Glass printf(), compression and the like. This option is enabled on many 44411bde1cdSSimon Glass boards. Enable this option to build the code in lib/ as part of an 44511bde1cdSSimon Glass SPL build. 44611bde1cdSSimon Glass 44711bde1cdSSimon Glassconfig SPL_MMC_SUPPORT 44811bde1cdSSimon Glass bool "Support MMC" 449226498b8STom Rini depends on MMC 45011bde1cdSSimon Glass help 45111bde1cdSSimon Glass Enable support for MMC (Multimedia Card) within SPL. This enables 45211bde1cdSSimon Glass the MMC protocol implementation and allows any enabled drivers to 45311bde1cdSSimon Glass be used within SPL. MMC can be used with or without disk partition 45411bde1cdSSimon Glass support depending on the application (SPL_LIBDISK_SUPPORT). Enable 45511bde1cdSSimon Glass this option to build the drivers in drivers/mmc as part of an SPL 45611bde1cdSSimon Glass build. 45711bde1cdSSimon Glass 4589127fbf4SJean-Jacques Hiblotconfig SPL_MMC_WRITE 4599127fbf4SJean-Jacques Hiblot bool "MMC/SD/SDIO card support for write operations in SPL" 4609127fbf4SJean-Jacques Hiblot depends on SPL_MMC_SUPPORT 4619127fbf4SJean-Jacques Hiblot default n 4629127fbf4SJean-Jacques Hiblot help 4639127fbf4SJean-Jacques Hiblot Enable write access to MMC and SD Cards in SPL 4649127fbf4SJean-Jacques Hiblot 4659127fbf4SJean-Jacques Hiblot 46611bde1cdSSimon Glassconfig SPL_MPC8XXX_INIT_DDR_SUPPORT 46711bde1cdSSimon Glass bool "Support MPC8XXX DDR init" 46811bde1cdSSimon Glass help 46911bde1cdSSimon Glass Enable support for DDR-SDRAM (double-data-rate synchronous dynamic 47011bde1cdSSimon Glass random-access memory) on the MPC8XXX family within SPL. This 47111bde1cdSSimon Glass allows DRAM to be set up before loading U-Boot into that DRAM, 47211bde1cdSSimon Glass where it can run. 47311bde1cdSSimon Glass 47411bde1cdSSimon Glassconfig SPL_MTD_SUPPORT 47511bde1cdSSimon Glass bool "Support MTD drivers" 47611bde1cdSSimon Glass help 47711bde1cdSSimon Glass Enable support for MTD (Memory Technology Device) within SPL. MTD 47811bde1cdSSimon Glass provides a block interface over raw NAND and can also be used with 47911bde1cdSSimon Glass SPI flash. This allows SPL to load U-Boot from supported MTD 48011bde1cdSSimon Glass devices. See SPL_NAND_SUPPORT and SPL_ONENAND_SUPPORT for how 48111bde1cdSSimon Glass to enable specific MTD drivers. 48211bde1cdSSimon Glass 4833b1ddd14SJason Zhuconfig MTD_BLK_U_BOOT_OFFS 4843b1ddd14SJason Zhu hex "Location in MTD block to read U-Boot from" 4853b1ddd14SJason Zhu default 0x4000 4863b1ddd14SJason Zhu depends on SPL_MTD_SUPPORT 4873b1ddd14SJason Zhu help 4883b1ddd14SJason Zhu Set the offset from the start of the nand,spi nand and nor flash where 4893b1ddd14SJason Zhu u-boot should be loaded from. 4903b1ddd14SJason Zhu 491a0166cc6SJason Zhuconfig SPL_MTD_WRITE 492a0166cc6SJason Zhu bool "nand & spi nand & spi nor support for write operations in SPL" 493a0166cc6SJason Zhu depends on SPL_MTD_SUPPORT 494a0166cc6SJason Zhu default n 495a0166cc6SJason Zhu help 496a0166cc6SJason Zhu Enable write access to nand & spi nand & spi nor in SPL 497a0166cc6SJason Zhu 49811bde1cdSSimon Glassconfig SPL_MUSB_NEW_SUPPORT 49911bde1cdSSimon Glass bool "Support new Mentor Graphics USB" 50011bde1cdSSimon Glass help 50111bde1cdSSimon Glass Enable support for Mentor Graphics USB in SPL. This is a new 50211bde1cdSSimon Glass driver used by some boards. Enable this option to build 50311bde1cdSSimon Glass the drivers in drivers/usb/musb-new as part of an SPL build. The 50411bde1cdSSimon Glass old drivers are in drivers/usb/musb. 50511bde1cdSSimon Glass 50611bde1cdSSimon Glassconfig SPL_NAND_SUPPORT 50711bde1cdSSimon Glass bool "Support NAND flash" 50811bde1cdSSimon Glass help 50911bde1cdSSimon Glass Enable support for NAND (Negative AND) flash in SPL. NAND flash 51011bde1cdSSimon Glass can be used to allow SPL to load U-Boot from supported devices. 511cfcc706cSMiquel Raynal This enables the drivers in drivers/mtd/nand/raw as part of an SPL 51211bde1cdSSimon Glass build. 51311bde1cdSSimon Glass 51411bde1cdSSimon Glassconfig SPL_NET_SUPPORT 51511bde1cdSSimon Glass bool "Support networking" 51611bde1cdSSimon Glass help 51711bde1cdSSimon Glass Enable support for network devices (such as Ethernet) in SPL. 51811bde1cdSSimon Glass This permits SPL to load U-Boot over a network link rather than 51911bde1cdSSimon Glass from an on-board peripheral. Environment support is required since 52011bde1cdSSimon Glass the network stack uses a number of environment variables. See also 52111bde1cdSSimon Glass SPL_ETH_SUPPORT. 52211bde1cdSSimon Glass 52311bde1cdSSimon Glassif SPL_NET_SUPPORT 52411bde1cdSSimon Glassconfig SPL_NET_VCI_STRING 52511bde1cdSSimon Glass string "BOOTP Vendor Class Identifier string sent by SPL" 52611bde1cdSSimon Glass help 52711bde1cdSSimon Glass As defined by RFC 2132 the vendor class identifier field can be 52811bde1cdSSimon Glass sent by the client to identify the vendor type and configuration 52911bde1cdSSimon Glass of a client. This is often used in practice to allow for the DHCP 53011bde1cdSSimon Glass server to specify different files to load depending on if the ROM, 53111bde1cdSSimon Glass SPL or U-Boot itself makes the request 53211bde1cdSSimon Glassendif # if SPL_NET_SUPPORT 53311bde1cdSSimon Glass 53411bde1cdSSimon Glassconfig SPL_NO_CPU_SUPPORT 53511bde1cdSSimon Glass bool "Drop CPU code in SPL" 53611bde1cdSSimon Glass help 53711bde1cdSSimon Glass This is specific to the ARM926EJ-S CPU. It disables the standard 53811bde1cdSSimon Glass start.S start-up code, presumably so that a replacement can be 53911bde1cdSSimon Glass used on that CPU. You should not enable it unless you know what 54011bde1cdSSimon Glass you are doing. 54111bde1cdSSimon Glass 54211bde1cdSSimon Glassconfig SPL_NOR_SUPPORT 54311bde1cdSSimon Glass bool "Support NOR flash" 54411bde1cdSSimon Glass help 54511bde1cdSSimon Glass Enable support for loading U-Boot from memory-mapped NOR (Negative 54611bde1cdSSimon Glass OR) flash in SPL. NOR flash is slow to write but fast to read, and 54711bde1cdSSimon Glass a memory-mapped device makes it very easy to access. Loading from 54811bde1cdSSimon Glass NOR is typically achieved with just a memcpy(). 54911bde1cdSSimon Glass 550c6d9e9dbSVikas Manochaconfig SPL_XIP_SUPPORT 551c6d9e9dbSVikas Manocha bool "Support XIP" 552c6d9e9dbSVikas Manocha depends on SPL 553c6d9e9dbSVikas Manocha help 554c6d9e9dbSVikas Manocha Enable support for execute in place of U-Boot or kernel image. There 555c6d9e9dbSVikas Manocha is no need to copy image from flash to ram if flash supports execute 556c6d9e9dbSVikas Manocha in place. Its very useful in systems having enough flash but not 557c6d9e9dbSVikas Manocha enough ram to load the image. 558c6d9e9dbSVikas Manocha 55911bde1cdSSimon Glassconfig SPL_ONENAND_SUPPORT 56011bde1cdSSimon Glass bool "Support OneNAND flash" 56111bde1cdSSimon Glass help 56211bde1cdSSimon Glass Enable support for OneNAND (Negative AND) flash in SPL. OneNAND is 56311bde1cdSSimon Glass a type of NAND flash and therefore can be used to allow SPL to 56411bde1cdSSimon Glass load U-Boot from supported devices. This enables the drivers in 56511bde1cdSSimon Glass drivers/mtd/onenand as part of an SPL build. 56611bde1cdSSimon Glass 567c20ae2ffSHeiko Schocherconfig SPL_OS_BOOT 568c20ae2ffSHeiko Schocher bool "Activate Falcon Mode" 569226498b8STom Rini depends on !TI_SECURE_DEVICE 570c20ae2ffSHeiko Schocher default n 571c20ae2ffSHeiko Schocher help 572c20ae2ffSHeiko Schocher Enable booting directly to an OS from SPL. 573c20ae2ffSHeiko Schocher for more info read doc/README.falcon 574c20ae2ffSHeiko Schocher 57529d3bc79SHeiko Schocherif SPL_OS_BOOT 57629d3bc79SHeiko Schocherconfig SYS_OS_BASE 57729d3bc79SHeiko Schocher hex "addr, where OS is found" 578226498b8STom Rini depends on SPL_NOR_SUPPORT 57929d3bc79SHeiko Schocher help 58029d3bc79SHeiko Schocher Specify the address, where the OS image is found, which 58129d3bc79SHeiko Schocher gets booted. 58229d3bc79SHeiko Schocher 58329d3bc79SHeiko Schocherendif # SPL_OS_BOOT 58429d3bc79SHeiko Schocher 5852446b6b8SSimon Glassconfig SPL_PCI_SUPPORT 5862446b6b8SSimon Glass bool "Support PCI drivers" 5872446b6b8SSimon Glass help 5882446b6b8SSimon Glass Enable support for PCI in SPL. For platforms that need PCI to boot, 5892446b6b8SSimon Glass or must perform some init using PCI in SPL, this provides the 5902446b6b8SSimon Glass necessary driver support. This enables the drivers in drivers/pci 5912446b6b8SSimon Glass as part of an SPL build. 5922446b6b8SSimon Glass 593bbe41abfSSimon Glassconfig SPL_PCH_SUPPORT 594bbe41abfSSimon Glass bool "Support PCH drivers" 595bbe41abfSSimon Glass help 596bbe41abfSSimon Glass Enable support for PCH (Platform Controller Hub) devices in SPL. 597bbe41abfSSimon Glass These are used to set up GPIOs and the SPI peripheral early in 598bbe41abfSSimon Glass boot. This enables the drivers in drivers/pch as part of an SPL 599bbe41abfSSimon Glass build. 600bbe41abfSSimon Glass 60111bde1cdSSimon Glassconfig SPL_POST_MEM_SUPPORT 60211bde1cdSSimon Glass bool "Support POST drivers" 60311bde1cdSSimon Glass help 60411bde1cdSSimon Glass Enable support for POST (Power-on Self Test) in SPL. POST is a 60511bde1cdSSimon Glass procedure that checks that the hardware (CPU or board) appears to 60611bde1cdSSimon Glass be functionally correctly. It is a sanity check that can be 60711bde1cdSSimon Glass performed before booting. This enables the drivers in post/drivers 60811bde1cdSSimon Glass as part of an SPL build. 60911bde1cdSSimon Glass 61011bde1cdSSimon Glassconfig SPL_POWER_SUPPORT 61111bde1cdSSimon Glass bool "Support power drivers" 61211bde1cdSSimon Glass help 61311bde1cdSSimon Glass Enable support for power control in SPL. This includes support 61411bde1cdSSimon Glass for PMICs (Power-management Integrated Circuits) and some of the 61511bde1cdSSimon Glass features provided by PMICs. In particular, voltage regulators can 61611bde1cdSSimon Glass be used to enable/disable power and vary its voltage. That can be 61711bde1cdSSimon Glass useful in SPL to turn on boot peripherals and adjust CPU voltage 61811bde1cdSSimon Glass so that the clock speed can be increased. This enables the drivers 61911bde1cdSSimon Glass in drivers/power, drivers/power/pmic and drivers/power/regulator 62011bde1cdSSimon Glass as part of an SPL build. 62111bde1cdSSimon Glass 622cc668fbcSJason Zhuconfig SPL_PWM_SUPPORT 623cc668fbcSJason Zhu bool "Support PWM driver" 624cc668fbcSJason Zhu depends on SPL 625cc668fbcSJason Zhu help 626cc668fbcSJason Zhu Enable support for pwm in SPL. This allows use pwm to control 627cc668fbcSJason Zhu somethings, for example control voltage. 628cc668fbcSJason Zhu 62922802f4eSStefan Agnerconfig SPL_RAM_SUPPORT 63022802f4eSStefan Agner bool "Support booting from RAM" 63122802f4eSStefan Agner default y if MICROBLAZE || ARCH_SOCFPGA || TEGRA || ARCH_ZYNQ 63222802f4eSStefan Agner help 63322802f4eSStefan Agner Enable booting of an image in RAM. The image can be preloaded or 63422802f4eSStefan Agner it can be loaded by SPL directly into RAM (e.g. using USB). 63522802f4eSStefan Agner 636f417d40fSStefan Agnerconfig SPL_RAM_DEVICE 637f417d40fSStefan Agner bool "Support booting from preloaded image in RAM" 63822802f4eSStefan Agner depends on SPL_RAM_SUPPORT 639c4bf7455SJoseph Chen default y if ARCH_ROCKCHIP || MICROBLAZE || ARCH_SOCFPGA || TEGRA || ARCH_ZYNQ 640f417d40fSStefan Agner help 641f417d40fSStefan Agner Enable booting of an image already loaded in RAM. The image has to 642f417d40fSStefan Agner be already in memory when SPL takes over, e.g. loaded by the boot 643f417d40fSStefan Agner ROM. 644f417d40fSStefan Agner 64530bf8a0dSSimon Glassconfig SPL_RTC_SUPPORT 64630bf8a0dSSimon Glass bool "Support RTC drivers" 64730bf8a0dSSimon Glass help 64830bf8a0dSSimon Glass Enable RTC (Real-time Clock) support in SPL. This includes support 64930bf8a0dSSimon Glass for reading and setting the time. Some RTC devices also have some 65030bf8a0dSSimon Glass non-volatile (battery-backed) memory which is accessible if 65130bf8a0dSSimon Glass needed. This enables the drivers in drivers/rtc as part of an SPL 65230bf8a0dSSimon Glass build. 65330bf8a0dSSimon Glass 65411bde1cdSSimon Glassconfig SPL_SATA_SUPPORT 65511bde1cdSSimon Glass bool "Support loading from SATA" 65611bde1cdSSimon Glass help 65711bde1cdSSimon Glass Enable support for SATA (Serial AT attachment) in SPL. This allows 65811bde1cdSSimon Glass use of SATA devices such as hard drives and flash drivers for 65911bde1cdSSimon Glass loading U-Boot. SATA is used in higher-end embedded systems and 66011bde1cdSSimon Glass can provide higher performance than MMC , at somewhat higher 66111bde1cdSSimon Glass expense and power consumption. This enables loading from SATA 66211bde1cdSSimon Glass using a configured device. 66311bde1cdSSimon Glass 66411bde1cdSSimon Glassconfig SPL_SERIAL_SUPPORT 66511bde1cdSSimon Glass bool "Support serial" 66611bde1cdSSimon Glass help 66711bde1cdSSimon Glass Enable support for serial in SPL. This allows use of a serial UART 66811bde1cdSSimon Glass for displaying messages while SPL is running. It also brings in 66911bde1cdSSimon Glass printf() and panic() functions. This should normally be enabled 67011bde1cdSSimon Glass unless there are space reasons not to. Even then, consider 67111bde1cdSSimon Glass enabling USE_TINY_PRINTF which is a small printf() version. 67211bde1cdSSimon Glass 67311bde1cdSSimon Glassconfig SPL_SPI_FLASH_SUPPORT 67411bde1cdSSimon Glass bool "Support SPI flash drivers" 67511bde1cdSSimon Glass help 67611bde1cdSSimon Glass Enable support for using SPI flash in SPL, and loading U-Boot from 67711bde1cdSSimon Glass SPI flash. SPI flash (Serial Peripheral Bus flash) is named after 67811bde1cdSSimon Glass the SPI bus that is used to connect it to a system. It is a simple 67911bde1cdSSimon Glass but fast bidirectional 4-wire bus (clock, chip select and two data 68011bde1cdSSimon Glass lines). This enables the drivers in drivers/mtd/spi as part of an 68111bde1cdSSimon Glass SPL build. This normally requires SPL_SPI_SUPPORT. 68211bde1cdSSimon Glass 683ffc35703SYifeng Zhaoconfig SPL_RKNAND_SUPPORT 684ffc35703SYifeng Zhao bool "Rockchip NAND FLASH device support" 685ffc35703SYifeng Zhao depends on BLK 686ffc35703SYifeng Zhao select RKNAND 687ffc35703SYifeng Zhao select ZFTL if (ROCKCHIP_PX30 || ROCKCHIP_RK3568) 688ffc35703SYifeng Zhao help 689ffc35703SYifeng Zhao This option enables support for Rockchip NAND FLASH devices. 690ffc35703SYifeng Zhao It supports block interface(with rk ftl) to read and write NAND FLASH. 691ffc35703SYifeng Zhao 692ffc35703SYifeng Zhaoconfig RKNAND_BLK_U_BOOT_OFFS 693ffc35703SYifeng Zhao hex "Location in RKNAND block to read U-Boot from" 694ffc35703SYifeng Zhao default 0x4000 695ffc35703SYifeng Zhao depends on SPL_RKNAND_SUPPORT 696ffc35703SYifeng Zhao help 697ffc35703SYifeng Zhao Set the offset from the start of the rknand device where 698ffc35703SYifeng Zhao u-boot should be loaded from. 699ffc35703SYifeng Zhao 7002359fc6fSVignesh Rif SPL_SPI_FLASH_SUPPORT 7012359fc6fSVignesh R 702da748245SVignesh Rconfig SPL_SPI_FLASH_TINY 703da748245SVignesh R bool "Enable low footprint SPL SPI Flash support" 704da748245SVignesh R depends on !SPI_FLASH_BAR 705da748245SVignesh R help 706da748245SVignesh R Enable lightweight SPL SPI Flash support that supports just reading 707da748245SVignesh R data/images from flash. No support to write/erase flash. Enable 708da748245SVignesh R this if you have SPL size limitations and don't need full 709da748245SVignesh R fledged SPI flash support. 710da748245SVignesh R 7112359fc6fSVignesh Rconfig SPL_SPI_FLASH_SFDP_SUPPORT 7122359fc6fSVignesh R bool "SFDP table parsing support for SPI NOR flashes" 713da748245SVignesh R depends on !SPI_FLASH_BAR && !SPL_SPI_FLASH_TINY 7142359fc6fSVignesh R help 7152359fc6fSVignesh R Enable support for parsing and auto discovery of parameters for 7162359fc6fSVignesh R SPI NOR flashes using Serial Flash Discoverable Parameters (SFDP) 7172359fc6fSVignesh R tables as per JESD216 standard in SPL. 7182359fc6fSVignesh R 7192359fc6fSVignesh Rconfig SPL_SPI_LOAD 7202359fc6fSVignesh R bool "Support loading from SPI flash" 7212359fc6fSVignesh R help 7222359fc6fSVignesh R Enable support for loading next stage, U-Boot or otherwise, from 7232359fc6fSVignesh R SPI NOR in U-Boot SPL. 7242359fc6fSVignesh R 7252359fc6fSVignesh Rendif # SPL_SPI_FLASH_SUPPORT 7262359fc6fSVignesh R 72711bde1cdSSimon Glassconfig SPL_SPI_SUPPORT 72811bde1cdSSimon Glass bool "Support SPI drivers" 72911bde1cdSSimon Glass help 73011bde1cdSSimon Glass Enable support for using SPI in SPL. This is used for connecting 73111bde1cdSSimon Glass to SPI flash for loading U-Boot. See SPL_SPI_FLASH_SUPPORT for 73211bde1cdSSimon Glass more details on that. The SPI driver provides the transport for 73311bde1cdSSimon Glass data between the SPI flash and the CPU. This option can be used to 73411bde1cdSSimon Glass enable SPI drivers that are needed for other purposes also, such 73511bde1cdSSimon Glass as a SPI PMIC. 73611bde1cdSSimon Glass 73711bde1cdSSimon Glassconfig SPL_USB_HOST_SUPPORT 73811bde1cdSSimon Glass bool "Support USB host drivers" 73911bde1cdSSimon Glass help 74011bde1cdSSimon Glass Enable access to USB (Universal Serial Bus) host devices so that 74111bde1cdSSimon Glass SPL can load U-Boot from a connected USB peripheral, such as a USB 74211bde1cdSSimon Glass flash stick. While USB takes a little longer to start up than most 74311bde1cdSSimon Glass buses, it is very flexible since many different types of storage 74411bde1cdSSimon Glass device can be attached. This option enables the drivers in 74511bde1cdSSimon Glass drivers/usb/host as part of an SPL build. 74611bde1cdSSimon Glass 74711bde1cdSSimon Glassconfig SPL_USB_SUPPORT 74811bde1cdSSimon Glass bool "Support loading from USB" 74911bde1cdSSimon Glass depends on SPL_USB_HOST_SUPPORT 75011bde1cdSSimon Glass help 75111bde1cdSSimon Glass Enable support for USB devices in SPL. This allows use of USB 75211bde1cdSSimon Glass devices such as hard drives and flash drivers for loading U-Boot. 75311bde1cdSSimon Glass The actual drivers are enabled separately using the normal U-Boot 75411bde1cdSSimon Glass config options. This enables loading from USB using a configured 75511bde1cdSSimon Glass device. 75611bde1cdSSimon Glass 757eccca8a3SJean-Jacques Hiblotconfig SPL_USB_GADGET 758e94793c8SStefan Agner bool "Suppport USB Gadget drivers" 759e94793c8SStefan Agner help 760e94793c8SStefan Agner Enable USB Gadget API which allows to enable USB device functions 761e94793c8SStefan Agner in SPL. 762e94793c8SStefan Agner 763eccca8a3SJean-Jacques Hiblotif SPL_USB_GADGET 764e94793c8SStefan Agner 765e94793c8SStefan Agnerconfig SPL_USBETH_SUPPORT 766e94793c8SStefan Agner bool "Support USB Ethernet drivers" 767e94793c8SStefan Agner help 768e94793c8SStefan Agner Enable access to the USB network subsystem and associated 769e94793c8SStefan Agner drivers in SPL. This permits SPL to load U-Boot over a 770e94793c8SStefan Agner USB-connected Ethernet link (such as a USB Ethernet dongle) rather 771e94793c8SStefan Agner than from an onboard peripheral. Environment support is required 772e94793c8SStefan Agner since the network stack uses a number of environment variables. 773e94793c8SStefan Agner See also SPL_NET_SUPPORT and SPL_ETH_SUPPORT. 774e94793c8SStefan Agner 77509b32b41SAndrew F. Davisconfig SPL_DFU 77609b32b41SAndrew F. Davis bool "Support DFU (Device Firmware Upgrade)" 7775991703eSStefan Agner select SPL_HASH_SUPPORT 77866928afbSB, Ravi select SPL_DFU_NO_RESET 7791b19cbdbSB, Ravi depends on SPL_RAM_SUPPORT 7805991703eSStefan Agner help 7815991703eSStefan Agner This feature enables the DFU (Device Firmware Upgarde) in SPL with 7825991703eSStefan Agner RAM memory device support. The ROM code will load and execute 7835991703eSStefan Agner the SPL built with dfu. The user can load binaries (u-boot/kernel) to 7845991703eSStefan Agner selected device partition from host-pc using dfu-utils. 7855991703eSStefan Agner This feature is useful to flash the binaries to factory or bare-metal 7865991703eSStefan Agner boards using USB interface. 7875991703eSStefan Agner 7885991703eSStefan Agnerchoice 7895991703eSStefan Agner bool "DFU device selection" 79009b32b41SAndrew F. Davis depends on SPL_DFU 7915991703eSStefan Agner 7925991703eSStefan Agnerconfig SPL_DFU_RAM 7935991703eSStefan Agner bool "RAM device" 79409b32b41SAndrew F. Davis depends on SPL_DFU && SPL_RAM_SUPPORT 7955991703eSStefan Agner help 7965991703eSStefan Agner select RAM/DDR memory device for loading binary images 7975991703eSStefan Agner (u-boot/kernel) to the selected device partition using 7985991703eSStefan Agner DFU and execute the u-boot/kernel from RAM. 7995991703eSStefan Agner 8005991703eSStefan Agnerendchoice 8015991703eSStefan Agner 802a3774c1cSStefan Agnerconfig SPL_USB_SDP_SUPPORT 803a3774c1cSStefan Agner bool "Support SDP (Serial Download Protocol)" 804a3774c1cSStefan Agner help 805a3774c1cSStefan Agner Enable Serial Download Protocol (SDP) device support in SPL. This 806a3774c1cSStefan Agner allows to download images into memory and execute (jump to) them 807a3774c1cSStefan Agner using the same protocol as implemented by the i.MX family's boot ROM. 808e94793c8SStefan Agnerendif 809e94793c8SStefan Agner 81011bde1cdSSimon Glassconfig SPL_WATCHDOG_SUPPORT 81111bde1cdSSimon Glass bool "Support watchdog drivers" 81211bde1cdSSimon Glass help 81311bde1cdSSimon Glass Enable support for watchdog drivers in SPL. A watchdog is 81411bde1cdSSimon Glass typically a hardware peripheral which can reset the system when it 81511bde1cdSSimon Glass detects no activity for a while (such as a software crash). This 81611bde1cdSSimon Glass enables the drivers in drivers/watchdog as part of an SPL build. 81711bde1cdSSimon Glass 81811bde1cdSSimon Glassconfig SPL_YMODEM_SUPPORT 81911bde1cdSSimon Glass bool "Support loading using Ymodem" 82011bde1cdSSimon Glass help 82111bde1cdSSimon Glass While loading from serial is slow it can be a useful backup when 82211bde1cdSSimon Glass there is no other option. The Ymodem protocol provides a reliable 82311bde1cdSSimon Glass means of transmitting U-Boot over a serial line for using in SPL, 82411bde1cdSSimon Glass with a checksum to ensure correctness. 82511bde1cdSSimon Glass 8269f8888bcSPhilipp Tomsichconfig SPL_ATF 827bcc1726aSKever Yang bool "Support ARM Trusted Firmware" 828226498b8STom Rini depends on ARM64 829bcc1726aSKever Yang help 8304bba5ee7SPhilipp Tomsich ATF(ARM Trusted Firmware) is a component for ARM AArch64 which 831bcc1726aSKever Yang is loaded by SPL (which is considered as BL2 in ATF terminology). 832bcc1726aSKever Yang More detail at: https://github.com/ARM-software/arm-trusted-firmware 833bcc1726aSKever Yang 8341bd2b131SKever Yangconfig SPL_OPTEE_SUPPORT 8351bd2b131SKever Yang bool "Support OP-TEE Trusted OS" 8361bd2b131SKever Yang depends on ARM 8371bd2b131SKever Yang help 8381bd2b131SKever Yang OP-TEE is an open source Trusted OS which is loaded by SPL. 8391bd2b131SKever Yang More detail at: https://github.com/OP-TEE/optee_os 8401bd2b131SKever Yang 8414bba5ee7SPhilipp Tomsichconfig SPL_ATF_NO_PLATFORM_PARAM 8424bba5ee7SPhilipp Tomsich bool "Pass no platform parameter" 8434bba5ee7SPhilipp Tomsich depends on SPL_ATF 8444bba5ee7SPhilipp Tomsich help 8454bba5ee7SPhilipp Tomsich While we expect to call a pointer to a valid FDT (or NULL) 8464bba5ee7SPhilipp Tomsich as the platform parameter to an ATF, some ATF versions are 8474bba5ee7SPhilipp Tomsich not U-Boot aware and have an insufficiently robust parameter 8484bba5ee7SPhilipp Tomsich validation to gracefully reject a FDT being passed. 8494bba5ee7SPhilipp Tomsich 8504bba5ee7SPhilipp Tomsich If this option is enabled, the spl_atf os-type handler will 8514bba5ee7SPhilipp Tomsich always pass NULL for the platform parameter. 8524bba5ee7SPhilipp Tomsich 8534bba5ee7SPhilipp Tomsich If your ATF is affected, say Y. 8544bba5ee7SPhilipp Tomsich 8555d74586aSJoseph Chenconfig SPL_ATF_AARCH32_BL33 8565d74586aSJoseph Chen bool "Support BL33 runs as AArch32 mode" 8575d74586aSJoseph Chen depends on SPL_ATF 8585d74586aSJoseph Chen help 8595d74586aSJoseph Chen This option setup the AArch32 Mode for BL33. 8605d74586aSJoseph Chen 861099855e2SKever Yangconfig SPL_OPTEE 862099855e2SKever Yang bool "Support OP-TEE Trusted OS" 863099855e2SKever Yang depends on ARM 864099855e2SKever Yang help 865099855e2SKever Yang OP-TEE is an open source Trusted OS which is loaded by SPL. 866099855e2SKever Yang More detail at: https://github.com/OP-TEE/optee_os 867099855e2SKever Yang 8680cc16201SJason Zhuconfig SPL_AB 8690cc16201SJason Zhu bool "Support AB system boot" 8704736384cSJason Zhu depends on SPL && SPL_EFI_PARTITION 8710cc16201SJason Zhu help 8720cc16201SJason Zhu Enable this config to support AB system boot. 8730cc16201SJason Zhu 87413c5d8ecSJoseph Chenconfig SPL_LOAD_RKFW 87513c5d8ecSJoseph Chen bool "SPL support load rockchip firmware images" 87613c5d8ecSJoseph Chen depends on SPL 87713c5d8ecSJoseph Chen help 87813c5d8ecSJoseph Chen This enables SPL support load rockchip firmware images. 87913c5d8ecSJoseph Chen Please define both RKFW_TRUST_SECTOR and RKFW_U_BOOT_SECTOR 88013c5d8ecSJoseph Chen for trust and U-Boot images. 88113c5d8ecSJoseph Chen 88213c5d8ecSJoseph Chenconfig RKFW_TRUST_SECTOR 88313c5d8ecSJoseph Chen hex "rockchip trust image load sector" 88413c5d8ecSJoseph Chen depends on SPL_LOAD_RKFW 88513c5d8ecSJoseph Chen default 0x6000 88613c5d8ecSJoseph Chen 88713c5d8ecSJoseph Chenconfig RKFW_U_BOOT_SECTOR 88813c5d8ecSJoseph Chen hex "rockchip uboot image load sector" 88913c5d8ecSJoseph Chen depends on SPL_LOAD_RKFW 89013c5d8ecSJoseph Chen default 0x4000 89113c5d8ecSJoseph Chen 892440eb126SJason Zhuconfig RKFW_BOOT_SECTOR 893440eb126SJason Zhu hex "rockchip boot image load sector" 894440eb126SJason Zhu depends on SPL_LOAD_RKFW 895440eb126SJason Zhu default 0xa000 896440eb126SJason Zhu 897a2b9279dSJoseph Chenconfig SPL_KERNEL_BOOT 898a2b9279dSJoseph Chen bool "Enable boot kernel in SPL" 899a2b9279dSJoseph Chen depends on SPL 900a2b9279dSJoseph Chen help 901a2b9279dSJoseph Chen Enable boot kernel in SPL. 902a2b9279dSJoseph Chen 903*c8d86363SJoseph Chenconfig SPL_KERNEL_BOOT_PREBUILT 904*c8d86363SJoseph Chen bool "Enable boot kernel in SPL with prebuilt program" 905*c8d86363SJoseph Chen depends on SPL_KERNEL_BOOT 906*c8d86363SJoseph Chen default y 907*c8d86363SJoseph Chen help 908*c8d86363SJoseph Chen Enable boot kernel in SPL with prebuilt program. 909*c8d86363SJoseph Chen 910a00b516fSJoseph Chenconfig SPL_KERNEL_BOOT_SECTOR 911a00b516fSJoseph Chen hex "Sector address to load kernel in SPL" 912a00b516fSJoseph Chen depends on SPL_KERNEL_BOOT 9134623d13dSWeiwen Chen depends on !SPL_LIBDISK_SUPPORT 914a00b516fSJoseph Chen default 0xa000 915a00b516fSJoseph Chen 916a00b516fSJoseph Chenif SPL_LOAD_RKFW 91749f617a9SJason Zhuconfig SPL_KERNEL_ADDR 91849f617a9SJason Zhu hex "Kernel load address in spl" 91949f617a9SJason Zhu depends on SPL 92049f617a9SJason Zhu default 0x280000 92149f617a9SJason Zhu help 92249f617a9SJason Zhu Define the kernel address where load kernel image to. 92349f617a9SJason Zhu This is used to boot kernel in spl. 92449f617a9SJason Zhu 925fcf012f8SJason Zhuconfig SPL_KERNEL_COMPRESS_ADDR 926fcf012f8SJason Zhu hex "The compressed kernel in spl" 927fcf012f8SJason Zhu depends on SPL && SPL_ROCKCHIP_HW_DECOMPRESS 928fcf012f8SJason Zhu help 929fcf012f8SJason Zhu Load compressed kernel in this address, then call the 930fcf012f8SJason Zhu decompress process to decompress the firmware. 931fcf012f8SJason Zhu 932a6f23aeaSJason Zhuconfig SPL_KERNEL_DECOM_LIMIT_SIZE 933a6f23aeaSJason Zhu hex "The decompress limit size" 934a6f23aeaSJason Zhu depends on SPL && SPL_ROCKCHIP_HW_DECOMPRESS 935a6f23aeaSJason Zhu default 0x1ff8000 936a6f23aeaSJason Zhu help 937a6f23aeaSJason Zhu Define kernel maximum decompressible size that prevent 938a6f23aeaSJason Zhu memory overrun. 939a6f23aeaSJason Zhu 94049f617a9SJason Zhuconfig SPL_FDT_ADDR 94149f617a9SJason Zhu hex "Device tree blob load address in spl" 94249f617a9SJason Zhu depends on SPL 94349f617a9SJason Zhu default 0x01f00000 94449f617a9SJason Zhu help 94549f617a9SJason Zhu Define the fdt address where load dtb image to. 94649f617a9SJason Zhu This is used to boot kernel in spl. 94749f617a9SJason Zhu 94849f617a9SJason Zhuconfig SPL_RAMDISK_ADDR 94949f617a9SJason Zhu hex "Ramdisk load address in spl" 95049f617a9SJason Zhu depends on SPL 95149f617a9SJason Zhu default 0x0a200000 95249f617a9SJason Zhu help 95349f617a9SJason Zhu Define the ramdisk address where load ramdisk image to. 95449f617a9SJason Zhu This is used to boot kernel in spl. 95549f617a9SJason Zhu 956fcf012f8SJason Zhuconfig SPL_RAMDISK_COMPRESS_ADDR 957fcf012f8SJason Zhu hex "The compressed ramdisk in spl" 958fcf012f8SJason Zhu depends on SPL && SPL_ROCKCHIP_HW_DECOMPRESS 959fcf012f8SJason Zhu help 960fcf012f8SJason Zhu Load compressed ramdisk in this address, then call the 961fcf012f8SJason Zhu decompress process to decompress the firmware. 962fcf012f8SJason Zhu 963a6f23aeaSJason Zhuconfig SPL_RAMDISK_DECOM_LIMIT_SIZE 964a6f23aeaSJason Zhu hex "The decompress limit size" 965a6f23aeaSJason Zhu depends on SPL && SPL_ROCKCHIP_HW_DECOMPRESS 966a6f23aeaSJason Zhu default 0x3000000 967a6f23aeaSJason Zhu help 968a6f23aeaSJason Zhu Define ramdisk maximum decompressible size that prevent 969a6f23aeaSJason Zhu memory overrun. 970a2b9279dSJoseph Chenendif 971dd04b7cbSJason Zhu 972226498b8STom Riniconfig TPL 973226498b8STom Rini bool 974226498b8STom Rini depends on SUPPORT_TPL 975226498b8STom Rini prompt "Enable TPL" 976226498b8STom Rini help 977226498b8STom Rini If you want to build TPL as well as the normal image and SPL, say Y. 978226498b8STom Rini 979226498b8STom Riniif TPL 980226498b8STom Rini 98189c73a9cSKever Yangconfig TPL_BOARD_INIT 98289c73a9cSKever Yang bool "Call board-specific initialization in TPL" 98389c73a9cSKever Yang help 98489c73a9cSKever Yang If this option is enabled, U-Boot will call the function 98589c73a9cSKever Yang spl_board_init() from board_init_r(). This function should be 98689c73a9cSKever Yang provided by the board. 98789c73a9cSKever Yang 988dd6fbcb9SPhilipp Tomsichconfig TPL_LDSCRIPT 989dd6fbcb9SPhilipp Tomsich string "Linker script for the TPL stage" 990dd6fbcb9SPhilipp Tomsich depends on TPL 991dd6fbcb9SPhilipp Tomsich help 992dd6fbcb9SPhilipp Tomsich The TPL stage will usually require a different linker-script 993dd6fbcb9SPhilipp Tomsich (as it runs from a different memory region) than the regular 994dd6fbcb9SPhilipp Tomsich U-Boot stage. Set this to the path of the linker-script to 995dd6fbcb9SPhilipp Tomsich be used for TPL. 996dd6fbcb9SPhilipp Tomsich 997b3ed6ce7SPhilipp Tomsich May be left empty to trigger the Makefile infrastructure to 998b3ed6ce7SPhilipp Tomsich fall back to the linker-script used for the SPL stage. 999b3ed6ce7SPhilipp Tomsich 1000b3ed6ce7SPhilipp Tomsichconfig TPL_NEEDS_SEPARATE_TEXT_BASE 1001b3ed6ce7SPhilipp Tomsich bool "TPL needs a separate text-base" 1002b3ed6ce7SPhilipp Tomsich default n 1003b3ed6ce7SPhilipp Tomsich depends on TPL 1004b3ed6ce7SPhilipp Tomsich help 1005b3ed6ce7SPhilipp Tomsich Enable, if the TPL stage should not inherit its text-base 1006b3ed6ce7SPhilipp Tomsich from the SPL stage. When enabled, a base address for the 1007b3ed6ce7SPhilipp Tomsich .text sections of the TPL stage has to be set below. 1008b3ed6ce7SPhilipp Tomsich 1009b3ed6ce7SPhilipp Tomsichconfig TPL_NEEDS_SEPARATE_STACK 1010b3ed6ce7SPhilipp Tomsich bool "TPL needs a separate initial stack-pointer" 1011b3ed6ce7SPhilipp Tomsich default n 1012b3ed6ce7SPhilipp Tomsich depends on TPL 1013b3ed6ce7SPhilipp Tomsich help 1014b3ed6ce7SPhilipp Tomsich Enable, if the TPL stage should not inherit its initial 1015b3ed6ce7SPhilipp Tomsich stack-pointer from the settings for the SPL stage. 1016b3ed6ce7SPhilipp Tomsich 1017b3ed6ce7SPhilipp Tomsichconfig TPL_TEXT_BASE 1018b3ed6ce7SPhilipp Tomsich hex "Base address for the .text section of the TPL stage" 1019b3ed6ce7SPhilipp Tomsich depends on TPL_NEEDS_SEPARATE_TEXT_BASE 1020b3ed6ce7SPhilipp Tomsich help 1021b3ed6ce7SPhilipp Tomsich The base address for the .text section of the TPL stage. 1022b3ed6ce7SPhilipp Tomsich 1023b3ed6ce7SPhilipp Tomsichconfig TPL_MAX_SIZE 1024b3ed6ce7SPhilipp Tomsich int "Maximum size (in bytes) for the TPL stage" 10255aa49af3SPhilipp Tomsich default 0 1026b3ed6ce7SPhilipp Tomsich depends on TPL 1027b3ed6ce7SPhilipp Tomsich help 1028b3ed6ce7SPhilipp Tomsich The maximum size (in bytes) of the TPL stage. 1029b3ed6ce7SPhilipp Tomsich 1030b3ed6ce7SPhilipp Tomsichconfig TPL_STACK 1031b3ed6ce7SPhilipp Tomsich hex "Address of the initial stack-pointer for the TPL stage" 1032b3ed6ce7SPhilipp Tomsich depends on TPL_NEEDS_SEPARATE_STACK 1033b3ed6ce7SPhilipp Tomsich help 1034b3ed6ce7SPhilipp Tomsich The address of the initial stack-pointer for the TPL stage. 1035b3ed6ce7SPhilipp Tomsich Usually this will be the (aligned) top-of-stack. 1036b3ed6ce7SPhilipp Tomsich 1037a954fa32SPhilipp Tomsichconfig TPL_BOOTROM_SUPPORT 1038a954fa32SPhilipp Tomsich bool "Support returning to the BOOTROM (from TPL)" 1039a954fa32SPhilipp Tomsich help 1040a954fa32SPhilipp Tomsich Some platforms (e.g. the Rockchip RK3368) provide support in their 1041a954fa32SPhilipp Tomsich ROM for loading the next boot-stage after performing basic setup 1042a954fa32SPhilipp Tomsich from the TPL stage. 1043a954fa32SPhilipp Tomsich 1044a954fa32SPhilipp Tomsich Enable this option, to return to the BOOTROM through the 1045a954fa32SPhilipp Tomsich BOOT_DEVICE_BOOTROM (or fall-through to the next boot device in the 1046a954fa32SPhilipp Tomsich boot device list, if not implemented for a given board) 1047a954fa32SPhilipp Tomsich 1048c3916e7bSPhilipp Tomsichconfig TPL_DRIVERS_MISC_SUPPORT 1049c3916e7bSPhilipp Tomsich bool "Support misc drivers in TPL" 1050c3916e7bSPhilipp Tomsich help 1051c3916e7bSPhilipp Tomsich Enable miscellaneous drivers in TPL. These drivers perform various 1052c3916e7bSPhilipp Tomsich tasks that don't fall nicely into other categories, Enable this 1053c3916e7bSPhilipp Tomsich option to build the drivers in drivers/misc as part of an TPL 1054c3916e7bSPhilipp Tomsich build, for those that support building in TPL (not all drivers do). 1055c3916e7bSPhilipp Tomsich 1056f73329eeSSimon Glassconfig TPL_ENV_SUPPORT 1057f73329eeSSimon Glass bool "Support an environment" 1058f73329eeSSimon Glass help 1059f73329eeSSimon Glass Enable environment support in TPL. See SPL_ENV_SUPPORT for details. 1060f73329eeSSimon Glass 1061f73329eeSSimon Glassconfig TPL_I2C_SUPPORT 1062f73329eeSSimon Glass bool "Support I2C" 1063f73329eeSSimon Glass help 1064616bd09eSPhilipp Tomsich Enable support for the I2C bus in TPL. See SPL_I2C_SUPPORT for 1065f73329eeSSimon Glass details. 1066f73329eeSSimon Glass 1067f73329eeSSimon Glassconfig TPL_LIBCOMMON_SUPPORT 1068f73329eeSSimon Glass bool "Support common libraries" 1069f73329eeSSimon Glass help 1070f73329eeSSimon Glass Enable support for common U-Boot libraries within TPL. See 1071f73329eeSSimon Glass SPL_LIBCOMMON_SUPPORT for details. 1072f73329eeSSimon Glass 1073f73329eeSSimon Glassconfig TPL_LIBGENERIC_SUPPORT 1074f73329eeSSimon Glass bool "Support generic libraries" 1075f73329eeSSimon Glass help 1076f73329eeSSimon Glass Enable support for generic U-Boot libraries within TPL. See 1077f73329eeSSimon Glass SPL_LIBGENERIC_SUPPORT for details. 1078f73329eeSSimon Glass 1079ba5fd738SYouMin Chenconfig TPL_TINY_FRAMEWORK 108030129f2fSDavid Wu bool "Support not to use spl framework in TPL" 108130129f2fSDavid Wu help 108230129f2fSDavid Wu Enable support for not using spl framework in TPL, to reduce the TPL size. 108330129f2fSDavid Wu 1084f73329eeSSimon Glassconfig TPL_MPC8XXX_INIT_DDR_SUPPORT 1085f73329eeSSimon Glass bool "Support MPC8XXX DDR init" 1086f73329eeSSimon Glass help 1087f73329eeSSimon Glass Enable support for DDR-SDRAM on the MPC8XXX family within TPL. See 1088f73329eeSSimon Glass SPL_MPC8XXX_INIT_DDR_SUPPORT for details. 1089f73329eeSSimon Glass 1090f73329eeSSimon Glassconfig TPL_MMC_SUPPORT 1091f73329eeSSimon Glass bool "Support MMC" 1092226498b8STom Rini depends on MMC 1093f73329eeSSimon Glass help 1094f73329eeSSimon Glass Enable support for MMC within TPL. See SPL_MMC_SUPPORT for details. 1095f73329eeSSimon Glass 1096f73329eeSSimon Glassconfig TPL_NAND_SUPPORT 1097f73329eeSSimon Glass bool "Support NAND flash" 1098f73329eeSSimon Glass help 1099616bd09eSPhilipp Tomsich Enable support for NAND in TPL. See SPL_NAND_SUPPORT for details. 1100f73329eeSSimon Glass 1101f73329eeSSimon Glassconfig TPL_SERIAL_SUPPORT 1102f73329eeSSimon Glass bool "Support serial" 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 1113f73329eeSSimon Glassconfig TPL_SPI_SUPPORT 1114f73329eeSSimon Glass bool "Support SPI drivers" 1115f73329eeSSimon Glass help 1116616bd09eSPhilipp Tomsich Enable support for using SPI in TPL. See SPL_SPI_SUPPORT for 1117f73329eeSSimon Glass details. 1118f73329eeSSimon Glass 1119226498b8STom Riniendif # TPL 1120226498b8STom Rini 1121226498b8STom Riniendif # SPL 112211bde1cdSSimon Glassendmenu 1123