111bde1cdSSimon Glassmenu "SPL / TPL" 211bde1cdSSimon Glass 3c2ae7d82SSimon Glassconfig SUPPORT_SPL 4c2ae7d82SSimon Glass bool 5c2ae7d82SSimon Glass 6c2ae7d82SSimon Glassconfig SUPPORT_TPL 7c2ae7d82SSimon Glass bool 8c2ae7d82SSimon Glass 9c2ae7d82SSimon Glassconfig SPL 10c2ae7d82SSimon Glass bool 11c2ae7d82SSimon Glass depends on SUPPORT_SPL 12c2ae7d82SSimon Glass prompt "Enable SPL" 13c2ae7d82SSimon Glass help 14c2ae7d82SSimon Glass If you want to build SPL as well as the normal image, say Y. 15c2ae7d82SSimon Glass 16c2ae7d82SSimon Glassconfig SPL_SYS_MALLOC_SIMPLE 17c2ae7d82SSimon Glass bool 18c2ae7d82SSimon Glass depends on SPL 19c2ae7d82SSimon Glass prompt "Only use malloc_simple functions in the SPL" 20c2ae7d82SSimon Glass help 21c2ae7d82SSimon Glass Say Y here to only use the *_simple malloc functions from 22c2ae7d82SSimon Glass malloc_simple.c, rather then using the versions from dlmalloc.c; 23c2ae7d82SSimon Glass this will make the SPL binary smaller at the cost of more heap 24c2ae7d82SSimon Glass usage as the *_simple malloc functions do not re-use free-ed mem. 25c2ae7d82SSimon Glass 26c2ae7d82SSimon Glassconfig SPL_STACK_R 27c2ae7d82SSimon Glass depends on SPL 28c2ae7d82SSimon Glass bool "Enable SDRAM location for SPL stack" 29c2ae7d82SSimon Glass help 30c2ae7d82SSimon Glass SPL starts off execution in SRAM and thus typically has only a small 31c2ae7d82SSimon Glass stack available. Since SPL sets up DRAM while in its board_init_f() 32c2ae7d82SSimon Glass function, it is possible for the stack to move there before 33c2ae7d82SSimon Glass board_init_r() is reached. This option enables a special SDRAM 34c2ae7d82SSimon Glass location for the SPL stack. U-Boot SPL switches to this after 35c2ae7d82SSimon Glass board_init_f() completes, and before board_init_r() starts. 36c2ae7d82SSimon Glass 37c2ae7d82SSimon Glassconfig SPL_STACK_R_ADDR 38c2ae7d82SSimon Glass depends on SPL_STACK_R 39c2ae7d82SSimon Glass hex "SDRAM location for SPL stack" 40c2ae7d82SSimon Glass help 41c2ae7d82SSimon Glass Specify the address in SDRAM for the SPL stack. This will be set up 42c2ae7d82SSimon Glass before board_init_r() is called. 43c2ae7d82SSimon Glass 44c2ae7d82SSimon Glassconfig SPL_STACK_R_MALLOC_SIMPLE_LEN 45c2ae7d82SSimon Glass depends on SPL_STACK_R && SPL_SYS_MALLOC_SIMPLE 46c2ae7d82SSimon Glass hex "Size of malloc_simple heap after switching to DRAM SPL stack" 47c2ae7d82SSimon Glass default 0x100000 48c2ae7d82SSimon Glass help 49c2ae7d82SSimon Glass Specify the amount of the stack to use as memory pool for 50c2ae7d82SSimon Glass malloc_simple after switching the stack to DRAM. This may be set 51c2ae7d82SSimon Glass to give board_init_r() a larger heap then the initial heap in 52c2ae7d82SSimon Glass SRAM which is limited to SYS_MALLOC_F_LEN bytes. 53c2ae7d82SSimon Glass 54c2ae7d82SSimon Glassconfig SPL_SEPARATE_BSS 55c2ae7d82SSimon Glass depends on SPL 56c2ae7d82SSimon Glass bool "BSS section is in a different memory region from text" 57c2ae7d82SSimon Glass help 58c2ae7d82SSimon Glass Some platforms need a large BSS region in SPL and can provide this 59c2ae7d82SSimon Glass because RAM is already set up. In this case BSS can be moved to RAM. 60c2ae7d82SSimon Glass This option should then be enabled so that the correct device tree 61c2ae7d82SSimon Glass location is used. Normally we put the device tree at the end of BSS 62c2ae7d82SSimon Glass but with this option enabled, it goes at _image_binary_end. 63c2ae7d82SSimon Glass 64a807ab33SSimon Glassconfig SPL_DISPLAY_PRINT 65a807ab33SSimon Glass depends on SPL 66a807ab33SSimon Glass bool "Display a board-specific message in SPL" 67a807ab33SSimon Glass help 68a807ab33SSimon Glass If this option is enabled, U-Boot will call the function 69a807ab33SSimon Glass spl_display_print() immediately after displaying the SPL console 70a807ab33SSimon Glass banner ("U-Boot SPL ..."). This function should be provided by 71a807ab33SSimon Glass the board. 72a807ab33SSimon Glass 73c2ae7d82SSimon Glassconfig TPL 74c2ae7d82SSimon Glass bool 75c2ae7d82SSimon Glass depends on SPL && SUPPORT_TPL 76c2ae7d82SSimon Glass prompt "Enable TPL" 77c2ae7d82SSimon Glass help 78c2ae7d82SSimon Glass If you want to build TPL as well as the normal image and SPL, say Y. 7911bde1cdSSimon Glass 8011bde1cdSSimon Glassconfig SPL_CRC32_SUPPORT 8111bde1cdSSimon Glass bool "Support CRC32" 8211bde1cdSSimon Glass depends on SPL_FIT 8311bde1cdSSimon Glass help 8411bde1cdSSimon Glass Enable this to support CRC32 in FIT images within SPL. This is a 8511bde1cdSSimon Glass 32-bit checksum value that can be used to verify images. This is 8611bde1cdSSimon Glass the least secure type of checksum, suitable for detected 8711bde1cdSSimon Glass accidental image corruption. For secure applications you should 8811bde1cdSSimon Glass consider SHA1 or SHA256. 8911bde1cdSSimon Glass 9011bde1cdSSimon Glassconfig SPL_MD5_SUPPORT 9111bde1cdSSimon Glass bool "Support MD5" 9211bde1cdSSimon Glass depends on SPL_FIT 9311bde1cdSSimon Glass help 9411bde1cdSSimon Glass Enable this to support MD5 in FIT images within SPL. An MD5 9511bde1cdSSimon Glass checksum is a 128-bit hash value used to check that the image 9611bde1cdSSimon Glass contents have not been corrupted. Note that MD5 is not considered 9711bde1cdSSimon Glass secure as it is possible (with a brute-force attack) to adjust the 9811bde1cdSSimon Glass image while still retaining the same MD5 hash value. For secure 9911bde1cdSSimon Glass applications where images may be changed maliciously, you should 10011bde1cdSSimon Glass consider SHA1 or SHA256. 10111bde1cdSSimon Glass 10211bde1cdSSimon Glassconfig SPL_SHA1_SUPPORT 10311bde1cdSSimon Glass bool "Support SHA1" 10411bde1cdSSimon Glass depends on SPL_FIT 10511bde1cdSSimon Glass help 10611bde1cdSSimon Glass Enable this to support SHA1 in FIT images within SPL. A SHA1 10711bde1cdSSimon Glass checksum is a 160-bit (20-byte) hash value used to check that the 10811bde1cdSSimon Glass image contents have not been corrupted or maliciously altered. 10911bde1cdSSimon Glass While SHA1 is fairly secure it is coming to the end of its life 11011bde1cdSSimon Glass due to the expanding computing power avaiable to brute-force 11111bde1cdSSimon Glass attacks. For more security, consider SHA256. 11211bde1cdSSimon Glass 11311bde1cdSSimon Glassconfig SPL_SHA256_SUPPORT 11411bde1cdSSimon Glass bool "Support SHA256" 11511bde1cdSSimon Glass depends on SPL_FIT 11611bde1cdSSimon Glass help 11711bde1cdSSimon Glass Enable this to support SHA256 in FIT images within SPL. A SHA256 11811bde1cdSSimon Glass checksum is a 256-bit (32-byte) hash value used to check that the 11911bde1cdSSimon Glass image contents have not been corrupted. SHA256 is recommended for 12011bde1cdSSimon Glass use in secure applications since (as at 2016) there is no known 12111bde1cdSSimon Glass feasible attack that could produce a 'collision' with differing 12211bde1cdSSimon Glass input data. Use this for the highest security. Note that only the 12311bde1cdSSimon Glass SHA256 variant is supported: SHA512 and others are not currently 12411bde1cdSSimon Glass supported in U-Boot. 12511bde1cdSSimon Glass 12611bde1cdSSimon Glassconfig SPL_CRYPTO_SUPPORT 12711bde1cdSSimon Glass bool "Support crypto drivers" 12811bde1cdSSimon Glass depends on SPL 12911bde1cdSSimon Glass help 13011bde1cdSSimon Glass Enable crypto drivers in SPL. These drivers can be used to 13111bde1cdSSimon Glass accelerate secure boot processing in secure applications. Enable 13211bde1cdSSimon Glass this option to build the drivers in drivers/crypto as part of an 13311bde1cdSSimon Glass SPL build. 13411bde1cdSSimon Glass 13511bde1cdSSimon Glassconfig SPL_HASH_SUPPORT 13611bde1cdSSimon Glass bool "Support hashing drivers" 13711bde1cdSSimon Glass depends on SPL 13811bde1cdSSimon Glass help 13911bde1cdSSimon Glass Enable hashing drivers in SPL. These drivers can be used to 14011bde1cdSSimon Glass accelerate secure boot processing in secure applications. Enable 14111bde1cdSSimon Glass this option to build system-specific drivers for hash acceleration 14211bde1cdSSimon Glass as part of an SPL build. 14311bde1cdSSimon Glass 14411bde1cdSSimon Glassconfig SPL_DMA_SUPPORT 14511bde1cdSSimon Glass bool "Support DMA drivers" 14611bde1cdSSimon Glass depends on SPL 14711bde1cdSSimon Glass help 14811bde1cdSSimon Glass Enable DMA (direct-memory-access) drivers in SPL. These drivers 14911bde1cdSSimon Glass can be used to handle memory-to-peripheral data transfer without 15011bde1cdSSimon Glass the CPU moving the data. Enable this option to build the drivers 15111bde1cdSSimon Glass in drivers/dma as part of an SPL build. 15211bde1cdSSimon Glass 15311bde1cdSSimon Glassconfig SPL_DRIVERS_MISC_SUPPORT 15411bde1cdSSimon Glass bool "Support misc drivers" 15511bde1cdSSimon Glass depends on SPL 15611bde1cdSSimon Glass help 15711bde1cdSSimon Glass Enable miscellaneous drivers in SPL. These drivers perform various 15811bde1cdSSimon Glass tasks that don't fall nicely into other categories, Enable this 15911bde1cdSSimon Glass option to build the drivers in drivers/misc as part of an SPL 16011bde1cdSSimon Glass build, for those that support building in SPL (not all drivers do). 16111bde1cdSSimon Glass 16211bde1cdSSimon Glassconfig SPL_ENV_SUPPORT 16311bde1cdSSimon Glass bool "Support an environment" 16411bde1cdSSimon Glass depends on SPL 16511bde1cdSSimon Glass help 16611bde1cdSSimon Glass Enable environment support in SPL. The U-Boot environment provides 16711bde1cdSSimon Glass a number of settings (essentially name/value pairs) which can 16811bde1cdSSimon Glass control many aspects of U-Boot's operation. Normally this is not 16911bde1cdSSimon Glass needed in SPL as it has a much simpler task with less 17011bde1cdSSimon Glass configuration. But some boards use this to support 'Falcon' boot 17111bde1cdSSimon Glass on EXT2 and FAT, where SPL boots directly into Linux without 17211bde1cdSSimon Glass starting U-Boot first. Enabling this option will make getenv() 17311bde1cdSSimon Glass and setenv() available in SPL. 17411bde1cdSSimon Glass 175d2d9bdfcSB, Raviconfig SPL_SAVEENV 176d2d9bdfcSB, Ravi bool "Support save environment" 177d2d9bdfcSB, Ravi depends on SPL && SPL_ENV_SUPPORT 178d2d9bdfcSB, Ravi help 179d2d9bdfcSB, Ravi Enable save environment support in SPL after setenv. By default 180d2d9bdfcSB, Ravi the saveenv option is not provided in SPL, but some boards need 181d2d9bdfcSB, Ravi this support in 'Falcon' boot, where SPL need to boot from 182d2d9bdfcSB, Ravi different images based on environment variable set by OS. For 183d2d9bdfcSB, Ravi example OS may set "reboot_image" environment variable to 184d2d9bdfcSB, Ravi "recovery" inorder to boot recovery image by SPL. The SPL read 185d2d9bdfcSB, Ravi "reboot_image" and act accordingly and change the reboot_image 186d2d9bdfcSB, Ravi to default mode using setenv and save the environemnt. 187d2d9bdfcSB, Ravi 18811bde1cdSSimon Glassconfig SPL_ETH_SUPPORT 18911bde1cdSSimon Glass bool "Support Ethernet" 19011bde1cdSSimon Glass depends on SPL_ENV_SUPPORT 19111bde1cdSSimon Glass help 19211bde1cdSSimon Glass Enable access to the network subsystem and associated Ethernet 19311bde1cdSSimon Glass drivers in SPL. This permits SPL to load U-Boot over an Ethernet 19411bde1cdSSimon Glass link rather than from an on-board peripheral. Environment support 19511bde1cdSSimon Glass is required since the network stack uses a number of environment 19611bde1cdSSimon Glass variables. See also SPL_NET_SUPPORT. 19711bde1cdSSimon Glass 19811bde1cdSSimon Glassconfig SPL_EXT_SUPPORT 19911bde1cdSSimon Glass bool "Support EXT filesystems" 20011bde1cdSSimon Glass depends on SPL 20111bde1cdSSimon Glass help 20211bde1cdSSimon Glass Enable support for EXT2/3/4 filesystems with SPL. This permits 20311bde1cdSSimon Glass U-Boot (or Linux in Falcon mode) to be loaded from an EXT 20411bde1cdSSimon Glass filesystem from within SPL. Support for the underlying block 20511bde1cdSSimon Glass device (e.g. MMC or USB) must be enabled separately. 20611bde1cdSSimon Glass 20711bde1cdSSimon Glassconfig SPL_FAT_SUPPORT 20811bde1cdSSimon Glass bool "Support FAT filesystems" 20911bde1cdSSimon Glass depends on SPL 21011bde1cdSSimon Glass help 21111bde1cdSSimon Glass Enable support for FAT and VFAT filesystems with SPL. This 21211bde1cdSSimon Glass permits U-Boot (or Linux in Falcon mode) to be loaded from a FAT 21311bde1cdSSimon Glass filesystem from within SPL. Support for the underlying block 21411bde1cdSSimon Glass device (e.g. MMC or USB) must be enabled separately. 21511bde1cdSSimon Glass 21611bde1cdSSimon Glassconfig SPL_FPGA_SUPPORT 21711bde1cdSSimon Glass bool "Support FPGAs" 21811bde1cdSSimon Glass depends on SPL 21911bde1cdSSimon Glass help 22011bde1cdSSimon Glass Enable support for FPGAs in SPL. Field-programmable Gate Arrays 22111bde1cdSSimon Glass provide software-configurable hardware which is typically used to 22211bde1cdSSimon Glass implement peripherals (such as UARTs, LCD displays, MMC) or 22311bde1cdSSimon Glass accelerate custom processing functions, such as image processing 22411bde1cdSSimon Glass or machine learning. Sometimes it is useful to program the FPGA 22511bde1cdSSimon Glass as early as possible during boot, and this option can enable that 22611bde1cdSSimon Glass within SPL. 22711bde1cdSSimon Glass 22811bde1cdSSimon Glassconfig SPL_GPIO_SUPPORT 22911bde1cdSSimon Glass bool "Support GPIO" 23011bde1cdSSimon Glass depends on SPL 23111bde1cdSSimon Glass help 23211bde1cdSSimon Glass Enable support for GPIOs (General-purpose Input/Output) in SPL. 23311bde1cdSSimon Glass GPIOs allow U-Boot to read the state of an input line (high or 23411bde1cdSSimon Glass low) and set the state of an output line. This can be used to 23511bde1cdSSimon Glass drive LEDs, control power to various system parts and read user 23611bde1cdSSimon Glass input. GPIOs can be useful in SPL to enable a 'sign-of-life' LED, 23711bde1cdSSimon Glass for example. Enable this option to build the drivers in 23811bde1cdSSimon Glass drivers/gpio as part of an SPL build. 23911bde1cdSSimon Glass 24011bde1cdSSimon Glassconfig SPL_I2C_SUPPORT 24111bde1cdSSimon Glass bool "Support I2C" 24211bde1cdSSimon Glass depends on SPL 24311bde1cdSSimon Glass help 24411bde1cdSSimon Glass Enable support for the I2C (Inter-Integrated Circuit) bus in SPL. 24511bde1cdSSimon Glass I2C works with a clock and data line which can be driven by a 24611bde1cdSSimon Glass one or more masters or slaves. It is a fairly complex bus but is 24711bde1cdSSimon Glass widely used as it only needs two lines for communication. Speeds of 24811bde1cdSSimon Glass 400kbps are typical but up to 3.4Mbps is supported by some 24911bde1cdSSimon Glass hardware. I2C can be useful in SPL to configure power management 25011bde1cdSSimon Glass ICs (PMICs) before raising the CPU clock speed, for example. 25111bde1cdSSimon Glass Enable this option to build the drivers in drivers/i2c as part of 25211bde1cdSSimon Glass an SPL build. 25311bde1cdSSimon Glass 25411bde1cdSSimon Glassconfig SPL_LIBCOMMON_SUPPORT 25511bde1cdSSimon Glass bool "Support common libraries" 25611bde1cdSSimon Glass depends on SPL 25711bde1cdSSimon Glass help 25811bde1cdSSimon Glass Enable support for common U-Boot libraries within SPL. These 25911bde1cdSSimon Glass libraries include common code to deal with U-Boot images, 26011bde1cdSSimon Glass environment and USB, for example. This option is enabled on many 26111bde1cdSSimon Glass boards. Enable this option to build the code in common/ as part of 26211bde1cdSSimon Glass an SPL build. 26311bde1cdSSimon Glass 26411bde1cdSSimon Glassconfig SPL_LIBDISK_SUPPORT 26511bde1cdSSimon Glass bool "Support disk paritions" 26611bde1cdSSimon Glass depends on SPL 26711bde1cdSSimon Glass help 26811bde1cdSSimon Glass Enable support for disk partitions within SPL. 'Disk' is something 26911bde1cdSSimon Glass of a misnomer as it includes non-spinning media such as flash (as 27011bde1cdSSimon Glass used in MMC and USB sticks). Partitions provide a way for a disk 27111bde1cdSSimon Glass to be split up into separate regions, with a partition table placed 27211bde1cdSSimon Glass at the start or end which describes the location and size of each 27311bde1cdSSimon Glass 'partition'. These partitions are typically uses as individual block 27411bde1cdSSimon Glass devices, typically with an EXT2 or FAT filesystem in each. This 27511bde1cdSSimon Glass option enables whatever partition support has been enabled in 27611bde1cdSSimon Glass U-Boot to also be used in SPL. It brings in the code in disk/. 27711bde1cdSSimon Glass 27811bde1cdSSimon Glassconfig SPL_LIBGENERIC_SUPPORT 27911bde1cdSSimon Glass bool "Support generic libraries" 28011bde1cdSSimon Glass depends on SPL 28111bde1cdSSimon Glass help 28211bde1cdSSimon Glass Enable support for generic U-Boot libraries within SPL. These 28311bde1cdSSimon Glass libraries include generic code to deal with device tree, hashing, 28411bde1cdSSimon Glass printf(), compression and the like. This option is enabled on many 28511bde1cdSSimon Glass boards. Enable this option to build the code in lib/ as part of an 28611bde1cdSSimon Glass SPL build. 28711bde1cdSSimon Glass 28811bde1cdSSimon Glassconfig SPL_MMC_SUPPORT 28911bde1cdSSimon Glass bool "Support MMC" 29011bde1cdSSimon Glass depends on SPL 29111bde1cdSSimon Glass help 29211bde1cdSSimon Glass Enable support for MMC (Multimedia Card) within SPL. This enables 29311bde1cdSSimon Glass the MMC protocol implementation and allows any enabled drivers to 29411bde1cdSSimon Glass be used within SPL. MMC can be used with or without disk partition 29511bde1cdSSimon Glass support depending on the application (SPL_LIBDISK_SUPPORT). Enable 29611bde1cdSSimon Glass this option to build the drivers in drivers/mmc as part of an SPL 29711bde1cdSSimon Glass build. 29811bde1cdSSimon Glass 29911bde1cdSSimon Glassconfig SPL_MPC8XXX_INIT_DDR_SUPPORT 30011bde1cdSSimon Glass bool "Support MPC8XXX DDR init" 30111bde1cdSSimon Glass depends on SPL 30211bde1cdSSimon Glass help 30311bde1cdSSimon Glass Enable support for DDR-SDRAM (double-data-rate synchronous dynamic 30411bde1cdSSimon Glass random-access memory) on the MPC8XXX family within SPL. This 30511bde1cdSSimon Glass allows DRAM to be set up before loading U-Boot into that DRAM, 30611bde1cdSSimon Glass where it can run. 30711bde1cdSSimon Glass 30811bde1cdSSimon Glassconfig SPL_MTD_SUPPORT 30911bde1cdSSimon Glass bool "Support MTD drivers" 31011bde1cdSSimon Glass depends on SPL 31111bde1cdSSimon Glass help 31211bde1cdSSimon Glass Enable support for MTD (Memory Technology Device) within SPL. MTD 31311bde1cdSSimon Glass provides a block interface over raw NAND and can also be used with 31411bde1cdSSimon Glass SPI flash. This allows SPL to load U-Boot from supported MTD 31511bde1cdSSimon Glass devices. See SPL_NAND_SUPPORT and SPL_ONENAND_SUPPORT for how 31611bde1cdSSimon Glass to enable specific MTD drivers. 31711bde1cdSSimon Glass 31811bde1cdSSimon Glassconfig SPL_MUSB_NEW_SUPPORT 31911bde1cdSSimon Glass bool "Support new Mentor Graphics USB" 32011bde1cdSSimon Glass depends on SPL 32111bde1cdSSimon Glass help 32211bde1cdSSimon Glass Enable support for Mentor Graphics USB in SPL. This is a new 32311bde1cdSSimon Glass driver used by some boards. Enable this option to build 32411bde1cdSSimon Glass the drivers in drivers/usb/musb-new as part of an SPL build. The 32511bde1cdSSimon Glass old drivers are in drivers/usb/musb. 32611bde1cdSSimon Glass 32711bde1cdSSimon Glassconfig SPL_NAND_SUPPORT 32811bde1cdSSimon Glass bool "Support NAND flash" 32911bde1cdSSimon Glass depends on SPL 33011bde1cdSSimon Glass help 33111bde1cdSSimon Glass Enable support for NAND (Negative AND) flash in SPL. NAND flash 33211bde1cdSSimon Glass can be used to allow SPL to load U-Boot from supported devices. 33311bde1cdSSimon Glass This enables the drivers in drivers/mtd/nand as part of an SPL 33411bde1cdSSimon Glass build. 33511bde1cdSSimon Glass 33611bde1cdSSimon Glassconfig SPL_NET_SUPPORT 33711bde1cdSSimon Glass bool "Support networking" 33811bde1cdSSimon Glass depends on SPL 33911bde1cdSSimon Glass help 34011bde1cdSSimon Glass Enable support for network devices (such as Ethernet) in SPL. 34111bde1cdSSimon Glass This permits SPL to load U-Boot over a network link rather than 34211bde1cdSSimon Glass from an on-board peripheral. Environment support is required since 34311bde1cdSSimon Glass the network stack uses a number of environment variables. See also 34411bde1cdSSimon Glass SPL_ETH_SUPPORT. 34511bde1cdSSimon Glass 34611bde1cdSSimon Glassif SPL_NET_SUPPORT 34711bde1cdSSimon Glassconfig SPL_NET_VCI_STRING 34811bde1cdSSimon Glass string "BOOTP Vendor Class Identifier string sent by SPL" 34911bde1cdSSimon Glass help 35011bde1cdSSimon Glass As defined by RFC 2132 the vendor class identifier field can be 35111bde1cdSSimon Glass sent by the client to identify the vendor type and configuration 35211bde1cdSSimon Glass of a client. This is often used in practice to allow for the DHCP 35311bde1cdSSimon Glass server to specify different files to load depending on if the ROM, 35411bde1cdSSimon Glass SPL or U-Boot itself makes the request 35511bde1cdSSimon Glassendif # if SPL_NET_SUPPORT 35611bde1cdSSimon Glass 35711bde1cdSSimon Glassconfig SPL_NO_CPU_SUPPORT 35811bde1cdSSimon Glass bool "Drop CPU code in SPL" 35911bde1cdSSimon Glass depends on SPL 36011bde1cdSSimon Glass help 36111bde1cdSSimon Glass This is specific to the ARM926EJ-S CPU. It disables the standard 36211bde1cdSSimon Glass start.S start-up code, presumably so that a replacement can be 36311bde1cdSSimon Glass used on that CPU. You should not enable it unless you know what 36411bde1cdSSimon Glass you are doing. 36511bde1cdSSimon Glass 36611bde1cdSSimon Glassconfig SPL_NOR_SUPPORT 36711bde1cdSSimon Glass bool "Support NOR flash" 36811bde1cdSSimon Glass depends on SPL 36911bde1cdSSimon Glass help 37011bde1cdSSimon Glass Enable support for loading U-Boot from memory-mapped NOR (Negative 37111bde1cdSSimon Glass OR) flash in SPL. NOR flash is slow to write but fast to read, and 37211bde1cdSSimon Glass a memory-mapped device makes it very easy to access. Loading from 37311bde1cdSSimon Glass NOR is typically achieved with just a memcpy(). 37411bde1cdSSimon Glass 37511bde1cdSSimon Glassconfig SPL_ONENAND_SUPPORT 37611bde1cdSSimon Glass bool "Support OneNAND flash" 37711bde1cdSSimon Glass depends on SPL 37811bde1cdSSimon Glass help 37911bde1cdSSimon Glass Enable support for OneNAND (Negative AND) flash in SPL. OneNAND is 38011bde1cdSSimon Glass a type of NAND flash and therefore can be used to allow SPL to 38111bde1cdSSimon Glass load U-Boot from supported devices. This enables the drivers in 38211bde1cdSSimon Glass drivers/mtd/onenand as part of an SPL build. 38311bde1cdSSimon Glass 384*c20ae2ffSHeiko Schocherconfig SPL_OS_BOOT 385*c20ae2ffSHeiko Schocher bool "Activate Falcon Mode" 386*c20ae2ffSHeiko Schocher depends on SPL && !TI_SECURE_DEVICE 387*c20ae2ffSHeiko Schocher default n 388*c20ae2ffSHeiko Schocher help 389*c20ae2ffSHeiko Schocher Enable booting directly to an OS from SPL. 390*c20ae2ffSHeiko Schocher for more info read doc/README.falcon 391*c20ae2ffSHeiko Schocher 39211bde1cdSSimon Glassconfig SPL_POST_MEM_SUPPORT 39311bde1cdSSimon Glass bool "Support POST drivers" 39411bde1cdSSimon Glass depends on SPL 39511bde1cdSSimon Glass help 39611bde1cdSSimon Glass Enable support for POST (Power-on Self Test) in SPL. POST is a 39711bde1cdSSimon Glass procedure that checks that the hardware (CPU or board) appears to 39811bde1cdSSimon Glass be functionally correctly. It is a sanity check that can be 39911bde1cdSSimon Glass performed before booting. This enables the drivers in post/drivers 40011bde1cdSSimon Glass as part of an SPL build. 40111bde1cdSSimon Glass 40211bde1cdSSimon Glassconfig SPL_POWER_SUPPORT 40311bde1cdSSimon Glass bool "Support power drivers" 40411bde1cdSSimon Glass depends on SPL 40511bde1cdSSimon Glass help 40611bde1cdSSimon Glass Enable support for power control in SPL. This includes support 40711bde1cdSSimon Glass for PMICs (Power-management Integrated Circuits) and some of the 40811bde1cdSSimon Glass features provided by PMICs. In particular, voltage regulators can 40911bde1cdSSimon Glass be used to enable/disable power and vary its voltage. That can be 41011bde1cdSSimon Glass useful in SPL to turn on boot peripherals and adjust CPU voltage 41111bde1cdSSimon Glass so that the clock speed can be increased. This enables the drivers 41211bde1cdSSimon Glass in drivers/power, drivers/power/pmic and drivers/power/regulator 41311bde1cdSSimon Glass as part of an SPL build. 41411bde1cdSSimon Glass 41511bde1cdSSimon Glassconfig SPL_SATA_SUPPORT 41611bde1cdSSimon Glass bool "Support loading from SATA" 41711bde1cdSSimon Glass depends on SPL 41811bde1cdSSimon Glass help 41911bde1cdSSimon Glass Enable support for SATA (Serial AT attachment) in SPL. This allows 42011bde1cdSSimon Glass use of SATA devices such as hard drives and flash drivers for 42111bde1cdSSimon Glass loading U-Boot. SATA is used in higher-end embedded systems and 42211bde1cdSSimon Glass can provide higher performance than MMC , at somewhat higher 42311bde1cdSSimon Glass expense and power consumption. This enables loading from SATA 42411bde1cdSSimon Glass using a configured device. 42511bde1cdSSimon Glass 42611bde1cdSSimon Glassconfig SPL_SERIAL_SUPPORT 42711bde1cdSSimon Glass bool "Support serial" 42811bde1cdSSimon Glass depends on SPL 42911bde1cdSSimon Glass help 43011bde1cdSSimon Glass Enable support for serial in SPL. This allows use of a serial UART 43111bde1cdSSimon Glass for displaying messages while SPL is running. It also brings in 43211bde1cdSSimon Glass printf() and panic() functions. This should normally be enabled 43311bde1cdSSimon Glass unless there are space reasons not to. Even then, consider 43411bde1cdSSimon Glass enabling USE_TINY_PRINTF which is a small printf() version. 43511bde1cdSSimon Glass 43611bde1cdSSimon Glassconfig SPL_SPI_FLASH_SUPPORT 43711bde1cdSSimon Glass bool "Support SPI flash drivers" 43811bde1cdSSimon Glass depends on SPL 43911bde1cdSSimon Glass help 44011bde1cdSSimon Glass Enable support for using SPI flash in SPL, and loading U-Boot from 44111bde1cdSSimon Glass SPI flash. SPI flash (Serial Peripheral Bus flash) is named after 44211bde1cdSSimon Glass the SPI bus that is used to connect it to a system. It is a simple 44311bde1cdSSimon Glass but fast bidirectional 4-wire bus (clock, chip select and two data 44411bde1cdSSimon Glass lines). This enables the drivers in drivers/mtd/spi as part of an 44511bde1cdSSimon Glass SPL build. This normally requires SPL_SPI_SUPPORT. 44611bde1cdSSimon Glass 44711bde1cdSSimon Glassconfig SPL_SPI_SUPPORT 44811bde1cdSSimon Glass bool "Support SPI drivers" 44911bde1cdSSimon Glass depends on SPL 45011bde1cdSSimon Glass help 45111bde1cdSSimon Glass Enable support for using SPI in SPL. This is used for connecting 45211bde1cdSSimon Glass to SPI flash for loading U-Boot. See SPL_SPI_FLASH_SUPPORT for 45311bde1cdSSimon Glass more details on that. The SPI driver provides the transport for 45411bde1cdSSimon Glass data between the SPI flash and the CPU. This option can be used to 45511bde1cdSSimon Glass enable SPI drivers that are needed for other purposes also, such 45611bde1cdSSimon Glass as a SPI PMIC. 45711bde1cdSSimon Glass 45811bde1cdSSimon Glassconfig SPL_USBETH_SUPPORT 45911bde1cdSSimon Glass bool "Support USB Ethernet drivers" 46011bde1cdSSimon Glass depends on SPL 46111bde1cdSSimon Glass help 46211bde1cdSSimon Glass Enable access to the USB network subsystem and associated 46311bde1cdSSimon Glass drivers in SPL. This permits SPL to load U-Boot over a 46411bde1cdSSimon Glass USB-connected Ethernet link (such as a USB Ethernet dongle) rather 46511bde1cdSSimon Glass than from an onboard peripheral. Environment support is required 46611bde1cdSSimon Glass since the network stack uses a number of environment variables. 46711bde1cdSSimon Glass See also SPL_NET_SUPPORT and SPL_ETH_SUPPORT. 46811bde1cdSSimon Glass 46911bde1cdSSimon Glassconfig SPL_USB_HOST_SUPPORT 47011bde1cdSSimon Glass bool "Support USB host drivers" 47111bde1cdSSimon Glass depends on SPL 47211bde1cdSSimon Glass help 47311bde1cdSSimon Glass Enable access to USB (Universal Serial Bus) host devices so that 47411bde1cdSSimon Glass SPL can load U-Boot from a connected USB peripheral, such as a USB 47511bde1cdSSimon Glass flash stick. While USB takes a little longer to start up than most 47611bde1cdSSimon Glass buses, it is very flexible since many different types of storage 47711bde1cdSSimon Glass device can be attached. This option enables the drivers in 47811bde1cdSSimon Glass drivers/usb/host as part of an SPL build. 47911bde1cdSSimon Glass 48011bde1cdSSimon Glassconfig SPL_USB_SUPPORT 48111bde1cdSSimon Glass bool "Support loading from USB" 48211bde1cdSSimon Glass depends on SPL_USB_HOST_SUPPORT 48311bde1cdSSimon Glass help 48411bde1cdSSimon Glass Enable support for USB devices in SPL. This allows use of USB 48511bde1cdSSimon Glass devices such as hard drives and flash drivers for loading U-Boot. 48611bde1cdSSimon Glass The actual drivers are enabled separately using the normal U-Boot 48711bde1cdSSimon Glass config options. This enables loading from USB using a configured 48811bde1cdSSimon Glass device. 48911bde1cdSSimon Glass 49011bde1cdSSimon Glassconfig SPL_WATCHDOG_SUPPORT 49111bde1cdSSimon Glass bool "Support watchdog drivers" 49211bde1cdSSimon Glass depends on SPL 49311bde1cdSSimon Glass help 49411bde1cdSSimon Glass Enable support for watchdog drivers in SPL. A watchdog is 49511bde1cdSSimon Glass typically a hardware peripheral which can reset the system when it 49611bde1cdSSimon Glass detects no activity for a while (such as a software crash). This 49711bde1cdSSimon Glass enables the drivers in drivers/watchdog as part of an SPL build. 49811bde1cdSSimon Glass 49911bde1cdSSimon Glassconfig SPL_YMODEM_SUPPORT 50011bde1cdSSimon Glass bool "Support loading using Ymodem" 50111bde1cdSSimon Glass depends on SPL 50211bde1cdSSimon Glass help 50311bde1cdSSimon Glass While loading from serial is slow it can be a useful backup when 50411bde1cdSSimon Glass there is no other option. The Ymodem protocol provides a reliable 50511bde1cdSSimon Glass means of transmitting U-Boot over a serial line for using in SPL, 50611bde1cdSSimon Glass with a checksum to ensure correctness. 50711bde1cdSSimon Glass 508f73329eeSSimon Glassconfig TPL_ENV_SUPPORT 509f73329eeSSimon Glass bool "Support an environment" 510f73329eeSSimon Glass depends on TPL 511f73329eeSSimon Glass help 512f73329eeSSimon Glass Enable environment support in TPL. See SPL_ENV_SUPPORT for details. 513f73329eeSSimon Glass 514f73329eeSSimon Glassconfig TPL_I2C_SUPPORT 515f73329eeSSimon Glass bool "Support I2C" 516f73329eeSSimon Glass depends on TPL 517f73329eeSSimon Glass help 518f73329eeSSimon Glass Enable support for the I2C bus in SPL. See SPL_I2C_SUPPORT for 519f73329eeSSimon Glass details. 520f73329eeSSimon Glass 521f73329eeSSimon Glassconfig TPL_LIBCOMMON_SUPPORT 522f73329eeSSimon Glass bool "Support common libraries" 523f73329eeSSimon Glass depends on TPL 524f73329eeSSimon Glass help 525f73329eeSSimon Glass Enable support for common U-Boot libraries within TPL. See 526f73329eeSSimon Glass SPL_LIBCOMMON_SUPPORT for details. 527f73329eeSSimon Glass 528f73329eeSSimon Glassconfig TPL_LIBGENERIC_SUPPORT 529f73329eeSSimon Glass bool "Support generic libraries" 530f73329eeSSimon Glass depends on TPL 531f73329eeSSimon Glass help 532f73329eeSSimon Glass Enable support for generic U-Boot libraries within TPL. See 533f73329eeSSimon Glass SPL_LIBGENERIC_SUPPORT for details. 534f73329eeSSimon Glass 535f73329eeSSimon Glassconfig TPL_MPC8XXX_INIT_DDR_SUPPORT 536f73329eeSSimon Glass bool "Support MPC8XXX DDR init" 537f73329eeSSimon Glass depends on TPL 538f73329eeSSimon Glass help 539f73329eeSSimon Glass Enable support for DDR-SDRAM on the MPC8XXX family within TPL. See 540f73329eeSSimon Glass SPL_MPC8XXX_INIT_DDR_SUPPORT for details. 541f73329eeSSimon Glass 542f73329eeSSimon Glassconfig TPL_MMC_SUPPORT 543f73329eeSSimon Glass bool "Support MMC" 544f73329eeSSimon Glass depends on TPL 545f73329eeSSimon Glass help 546f73329eeSSimon Glass Enable support for MMC within TPL. See SPL_MMC_SUPPORT for details. 547f73329eeSSimon Glass 548f73329eeSSimon Glassconfig TPL_NAND_SUPPORT 549f73329eeSSimon Glass bool "Support NAND flash" 550f73329eeSSimon Glass depends on TPL 551f73329eeSSimon Glass help 552f73329eeSSimon Glass Enable support for NAND in SPL. See SPL_NAND_SUPPORT for details. 553f73329eeSSimon Glass 554f73329eeSSimon Glassconfig TPL_SERIAL_SUPPORT 555f73329eeSSimon Glass bool "Support serial" 556f73329eeSSimon Glass depends on TPL 557f73329eeSSimon Glass help 558f73329eeSSimon Glass Enable support for serial in SPL. See SPL_SERIAL_SUPPORT for 559f73329eeSSimon Glass details. 560f73329eeSSimon Glass 561f73329eeSSimon Glassconfig TPL_SPI_FLASH_SUPPORT 562f73329eeSSimon Glass bool "Support SPI flash drivers" 563f73329eeSSimon Glass depends on TPL 564f73329eeSSimon Glass help 565f73329eeSSimon Glass Enable support for using SPI flash in SPL. See SPL_SPI_FLASH_SUPPORT 566f73329eeSSimon Glass for details. 567f73329eeSSimon Glass 568f73329eeSSimon Glassconfig TPL_SPI_SUPPORT 569f73329eeSSimon Glass bool "Support SPI drivers" 570f73329eeSSimon Glass depends on TPL 571f73329eeSSimon Glass help 572f73329eeSSimon Glass Enable support for using SPI in SPL. See SPL_SPI_SUPPORT for 573f73329eeSSimon Glass details. 574f73329eeSSimon Glass 57511bde1cdSSimon Glassendmenu 576