Kconfig 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669
  1. menu "SPL / TPL"
  2. config SUPPORT_SPL
  3. bool
  4. config SUPPORT_TPL
  5. bool
  6. config SPL_DFU_NO_RESET
  7. bool
  8. config SPL
  9. bool
  10. depends on SUPPORT_SPL
  11. prompt "Enable SPL"
  12. help
  13. If you want to build SPL as well as the normal image, say Y.
  14. config SPL_SYS_MALLOC_SIMPLE
  15. bool
  16. depends on SPL
  17. prompt "Only use malloc_simple functions in the SPL"
  18. help
  19. Say Y here to only use the *_simple malloc functions from
  20. malloc_simple.c, rather then using the versions from dlmalloc.c;
  21. this will make the SPL binary smaller at the cost of more heap
  22. usage as the *_simple malloc functions do not re-use free-ed mem.
  23. config SPL_STACK_R
  24. depends on SPL
  25. bool "Enable SDRAM location for SPL stack"
  26. help
  27. SPL starts off execution in SRAM and thus typically has only a small
  28. stack available. Since SPL sets up DRAM while in its board_init_f()
  29. function, it is possible for the stack to move there before
  30. board_init_r() is reached. This option enables a special SDRAM
  31. location for the SPL stack. U-Boot SPL switches to this after
  32. board_init_f() completes, and before board_init_r() starts.
  33. config SPL_STACK_R_ADDR
  34. depends on SPL_STACK_R
  35. hex "SDRAM location for SPL stack"
  36. help
  37. Specify the address in SDRAM for the SPL stack. This will be set up
  38. before board_init_r() is called.
  39. config SPL_STACK_R_MALLOC_SIMPLE_LEN
  40. depends on SPL_STACK_R && SPL_SYS_MALLOC_SIMPLE
  41. hex "Size of malloc_simple heap after switching to DRAM SPL stack"
  42. default 0x100000
  43. help
  44. Specify the amount of the stack to use as memory pool for
  45. malloc_simple after switching the stack to DRAM. This may be set
  46. to give board_init_r() a larger heap then the initial heap in
  47. SRAM which is limited to SYS_MALLOC_F_LEN bytes.
  48. config SPL_SEPARATE_BSS
  49. depends on SPL
  50. bool "BSS section is in a different memory region from text"
  51. help
  52. Some platforms need a large BSS region in SPL and can provide this
  53. because RAM is already set up. In this case BSS can be moved to RAM.
  54. This option should then be enabled so that the correct device tree
  55. location is used. Normally we put the device tree at the end of BSS
  56. but with this option enabled, it goes at _image_binary_end.
  57. config SPL_DISPLAY_PRINT
  58. depends on SPL
  59. bool "Display a board-specific message in SPL"
  60. help
  61. If this option is enabled, U-Boot will call the function
  62. spl_display_print() immediately after displaying the SPL console
  63. banner ("U-Boot SPL ..."). This function should be provided by
  64. the board.
  65. config SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR
  66. bool "MMC raw mode: by sector"
  67. depends on SPL
  68. default y if ARCH_SUNXI || ARCH_DAVINCI || ARCH_UNIPHIER ||ARCH_MX6 || \
  69. ARCH_ROCKCHIP || ARCH_MVEBU || ARCH_SOCFPGA || \
  70. ARCH_AT91 || ARCH_ZYNQ || ARCH_KEYSTONE || OMAP34XX || \
  71. OMAP44XX || OMAP54XX || AM33XX || AM43XX
  72. help
  73. Use sector number for specifying U-Boot location on MMC/SD in
  74. raw mode.
  75. config SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR
  76. hex "Address on the MMC to load U-Boot from"
  77. depends on SPL && SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR
  78. default 0x50 if ARCH_SUNXI
  79. default 0x75 if ARCH_DAVINCI
  80. default 0x80 if ARCH_UNIPHIER
  81. default 0x8a if ARCH_MX6
  82. default 0x100 if ARCH_ROCKCHIP
  83. default 0x140 if ARCH_MVEBU
  84. default 0x200 if ARCH_SOCFPGA || ARCH_AT91
  85. default 0x300 if ARCH_ZYNQ || ARCH_KEYSTONE || OMAP34XX || OMAP44XX || \
  86. OMAP54XX || AM33XX || AM43XX
  87. help
  88. Address on the MMC to load U-Boot from, when the MMC is being used
  89. in raw mode. Units: MMC sectors (1 sector = 512 bytes).
  90. config TPL
  91. bool
  92. depends on SPL && SUPPORT_TPL
  93. prompt "Enable TPL"
  94. help
  95. If you want to build TPL as well as the normal image and SPL, say Y.
  96. config SPL_CRC32_SUPPORT
  97. bool "Support CRC32"
  98. depends on SPL_FIT
  99. help
  100. Enable this to support CRC32 in FIT images within SPL. This is a
  101. 32-bit checksum value that can be used to verify images. This is
  102. the least secure type of checksum, suitable for detected
  103. accidental image corruption. For secure applications you should
  104. consider SHA1 or SHA256.
  105. config SPL_MD5_SUPPORT
  106. bool "Support MD5"
  107. depends on SPL_FIT
  108. help
  109. Enable this to support MD5 in FIT images within SPL. An MD5
  110. checksum is a 128-bit hash value used to check that the image
  111. contents have not been corrupted. Note that MD5 is not considered
  112. secure as it is possible (with a brute-force attack) to adjust the
  113. image while still retaining the same MD5 hash value. For secure
  114. applications where images may be changed maliciously, you should
  115. consider SHA1 or SHA256.
  116. config SPL_SHA1_SUPPORT
  117. bool "Support SHA1"
  118. depends on SPL_FIT
  119. help
  120. Enable this to support SHA1 in FIT images within SPL. A SHA1
  121. checksum is a 160-bit (20-byte) hash value used to check that the
  122. image contents have not been corrupted or maliciously altered.
  123. While SHA1 is fairly secure it is coming to the end of its life
  124. due to the expanding computing power avaiable to brute-force
  125. attacks. For more security, consider SHA256.
  126. config SPL_SHA256_SUPPORT
  127. bool "Support SHA256"
  128. depends on SPL_FIT
  129. help
  130. Enable this to support SHA256 in FIT images within SPL. A SHA256
  131. checksum is a 256-bit (32-byte) hash value used to check that the
  132. image contents have not been corrupted. SHA256 is recommended for
  133. use in secure applications since (as at 2016) there is no known
  134. feasible attack that could produce a 'collision' with differing
  135. input data. Use this for the highest security. Note that only the
  136. SHA256 variant is supported: SHA512 and others are not currently
  137. supported in U-Boot.
  138. config SPL_CRYPTO_SUPPORT
  139. bool "Support crypto drivers"
  140. depends on SPL
  141. help
  142. Enable crypto drivers in SPL. These drivers can be used to
  143. accelerate secure boot processing in secure applications. Enable
  144. this option to build the drivers in drivers/crypto as part of an
  145. SPL build.
  146. config SPL_HASH_SUPPORT
  147. bool "Support hashing drivers"
  148. depends on SPL
  149. help
  150. Enable hashing drivers in SPL. These drivers can be used to
  151. accelerate secure boot processing in secure applications. Enable
  152. this option to build system-specific drivers for hash acceleration
  153. as part of an SPL build.
  154. config SPL_DMA_SUPPORT
  155. bool "Support DMA drivers"
  156. depends on SPL
  157. help
  158. Enable DMA (direct-memory-access) drivers in SPL. These drivers
  159. can be used to handle memory-to-peripheral data transfer without
  160. the CPU moving the data. Enable this option to build the drivers
  161. in drivers/dma as part of an SPL build.
  162. config SPL_DRIVERS_MISC_SUPPORT
  163. bool "Support misc drivers"
  164. depends on SPL
  165. help
  166. Enable miscellaneous drivers in SPL. These drivers perform various
  167. tasks that don't fall nicely into other categories, Enable this
  168. option to build the drivers in drivers/misc as part of an SPL
  169. build, for those that support building in SPL (not all drivers do).
  170. config SPL_ENV_SUPPORT
  171. bool "Support an environment"
  172. depends on SPL
  173. help
  174. Enable environment support in SPL. The U-Boot environment provides
  175. a number of settings (essentially name/value pairs) which can
  176. control many aspects of U-Boot's operation. Normally this is not
  177. needed in SPL as it has a much simpler task with less
  178. configuration. But some boards use this to support 'Falcon' boot
  179. on EXT2 and FAT, where SPL boots directly into Linux without
  180. starting U-Boot first. Enabling this option will make getenv()
  181. and setenv() available in SPL.
  182. config SPL_SAVEENV
  183. bool "Support save environment"
  184. depends on SPL && SPL_ENV_SUPPORT
  185. help
  186. Enable save environment support in SPL after setenv. By default
  187. the saveenv option is not provided in SPL, but some boards need
  188. this support in 'Falcon' boot, where SPL need to boot from
  189. different images based on environment variable set by OS. For
  190. example OS may set "reboot_image" environment variable to
  191. "recovery" inorder to boot recovery image by SPL. The SPL read
  192. "reboot_image" and act accordingly and change the reboot_image
  193. to default mode using setenv and save the environemnt.
  194. config SPL_ETH_SUPPORT
  195. bool "Support Ethernet"
  196. depends on SPL_ENV_SUPPORT
  197. help
  198. Enable access to the network subsystem and associated Ethernet
  199. drivers in SPL. This permits SPL to load U-Boot over an Ethernet
  200. link rather than from an on-board peripheral. Environment support
  201. is required since the network stack uses a number of environment
  202. variables. See also SPL_NET_SUPPORT.
  203. config SPL_EXT_SUPPORT
  204. bool "Support EXT filesystems"
  205. depends on SPL
  206. help
  207. Enable support for EXT2/3/4 filesystems with SPL. This permits
  208. U-Boot (or Linux in Falcon mode) to be loaded from an EXT
  209. filesystem from within SPL. Support for the underlying block
  210. device (e.g. MMC or USB) must be enabled separately.
  211. config SPL_FAT_SUPPORT
  212. bool "Support FAT filesystems"
  213. depends on SPL
  214. help
  215. Enable support for FAT and VFAT filesystems with SPL. This
  216. permits U-Boot (or Linux in Falcon mode) to be loaded from a FAT
  217. filesystem from within SPL. Support for the underlying block
  218. device (e.g. MMC or USB) must be enabled separately.
  219. config SPL_FPGA_SUPPORT
  220. bool "Support FPGAs"
  221. depends on SPL
  222. help
  223. Enable support for FPGAs in SPL. Field-programmable Gate Arrays
  224. provide software-configurable hardware which is typically used to
  225. implement peripherals (such as UARTs, LCD displays, MMC) or
  226. accelerate custom processing functions, such as image processing
  227. or machine learning. Sometimes it is useful to program the FPGA
  228. as early as possible during boot, and this option can enable that
  229. within SPL.
  230. config SPL_GPIO_SUPPORT
  231. bool "Support GPIO"
  232. depends on SPL
  233. help
  234. Enable support for GPIOs (General-purpose Input/Output) in SPL.
  235. GPIOs allow U-Boot to read the state of an input line (high or
  236. low) and set the state of an output line. This can be used to
  237. drive LEDs, control power to various system parts and read user
  238. input. GPIOs can be useful in SPL to enable a 'sign-of-life' LED,
  239. for example. Enable this option to build the drivers in
  240. drivers/gpio as part of an SPL build.
  241. config SPL_I2C_SUPPORT
  242. bool "Support I2C"
  243. depends on SPL
  244. help
  245. Enable support for the I2C (Inter-Integrated Circuit) bus in SPL.
  246. I2C works with a clock and data line which can be driven by a
  247. one or more masters or slaves. It is a fairly complex bus but is
  248. widely used as it only needs two lines for communication. Speeds of
  249. 400kbps are typical but up to 3.4Mbps is supported by some
  250. hardware. I2C can be useful in SPL to configure power management
  251. ICs (PMICs) before raising the CPU clock speed, for example.
  252. Enable this option to build the drivers in drivers/i2c as part of
  253. an SPL build.
  254. config SPL_LIBCOMMON_SUPPORT
  255. bool "Support common libraries"
  256. depends on SPL
  257. help
  258. Enable support for common U-Boot libraries within SPL. These
  259. libraries include common code to deal with U-Boot images,
  260. environment and USB, for example. This option is enabled on many
  261. boards. Enable this option to build the code in common/ as part of
  262. an SPL build.
  263. config SPL_LIBDISK_SUPPORT
  264. bool "Support disk paritions"
  265. depends on SPL
  266. help
  267. Enable support for disk partitions within SPL. 'Disk' is something
  268. of a misnomer as it includes non-spinning media such as flash (as
  269. used in MMC and USB sticks). Partitions provide a way for a disk
  270. to be split up into separate regions, with a partition table placed
  271. at the start or end which describes the location and size of each
  272. 'partition'. These partitions are typically uses as individual block
  273. devices, typically with an EXT2 or FAT filesystem in each. This
  274. option enables whatever partition support has been enabled in
  275. U-Boot to also be used in SPL. It brings in the code in disk/.
  276. config SPL_LIBGENERIC_SUPPORT
  277. bool "Support generic libraries"
  278. depends on SPL
  279. help
  280. Enable support for generic U-Boot libraries within SPL. These
  281. libraries include generic code to deal with device tree, hashing,
  282. printf(), compression and the like. This option is enabled on many
  283. boards. Enable this option to build the code in lib/ as part of an
  284. SPL build.
  285. config SPL_MMC_SUPPORT
  286. bool "Support MMC"
  287. depends on SPL
  288. help
  289. Enable support for MMC (Multimedia Card) within SPL. This enables
  290. the MMC protocol implementation and allows any enabled drivers to
  291. be used within SPL. MMC can be used with or without disk partition
  292. support depending on the application (SPL_LIBDISK_SUPPORT). Enable
  293. this option to build the drivers in drivers/mmc as part of an SPL
  294. build.
  295. config SPL_MPC8XXX_INIT_DDR_SUPPORT
  296. bool "Support MPC8XXX DDR init"
  297. depends on SPL
  298. help
  299. Enable support for DDR-SDRAM (double-data-rate synchronous dynamic
  300. random-access memory) on the MPC8XXX family within SPL. This
  301. allows DRAM to be set up before loading U-Boot into that DRAM,
  302. where it can run.
  303. config SPL_MTD_SUPPORT
  304. bool "Support MTD drivers"
  305. depends on SPL
  306. help
  307. Enable support for MTD (Memory Technology Device) within SPL. MTD
  308. provides a block interface over raw NAND and can also be used with
  309. SPI flash. This allows SPL to load U-Boot from supported MTD
  310. devices. See SPL_NAND_SUPPORT and SPL_ONENAND_SUPPORT for how
  311. to enable specific MTD drivers.
  312. config SPL_MUSB_NEW_SUPPORT
  313. bool "Support new Mentor Graphics USB"
  314. depends on SPL
  315. help
  316. Enable support for Mentor Graphics USB in SPL. This is a new
  317. driver used by some boards. Enable this option to build
  318. the drivers in drivers/usb/musb-new as part of an SPL build. The
  319. old drivers are in drivers/usb/musb.
  320. config SPL_NAND_SUPPORT
  321. bool "Support NAND flash"
  322. depends on SPL
  323. help
  324. Enable support for NAND (Negative AND) flash in SPL. NAND flash
  325. can be used to allow SPL to load U-Boot from supported devices.
  326. This enables the drivers in drivers/mtd/nand as part of an SPL
  327. build.
  328. config SPL_NET_SUPPORT
  329. bool "Support networking"
  330. depends on SPL
  331. help
  332. Enable support for network devices (such as Ethernet) in SPL.
  333. This permits SPL to load U-Boot over a network link rather than
  334. from an on-board peripheral. Environment support is required since
  335. the network stack uses a number of environment variables. See also
  336. SPL_ETH_SUPPORT.
  337. if SPL_NET_SUPPORT
  338. config SPL_NET_VCI_STRING
  339. string "BOOTP Vendor Class Identifier string sent by SPL"
  340. help
  341. As defined by RFC 2132 the vendor class identifier field can be
  342. sent by the client to identify the vendor type and configuration
  343. of a client. This is often used in practice to allow for the DHCP
  344. server to specify different files to load depending on if the ROM,
  345. SPL or U-Boot itself makes the request
  346. endif # if SPL_NET_SUPPORT
  347. config SPL_NO_CPU_SUPPORT
  348. bool "Drop CPU code in SPL"
  349. depends on SPL
  350. help
  351. This is specific to the ARM926EJ-S CPU. It disables the standard
  352. start.S start-up code, presumably so that a replacement can be
  353. used on that CPU. You should not enable it unless you know what
  354. you are doing.
  355. config SPL_NOR_SUPPORT
  356. bool "Support NOR flash"
  357. depends on SPL
  358. help
  359. Enable support for loading U-Boot from memory-mapped NOR (Negative
  360. OR) flash in SPL. NOR flash is slow to write but fast to read, and
  361. a memory-mapped device makes it very easy to access. Loading from
  362. NOR is typically achieved with just a memcpy().
  363. config SPL_ONENAND_SUPPORT
  364. bool "Support OneNAND flash"
  365. depends on SPL
  366. help
  367. Enable support for OneNAND (Negative AND) flash in SPL. OneNAND is
  368. a type of NAND flash and therefore can be used to allow SPL to
  369. load U-Boot from supported devices. This enables the drivers in
  370. drivers/mtd/onenand as part of an SPL build.
  371. config SPL_OS_BOOT
  372. bool "Activate Falcon Mode"
  373. depends on SPL && !TI_SECURE_DEVICE
  374. default n
  375. help
  376. Enable booting directly to an OS from SPL.
  377. for more info read doc/README.falcon
  378. if SPL_OS_BOOT
  379. config SYS_OS_BASE
  380. hex "addr, where OS is found"
  381. depends on SPL && SPL_NOR_SUPPORT
  382. help
  383. Specify the address, where the OS image is found, which
  384. gets booted.
  385. endif # SPL_OS_BOOT
  386. config SPL_POST_MEM_SUPPORT
  387. bool "Support POST drivers"
  388. depends on SPL
  389. help
  390. Enable support for POST (Power-on Self Test) in SPL. POST is a
  391. procedure that checks that the hardware (CPU or board) appears to
  392. be functionally correctly. It is a sanity check that can be
  393. performed before booting. This enables the drivers in post/drivers
  394. as part of an SPL build.
  395. config SPL_POWER_SUPPORT
  396. bool "Support power drivers"
  397. depends on SPL
  398. help
  399. Enable support for power control in SPL. This includes support
  400. for PMICs (Power-management Integrated Circuits) and some of the
  401. features provided by PMICs. In particular, voltage regulators can
  402. be used to enable/disable power and vary its voltage. That can be
  403. useful in SPL to turn on boot peripherals and adjust CPU voltage
  404. so that the clock speed can be increased. This enables the drivers
  405. in drivers/power, drivers/power/pmic and drivers/power/regulator
  406. as part of an SPL build.
  407. config SPL_RAM_SUPPORT
  408. bool "Support booting from RAM"
  409. depends on SPL
  410. default y if MICROBLAZE || ARCH_SOCFPGA || TEGRA || ARCH_ZYNQ
  411. help
  412. Enable booting of an image in RAM. The image can be preloaded or
  413. it can be loaded by SPL directly into RAM (e.g. using USB).
  414. config SPL_RAM_DEVICE
  415. bool "Support booting from preloaded image in RAM"
  416. depends on SPL_RAM_SUPPORT
  417. default y if MICROBLAZE || ARCH_SOCFPGA || TEGRA || ARCH_ZYNQ
  418. help
  419. Enable booting of an image already loaded in RAM. The image has to
  420. be already in memory when SPL takes over, e.g. loaded by the boot
  421. ROM.
  422. config SPL_SATA_SUPPORT
  423. bool "Support loading from SATA"
  424. depends on SPL
  425. help
  426. Enable support for SATA (Serial AT attachment) in SPL. This allows
  427. use of SATA devices such as hard drives and flash drivers for
  428. loading U-Boot. SATA is used in higher-end embedded systems and
  429. can provide higher performance than MMC , at somewhat higher
  430. expense and power consumption. This enables loading from SATA
  431. using a configured device.
  432. config SPL_SERIAL_SUPPORT
  433. bool "Support serial"
  434. depends on SPL
  435. help
  436. Enable support for serial in SPL. This allows use of a serial UART
  437. for displaying messages while SPL is running. It also brings in
  438. printf() and panic() functions. This should normally be enabled
  439. unless there are space reasons not to. Even then, consider
  440. enabling USE_TINY_PRINTF which is a small printf() version.
  441. config SPL_SPI_FLASH_SUPPORT
  442. bool "Support SPI flash drivers"
  443. depends on SPL
  444. help
  445. Enable support for using SPI flash in SPL, and loading U-Boot from
  446. SPI flash. SPI flash (Serial Peripheral Bus flash) is named after
  447. the SPI bus that is used to connect it to a system. It is a simple
  448. but fast bidirectional 4-wire bus (clock, chip select and two data
  449. lines). This enables the drivers in drivers/mtd/spi as part of an
  450. SPL build. This normally requires SPL_SPI_SUPPORT.
  451. config SPL_SPI_SUPPORT
  452. bool "Support SPI drivers"
  453. depends on SPL
  454. help
  455. Enable support for using SPI in SPL. This is used for connecting
  456. to SPI flash for loading U-Boot. See SPL_SPI_FLASH_SUPPORT for
  457. more details on that. The SPI driver provides the transport for
  458. data between the SPI flash and the CPU. This option can be used to
  459. enable SPI drivers that are needed for other purposes also, such
  460. as a SPI PMIC.
  461. config SPL_USB_HOST_SUPPORT
  462. bool "Support USB host drivers"
  463. depends on SPL
  464. help
  465. Enable access to USB (Universal Serial Bus) host devices so that
  466. SPL can load U-Boot from a connected USB peripheral, such as a USB
  467. flash stick. While USB takes a little longer to start up than most
  468. buses, it is very flexible since many different types of storage
  469. device can be attached. This option enables the drivers in
  470. drivers/usb/host as part of an SPL build.
  471. config SPL_USB_SUPPORT
  472. bool "Support loading from USB"
  473. depends on SPL_USB_HOST_SUPPORT
  474. help
  475. Enable support for USB devices in SPL. This allows use of USB
  476. devices such as hard drives and flash drivers for loading U-Boot.
  477. The actual drivers are enabled separately using the normal U-Boot
  478. config options. This enables loading from USB using a configured
  479. device.
  480. config SPL_USB_GADGET_SUPPORT
  481. bool "Suppport USB Gadget drivers"
  482. depends on SPL
  483. help
  484. Enable USB Gadget API which allows to enable USB device functions
  485. in SPL.
  486. if SPL_USB_GADGET_SUPPORT
  487. config SPL_USBETH_SUPPORT
  488. bool "Support USB Ethernet drivers"
  489. help
  490. Enable access to the USB network subsystem and associated
  491. drivers in SPL. This permits SPL to load U-Boot over a
  492. USB-connected Ethernet link (such as a USB Ethernet dongle) rather
  493. than from an onboard peripheral. Environment support is required
  494. since the network stack uses a number of environment variables.
  495. See also SPL_NET_SUPPORT and SPL_ETH_SUPPORT.
  496. config SPL_DFU_SUPPORT
  497. bool "Support DFU (Device Firmware Upgarde)"
  498. select SPL_HASH_SUPPORT
  499. select SPL_DFU_NO_RESET
  500. depends on SPL_RAM_SUPPORT
  501. help
  502. This feature enables the DFU (Device Firmware Upgarde) in SPL with
  503. RAM memory device support. The ROM code will load and execute
  504. the SPL built with dfu. The user can load binaries (u-boot/kernel) to
  505. selected device partition from host-pc using dfu-utils.
  506. This feature is useful to flash the binaries to factory or bare-metal
  507. boards using USB interface.
  508. choice
  509. bool "DFU device selection"
  510. depends on SPL_DFU_SUPPORT
  511. config SPL_DFU_RAM
  512. bool "RAM device"
  513. depends on SPL_DFU_SUPPORT && SPL_RAM_SUPPORT
  514. help
  515. select RAM/DDR memory device for loading binary images
  516. (u-boot/kernel) to the selected device partition using
  517. DFU and execute the u-boot/kernel from RAM.
  518. endchoice
  519. endif
  520. config SPL_WATCHDOG_SUPPORT
  521. bool "Support watchdog drivers"
  522. depends on SPL
  523. help
  524. Enable support for watchdog drivers in SPL. A watchdog is
  525. typically a hardware peripheral which can reset the system when it
  526. detects no activity for a while (such as a software crash). This
  527. enables the drivers in drivers/watchdog as part of an SPL build.
  528. config SPL_YMODEM_SUPPORT
  529. bool "Support loading using Ymodem"
  530. depends on SPL
  531. help
  532. While loading from serial is slow it can be a useful backup when
  533. there is no other option. The Ymodem protocol provides a reliable
  534. means of transmitting U-Boot over a serial line for using in SPL,
  535. with a checksum to ensure correctness.
  536. config TPL_ENV_SUPPORT
  537. bool "Support an environment"
  538. depends on TPL
  539. help
  540. Enable environment support in TPL. See SPL_ENV_SUPPORT for details.
  541. config TPL_I2C_SUPPORT
  542. bool "Support I2C"
  543. depends on TPL
  544. help
  545. Enable support for the I2C bus in SPL. See SPL_I2C_SUPPORT for
  546. details.
  547. config TPL_LIBCOMMON_SUPPORT
  548. bool "Support common libraries"
  549. depends on TPL
  550. help
  551. Enable support for common U-Boot libraries within TPL. See
  552. SPL_LIBCOMMON_SUPPORT for details.
  553. config TPL_LIBGENERIC_SUPPORT
  554. bool "Support generic libraries"
  555. depends on TPL
  556. help
  557. Enable support for generic U-Boot libraries within TPL. See
  558. SPL_LIBGENERIC_SUPPORT for details.
  559. config TPL_MPC8XXX_INIT_DDR_SUPPORT
  560. bool "Support MPC8XXX DDR init"
  561. depends on TPL
  562. help
  563. Enable support for DDR-SDRAM on the MPC8XXX family within TPL. See
  564. SPL_MPC8XXX_INIT_DDR_SUPPORT for details.
  565. config TPL_MMC_SUPPORT
  566. bool "Support MMC"
  567. depends on TPL
  568. help
  569. Enable support for MMC within TPL. See SPL_MMC_SUPPORT for details.
  570. config TPL_NAND_SUPPORT
  571. bool "Support NAND flash"
  572. depends on TPL
  573. help
  574. Enable support for NAND in SPL. See SPL_NAND_SUPPORT for details.
  575. config TPL_SERIAL_SUPPORT
  576. bool "Support serial"
  577. depends on TPL
  578. help
  579. Enable support for serial in SPL. See SPL_SERIAL_SUPPORT for
  580. details.
  581. config TPL_SPI_FLASH_SUPPORT
  582. bool "Support SPI flash drivers"
  583. depends on TPL
  584. help
  585. Enable support for using SPI flash in SPL. See SPL_SPI_FLASH_SUPPORT
  586. for details.
  587. config TPL_SPI_SUPPORT
  588. bool "Support SPI drivers"
  589. depends on TPL
  590. help
  591. Enable support for using SPI in SPL. See SPL_SPI_SUPPORT for
  592. details.
  593. endmenu