4 config VPL_BANNER_PRINT
5 bool "Enable output of the VPL banner 'U-Boot VPL ...'"
8 If this option is enabled, VPL will print the banner with version
9 info. Disabling this option could be useful to reduce VPL boot time
10 (e.g. approx. 6 ms faster, when output on i.MX6 with 115200 baud).
13 bool "Call board-specific initialization in VPL"
15 If this option is enabled, U-Boot will call the function
16 spl_board_init() from board_init_r(). This function should be
17 provided by the board.
21 bool "Support cache drivers in VPL"
23 Enable support for cache drivers in VPL.
26 bool "Support CRC32 in VPL"
27 default y if VPL_ENV_SUPPORT || VPL_BLOBLIST
29 Enable this to support CRC32 in uImages or FIT images within VPL.
30 This is a 32-bit checksum value that can be used to verify images.
31 For FIT images, this is the least secure type of checksum, suitable
32 for detected accidental image corruption. For secure applications you
33 should consider SHA1 or SHA256.
36 bool "Support SPI DM drivers in VPL"
38 Enable support for SPI DM drivers in VPL.
40 config VPL_DM_SPI_FLASH
41 bool "Support SPI DM FLASH drivers in VPL"
43 Enable support for SPI DM flash drivers in VPL.
46 bool "Support VPL based upon the common SPL framework"
49 Enable the SPL framework under common/spl/ for VPL builds.
50 This framework supports MMC, NAND and YMODEM and other methods
51 loading of U-Boot's next stage. If unsure, say Y.
54 bool "Pass hand-off information from VPL to SPL"
55 depends on HANDOFF && VPL_BLOBLIST
58 This option enables VPL to write handoff information. This can be
59 used to pass information like the size of SDRAM from VPL to SPL. Also
60 VPL can receive information from TPL in the same place if that is
63 config VPL_LIBCOMMON_SUPPORT
64 bool "Support common libraries"
65 default y if SPL_LIBCOMMON_SUPPORT
67 Enable support for common U-Boot libraries within VPL. See
68 SPL_LIBCOMMON_SUPPORT for details.
70 config VPL_LIBGENERIC_SUPPORT
71 bool "Support generic libraries"
72 default y if SPL_LIBGENERIC_SUPPORT
74 Enable support for generic U-Boot libraries within VPL. These
75 libraries include generic code to deal with device tree, hashing,
76 printf(), compression and the like. This option is enabled on many
77 boards. Enable this option to build the code in lib/ as part of a
80 config VPL_DRIVERS_MISC
81 bool "Support misc drivers"
82 default y if TPL_DRIVERS_MISC
84 Enable miscellaneous drivers in VPL. These drivers perform various
85 tasks that don't fall nicely into other categories, Enable this
86 option to build the drivers in drivers/misc as part of a VPL
87 build, for those that support building in VPL (not all drivers do).
89 config VPL_ENV_SUPPORT
90 bool "Support an environment"
92 Enable environment support in VPL. The U-Boot environment provides
93 a number of settings (essentially name/value pairs) which can
94 control many aspects of U-Boot's operation. Enabling this option will
95 make env_get() and env_set() available in VSPL.
98 bool "Support GPIO in VPL"
101 Enable support for GPIOs (General-purpose Input/Output) in VPL.
102 GPIOs allow U-Boot to read the state of an input line (high or
103 low) and set the state of an output line. This can be used to
104 drive LEDs, control power to various system parts and read user
105 input. GPIOs can be useful in VPL to enable a 'sign-of-life' LED,
106 for example. Enable this option to build the drivers in
107 drivers/gpio as part of a VPL build.
110 bool "Pass hand-off information from VPL to SPL and U-Boot proper"
111 depends on HANDOFF && VPL_BLOBLIST
114 This option enables VPL to write handoff information. This can be
115 used to pass information like the size of SDRAM from VPL to U-Boot
116 proper. The information is also available to VPL if it is useful
120 bool "Support hashing drivers in VPL"
124 Enable hashing drivers in VPL. These drivers can be used to
125 accelerate secure boot processing in secure applications. Enable
126 this option to build system-specific drivers for hash acceleration
127 as part of a VPL build.
129 config VPL_I2C_SUPPORT
130 bool "Support I2C in VPL"
131 default y if SPL_I2C_SUPPORT
133 Enable support for the I2C bus in VPL. Vee SPL_I2C_SUPPORT for
136 config VPL_PCH_SUPPORT
137 bool "Support PCH drivers"
138 default y if TPL_PCH_SUPPORT
140 Enable support for PCH (Platform Controller Hub) devices in VPL.
141 These are used to set up GPIOs and the SPI peripheral early in
142 boot. This enables the drivers in drivers/pch as part of a VPL
146 bool "Support PCI drivers"
149 Enable support for PCI in VPL. For platforms that need PCI to boot,
150 or must perform some init using PCI in VPL, this provides the
151 necessary driver support. This enables the drivers in drivers/pci
152 as part of a VPL build.
155 bool "Support RTC drivers"
157 Enable RTC (Real-time Clock) support in VPL. This includes support
158 for reading and setting the time. Some RTC devices also have some
159 non-volatile (battery-backed) memory which is accessible if
160 needed. This enables the drivers in drivers/rtc as part of a VPL
164 bool "Support serial"
165 default y if TPL_SERIAL
169 Enable support for serial in VPL. See SPL_SERIAL for
172 config VPL_SIZE_LIMIT
173 hex "Maximum size of VPL image"
176 Specifies the maximum length of the U-Boot VPL image.
177 If this value is zero, it is ignored.
180 bool "Support SPI drivers"
182 Enable support for using SPI in VPL. See SPL_SPI_SUPPORT for
185 config VPL_SPI_FLASH_SUPPORT
186 bool "Support SPI flash drivers"
188 Enable support for using SPI flash in VPL, and loading U-Boot from
189 SPI flash. SPI flash (Serial Peripheral Bus flash) is named after
190 the SPI bus that is used to connect it to a system. It is a simple
191 but fast bidirectional 4-wire bus (clock, chip select and two data
192 lines). This enables the drivers in drivers/mtd/spi as part of a
193 VPL build. This normally requires VPL_SPI_SUPPORT.
199 The address in memory that VPL will be running from.
201 config VPL_BINMAN_SYMBOLS
202 bool "Declare binman symbols in VPL"
203 depends on VPL_FRAMEWORK && BINMAN
206 This enables use of symbols in VPL which refer to other entries in
207 the same binman image as the VPL. These can be declared with the
208 binman_sym_declare(type, entry, prop) macro and accessed by the
209 binman_sym(type, entry, prop) macro defined in binman_sym.h.
211 See tools/binman/binman.rst for a detailed explanation.
213 config VPL_BINMAN_UBOOT_SYMBOLS
214 bool "Declare binman symbols for U-Boot phases in VPL"
215 depends on VPL_BINMAN_SYMBOLS
216 default n if ARCH_IMX8M
219 This enables use of symbols in VPL which refer to U-Boot phases,
220 enabling VPL to obtain the location and size of its next phase simply
221 by calling spl_get_image_pos() and spl_get_image_size().
223 For this to work, you must have all U-Boot phases in the same binman
224 image, so binman can update VPL with the locations of everything.