Kconfig 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667
  1. menu "Environment"
  2. config ENV_IS_NOWHERE
  3. bool "Environment is not stored"
  4. default y if !ENV_IS_IN_EEPROM && !ENV_IS_IN_EXT4 && \
  5. !ENV_IS_IN_FAT && !ENV_IS_IN_FLASH && \
  6. !ENV_IS_IN_MMC && !ENV_IS_IN_NAND && \
  7. !ENV_IS_IN_NVRAM && !ENV_IS_IN_ONENAND && \
  8. !ENV_IS_IN_REMOTE && !ENV_IS_IN_SPI_FLASH && \
  9. !ENV_IS_IN_UBI
  10. help
  11. Define this if you don't want to or can't have an environment stored
  12. on a storage medium. In this case the environment will still exist
  13. while U-Boot is running, but once U-Boot exits it will not be
  14. stored. U-Boot will therefore always start up with a default
  15. environment.
  16. config ENV_IS_IN_EEPROM
  17. bool "Environment in EEPROM"
  18. depends on !CHAIN_OF_TRUST
  19. help
  20. Use this if you have an EEPROM or similar serial access
  21. device and a driver for it.
  22. - CONFIG_ENV_OFFSET:
  23. - CONFIG_ENV_SIZE:
  24. These two #defines specify the offset and size of the
  25. environment area within the total memory of your EEPROM.
  26. Note that we consider the length of the address field to
  27. still be one byte because the extra address bits are hidden
  28. in the chip address.
  29. - CONFIG_ENV_EEPROM_IS_ON_I2C
  30. define this, if you have I2C and SPI activated, and your
  31. EEPROM, which holds the environment, is on the I2C bus.
  32. - CONFIG_I2C_ENV_EEPROM_BUS
  33. if you have an Environment on an EEPROM reached over
  34. I2C muxes, you can define here, how to reach this
  35. EEPROM. For example:
  36. #define CONFIG_I2C_ENV_EEPROM_BUS 1
  37. EEPROM which holds the environment, is reached over
  38. a pca9547 i2c mux with address 0x70, channel 3.
  39. config ENV_IS_IN_FAT
  40. bool "Environment is in a FAT filesystem"
  41. depends on !CHAIN_OF_TRUST
  42. default y if ARCH_BCM283X
  43. default y if ARCH_SUNXI && MMC
  44. default y if MMC_OMAP_HS && TI_COMMON_CMD_OPTIONS
  45. select FS_FAT
  46. select FAT_WRITE
  47. help
  48. Define this if you want to use the FAT file system for the environment.
  49. config ENV_IS_IN_EXT4
  50. bool "Environment is in a EXT4 filesystem"
  51. depends on !CHAIN_OF_TRUST
  52. select EXT4_WRITE
  53. help
  54. Define this if you want to use the EXT4 file system for the environment.
  55. config ENV_IS_IN_FLASH
  56. bool "Environment in flash memory"
  57. depends on !CHAIN_OF_TRUST
  58. default y if ARCH_CINTEGRATOR
  59. default y if ARCH_INTEGRATOR_CP
  60. default y if M548x || M547x || M5282 || MCF547x_8x
  61. default y if MCF532x || MCF52x2
  62. default y if MPC86xx || MPC83xx
  63. default y if ARCH_MPC8572 || ARCH_MPC8548 || ARCH_MPC8641
  64. default y if SH && !CPU_SH4
  65. help
  66. Define this if you have a flash device which you want to use for the
  67. environment.
  68. a) The environment occupies one whole flash sector, which is
  69. "embedded" in the text segment with the U-Boot code. This
  70. happens usually with "bottom boot sector" or "top boot
  71. sector" type flash chips, which have several smaller
  72. sectors at the start or the end. For instance, such a
  73. layout can have sector sizes of 8, 2x4, 16, Nx32 kB. In
  74. such a case you would place the environment in one of the
  75. 4 kB sectors - with U-Boot code before and after it. With
  76. "top boot sector" type flash chips, you would put the
  77. environment in one of the last sectors, leaving a gap
  78. between U-Boot and the environment.
  79. CONFIG_ENV_OFFSET:
  80. Offset of environment data (variable area) to the
  81. beginning of flash memory; for instance, with bottom boot
  82. type flash chips the second sector can be used: the offset
  83. for this sector is given here.
  84. CONFIG_ENV_OFFSET is used relative to CONFIG_SYS_FLASH_BASE.
  85. CONFIG_ENV_ADDR:
  86. This is just another way to specify the start address of
  87. the flash sector containing the environment (instead of
  88. CONFIG_ENV_OFFSET).
  89. CONFIG_ENV_SECT_SIZE:
  90. Size of the sector containing the environment.
  91. b) Sometimes flash chips have few, equal sized, BIG sectors.
  92. In such a case you don't want to spend a whole sector for
  93. the environment.
  94. CONFIG_ENV_SIZE:
  95. If you use this in combination with CONFIG_ENV_IS_IN_FLASH
  96. and CONFIG_ENV_SECT_SIZE, you can specify to use only a part
  97. of this flash sector for the environment. This saves
  98. memory for the RAM copy of the environment.
  99. It may also save flash memory if you decide to use this
  100. when your environment is "embedded" within U-Boot code,
  101. since then the remainder of the flash sector could be used
  102. for U-Boot code. It should be pointed out that this is
  103. STRONGLY DISCOURAGED from a robustness point of view:
  104. updating the environment in flash makes it always
  105. necessary to erase the WHOLE sector. If something goes
  106. wrong before the contents has been restored from a copy in
  107. RAM, your target system will be dead.
  108. CONFIG_ENV_ADDR_REDUND
  109. CONFIG_ENV_SIZE_REDUND
  110. These settings describe a second storage area used to hold
  111. a redundant copy of the environment data, so that there is
  112. a valid backup copy in case there is a power failure during
  113. a "saveenv" operation.
  114. BE CAREFUL! Any changes to the flash layout, and some changes to the
  115. source code will make it necessary to adapt <board>/u-boot.lds*
  116. accordingly!
  117. config ENV_IS_IN_MMC
  118. bool "Environment in an MMC device"
  119. depends on !CHAIN_OF_TRUST
  120. depends on MMC
  121. default y if ARCH_EXYNOS4
  122. default y if MX6SX || MX7D
  123. default y if TEGRA30 || TEGRA124
  124. default y if TEGRA_ARMV8_COMMON
  125. help
  126. Define this if you have an MMC device which you want to use for the
  127. environment.
  128. CONFIG_SYS_MMC_ENV_DEV:
  129. Specifies which MMC device the environment is stored in.
  130. CONFIG_SYS_MMC_ENV_PART (optional):
  131. Specifies which MMC partition the environment is stored in. If not
  132. set, defaults to partition 0, the user area. Common values might be
  133. 1 (first MMC boot partition), 2 (second MMC boot partition).
  134. CONFIG_ENV_OFFSET:
  135. CONFIG_ENV_SIZE:
  136. These two #defines specify the offset and size of the environment
  137. area within the specified MMC device.
  138. If offset is positive (the usual case), it is treated as relative to
  139. the start of the MMC partition. If offset is negative, it is treated
  140. as relative to the end of the MMC partition. This can be useful if
  141. your board may be fitted with different MMC devices, which have
  142. different sizes for the MMC partitions, and you always want the
  143. environment placed at the very end of the partition, to leave the
  144. maximum possible space before it, to store other data.
  145. These two values are in units of bytes, but must be aligned to an
  146. MMC sector boundary.
  147. CONFIG_ENV_OFFSET_REDUND (optional):
  148. Specifies a second storage area, of CONFIG_ENV_SIZE size, used to
  149. hold a redundant copy of the environment data. This provides a
  150. valid backup copy in case the other copy is corrupted, e.g. due
  151. to a power failure during a "saveenv" operation.
  152. This value may also be positive or negative; this is handled in the
  153. same way as CONFIG_ENV_OFFSET.
  154. This value is also in units of bytes, but must also be aligned to
  155. an MMC sector boundary.
  156. CONFIG_ENV_SIZE_REDUND (optional):
  157. This value need not be set, even when CONFIG_ENV_OFFSET_REDUND is
  158. set. If this value is set, it must be set to the same value as
  159. CONFIG_ENV_SIZE.
  160. config ENV_IS_IN_NAND
  161. bool "Environment in a NAND device"
  162. depends on !CHAIN_OF_TRUST
  163. help
  164. Define this if you have a NAND device which you want to use for the
  165. environment.
  166. - CONFIG_ENV_OFFSET:
  167. - CONFIG_ENV_SIZE:
  168. These two #defines specify the offset and size of the environment
  169. area within the first NAND device. CONFIG_ENV_OFFSET must be
  170. aligned to an erase block boundary.
  171. - CONFIG_ENV_OFFSET_REDUND (optional):
  172. This setting describes a second storage area of CONFIG_ENV_SIZE
  173. size used to hold a redundant copy of the environment data, so
  174. that there is a valid backup copy in case there is a power failure
  175. during a "saveenv" operation. CONFIG_ENV_OFFSET_REDUND must be
  176. aligned to an erase block boundary.
  177. - CONFIG_ENV_RANGE (optional):
  178. Specifies the length of the region in which the environment
  179. can be written. This should be a multiple of the NAND device's
  180. block size. Specifying a range with more erase blocks than
  181. are needed to hold CONFIG_ENV_SIZE allows bad blocks within
  182. the range to be avoided.
  183. - CONFIG_ENV_OFFSET_OOB (optional):
  184. Enables support for dynamically retrieving the offset of the
  185. environment from block zero's out-of-band data. The
  186. "nand env.oob" command can be used to record this offset.
  187. Currently, CONFIG_ENV_OFFSET_REDUND is not supported when
  188. using CONFIG_ENV_OFFSET_OOB.
  189. config ENV_IS_IN_NVRAM
  190. bool "Environment in a non-volatile RAM"
  191. depends on !CHAIN_OF_TRUST
  192. help
  193. Define this if you have some non-volatile memory device
  194. (NVRAM, battery buffered SRAM) which you want to use for the
  195. environment.
  196. - CONFIG_ENV_ADDR:
  197. - CONFIG_ENV_SIZE:
  198. These two #defines are used to determine the memory area you
  199. want to use for environment. It is assumed that this memory
  200. can just be read and written to, without any special
  201. provision.
  202. config ENV_IS_IN_ONENAND
  203. bool "Environment is in OneNAND"
  204. depends on !CHAIN_OF_TRUST
  205. help
  206. Define this if you want to put your local device's environment in
  207. OneNAND.
  208. - CONFIG_ENV_ADDR:
  209. - CONFIG_ENV_SIZE:
  210. These two #defines are used to determine the device range you
  211. want to use for environment. It is assumed that this memory
  212. can just be read and written to, without any special
  213. provision.
  214. config ENV_IS_IN_REMOTE
  215. bool "Environment is in remote memory space"
  216. depends on !CHAIN_OF_TRUST
  217. help
  218. Define this if you have a remote memory space which you
  219. want to use for the local device's environment.
  220. - CONFIG_ENV_ADDR:
  221. - CONFIG_ENV_SIZE:
  222. These two #defines specify the address and size of the
  223. environment area within the remote memory space. The
  224. local device can get the environment from remote memory
  225. space by SRIO or PCIE links.
  226. config ENV_IS_IN_SPI_FLASH
  227. bool "Environment is in SPI flash"
  228. depends on !CHAIN_OF_TRUST && SPI
  229. default y if ARMADA_XP
  230. default y if INTEL_BAYTRAIL
  231. default y if INTEL_BRASWELL
  232. default y if INTEL_BROADWELL
  233. default y if NORTHBRIDGE_INTEL_IVYBRIDGE
  234. default y if INTEL_QUARK
  235. default y if INTEL_QUEENSBAY
  236. help
  237. Define this if you have a SPI Flash memory device which you
  238. want to use for the environment.
  239. - CONFIG_ENV_OFFSET:
  240. - CONFIG_ENV_SIZE:
  241. These two #defines specify the offset and size of the
  242. environment area within the SPI Flash. CONFIG_ENV_OFFSET must be
  243. aligned to an erase sector boundary.
  244. - CONFIG_ENV_SECT_SIZE:
  245. Define the SPI flash's sector size.
  246. - CONFIG_ENV_OFFSET_REDUND (optional):
  247. This setting describes a second storage area of CONFIG_ENV_SIZE
  248. size used to hold a redundant copy of the environment data, so
  249. that there is a valid backup copy in case there is a power failure
  250. during a "saveenv" operation. CONFIG_ENV_OFFSET_REDUND must be
  251. aligned to an erase sector boundary.
  252. config USE_ENV_SPI_BUS
  253. bool "SPI flash bus for environment"
  254. depends on ENV_IS_IN_SPI_FLASH
  255. help
  256. Force the SPI bus for environment.
  257. If not defined, use CONFIG_SF_DEFAULT_BUS.
  258. config ENV_SPI_BUS
  259. int "Value of SPI flash bus for environment"
  260. depends on USE_ENV_SPI_BUS
  261. help
  262. Value the SPI bus and chip select for environment.
  263. config USE_ENV_SPI_CS
  264. bool "SPI flash chip select for environment"
  265. depends on ENV_IS_IN_SPI_FLASH
  266. help
  267. Force the SPI chip select for environment.
  268. If not defined, use CONFIG_SF_DEFAULT_CS.
  269. config ENV_SPI_CS
  270. int "Value of SPI flash chip select for environment"
  271. depends on USE_ENV_SPI_CS
  272. help
  273. Value of the SPI chip select for environment.
  274. config USE_ENV_SPI_MAX_HZ
  275. bool "SPI flash max frequency for environment"
  276. depends on ENV_IS_IN_SPI_FLASH
  277. help
  278. Force the SPI max work clock for environment.
  279. If not defined, use CONFIG_SF_DEFAULT_SPEED.
  280. config ENV_SPI_MAX_HZ
  281. int "Value of SPI flash max frequency for environment"
  282. depends on USE_ENV_SPI_MAX_HZ
  283. help
  284. Value of the SPI max work clock for environment.
  285. config USE_ENV_SPI_MODE
  286. bool "SPI flash mode for environment"
  287. depends on ENV_IS_IN_SPI_FLASH
  288. help
  289. Force the SPI work mode for environment.
  290. config ENV_SPI_MODE
  291. hex "Value of SPI flash work mode for environment"
  292. depends on USE_ENV_SPI_MODE
  293. help
  294. Value of the SPI work mode for environment.
  295. See include/spi.h for value.
  296. config ENV_IS_IN_UBI
  297. bool "Environment in a UBI volume"
  298. depends on !CHAIN_OF_TRUST
  299. help
  300. Define this if you have an UBI volume that you want to use for the
  301. environment. This has the benefit of wear-leveling the environment
  302. accesses, which is important on NAND.
  303. - CONFIG_ENV_UBI_PART:
  304. Define this to a string that is the mtd partition containing the UBI.
  305. - CONFIG_ENV_UBI_VOLUME:
  306. Define this to the name of the volume that you want to store the
  307. environment in.
  308. - CONFIG_ENV_UBI_VOLUME_REDUND:
  309. Define this to the name of another volume to store a second copy of
  310. the environment in. This will enable redundant environments in UBI.
  311. It is assumed that both volumes are in the same MTD partition.
  312. config ENV_FAT_INTERFACE
  313. string "Name of the block device for the environment"
  314. depends on ENV_IS_IN_FAT
  315. default "mmc" if ARCH_SUNXI
  316. default "mmc" if TI_COMMON_CMD_OPTIONS || ARCH_ZYNQMP || ARCH_AT91
  317. help
  318. Define this to a string that is the name of the block device.
  319. config ENV_FAT_DEVICE_AND_PART
  320. string "Device and partition for where to store the environemt in FAT"
  321. depends on ENV_IS_IN_FAT
  322. default "0:1" if TI_COMMON_CMD_OPTIONS
  323. default "0:auto" if ARCH_ZYNQMP
  324. default "0:auto" if ARCH_SUNXI && MMC_SUNXI_SLOT_EXTRA = -1
  325. default "1:auto" if ARCH_SUNXI && MMC_SUNXI_SLOT_EXTRA != -1
  326. default "0" if ARCH_AT91
  327. help
  328. Define this to a string to specify the partition of the device. It can
  329. be as following:
  330. "D:P", "D:0", "D", "D:" or "D:auto" (D, P are integers. And P >= 1)
  331. - "D:P": device D partition P. Error occurs if device D has no
  332. partition table.
  333. - "D:0": device D.
  334. - "D" or "D:": device D partition 1 if device D has partition
  335. table, or the whole device D if has no partition
  336. table.
  337. - "D:auto": first partition in device D with bootable flag set.
  338. If none, first valid partition in device D. If no
  339. partition table then means device D.
  340. config ENV_FAT_FILE
  341. string "Name of the FAT file to use for the environment"
  342. depends on ENV_IS_IN_FAT
  343. default "uboot.env"
  344. help
  345. It's a string of the FAT file name. This file use to store the
  346. environment.
  347. config ENV_EXT4_INTERFACE
  348. string "Name of the block device for the environment"
  349. depends on ENV_IS_IN_EXT4
  350. help
  351. Define this to a string that is the name of the block device.
  352. config ENV_EXT4_DEVICE_AND_PART
  353. string "Device and partition for where to store the environemt in EXT4"
  354. depends on ENV_IS_IN_EXT4
  355. help
  356. Define this to a string to specify the partition of the device. It can
  357. be as following:
  358. "D:P", "D:0", "D", "D:" or "D:auto" (D, P are integers. And P >= 1)
  359. - "D:P": device D partition P. Error occurs if device D has no
  360. partition table.
  361. - "D:0": device D.
  362. - "D" or "D:": device D partition 1 if device D has partition
  363. table, or the whole device D if has no partition
  364. table.
  365. - "D:auto": first partition in device D with bootable flag set.
  366. If none, first valid partition in device D. If no
  367. partition table then means device D.
  368. config ENV_EXT4_FILE
  369. string "Name of the EXT4 file to use for the environment"
  370. depends on ENV_IS_IN_EXT4
  371. default "uboot.env"
  372. help
  373. It's a string of the EXT4 file name. This file use to store the
  374. environment (explicit path to the file)
  375. if ARCH_ROCKCHIP || ARCH_SUNXI || ARCH_ZYNQ || ARCH_ZYNQMP || ARCH_VERSAL || ARC || ARCH_STM32MP || ARCH_OMAP2PLUS || ARCH_AT91
  376. config ENV_OFFSET
  377. hex "Environment Offset"
  378. depends on (!ENV_IS_IN_UBI && !ENV_IS_NOWHERE) || ARCH_STM32MP
  379. default 0x3f8000 if ARCH_ROCKCHIP
  380. default 0x88000 if ARCH_SUNXI
  381. default 0xE0000 if ARCH_ZYNQ
  382. default 0x1E00000 if ARCH_ZYNQMP
  383. default 0 if ARC
  384. default 0x140000 if ARCH_AT91
  385. default 0x260000 if ARCH_OMAP2PLUS
  386. help
  387. Offset from the start of the device (or partition)
  388. config ENV_SIZE
  389. hex "Environment Size"
  390. default 0x40000 if ENV_IS_IN_SPI_FLASH && ARCH_ZYNQMP
  391. default 0x20000 if ARCH_SUNXI || ARCH_ZYNQ || ARCH_OMAP2PLUS || ARCH_AT91
  392. default 0x8000 if ARCH_ROCKCHIP || ARCH_ZYNQMP || ARCH_VERSAL
  393. default 0x4000 if ARC
  394. default 0x1f000
  395. help
  396. Size of the environment storage area
  397. config ENV_SECT_SIZE
  398. hex "Environment Sector-Size"
  399. depends on (!ENV_IS_NOWHERE && (ARCH_ZYNQ || ARCH_ZYNQMP || ARCH_OMAP2PLUS || ARCH_AT91) )|| ARCH_STM32MP
  400. default 0x40000 if ARCH_ZYNQMP
  401. default 0x20000 if ARCH_ZYNQ || ARCH_OMAP2PLUS || ARCH_AT91
  402. help
  403. Size of the sector containing the environment.
  404. config ENV_UBI_PART
  405. string "UBI partition name"
  406. depends on ENV_IS_IN_UBI
  407. help
  408. MTD partition containing the UBI device
  409. config ENV_UBI_VOLUME
  410. string "UBI volume name"
  411. depends on ENV_IS_IN_UBI
  412. help
  413. Name of the volume that you want to store the environment in.
  414. config ENV_UBI_VOLUME_REDUND
  415. string "UBI redundant volume name"
  416. depends on ENV_IS_IN_UBI
  417. help
  418. Name of the redundant volume that you want to store the environment in.
  419. config ENV_UBI_VID_OFFSET
  420. int "ubi environment VID offset"
  421. depends on ENV_IS_IN_UBI
  422. default 0
  423. help
  424. UBI VID offset for environment. If 0, no custom VID offset is used.
  425. endif
  426. config USE_DEFAULT_ENV_FILE
  427. bool "Create default environment from file"
  428. help
  429. Normally, the default environment is automatically generated
  430. based on the settings of various CONFIG_* options, as well
  431. as the CONFIG_EXTRA_ENV_SETTINGS. By selecting this option,
  432. you can instead define the entire default environment in an
  433. external file.
  434. config DEFAULT_ENV_FILE
  435. string "Path to default environment file"
  436. depends on USE_DEFAULT_ENV_FILE
  437. help
  438. The path containing the default environment. The format is
  439. the same as accepted by the mkenvimage tool: lines
  440. containing key=value pairs, blank lines and lines beginning
  441. with # are ignored.
  442. config ENV_VARS_UBOOT_RUNTIME_CONFIG
  443. bool "Add run-time information to the environment"
  444. help
  445. Enable this in order to add variables describing certain
  446. run-time determined information about the hardware to the
  447. environment. These will be named board_name, board_rev.
  448. if SPL_ENV_SUPPORT
  449. config SPL_ENV_IS_NOWHERE
  450. bool "SPL Environment is not stored"
  451. default y if ENV_IS_NOWHERE
  452. help
  453. Similar to ENV_IS_NOWHERE, used for SPL environment.
  454. config SPL_ENV_IS_IN_MMC
  455. bool "SPL Environment in an MMC device"
  456. depends on !SPL_ENV_IS_NOWHERE
  457. depends on ENV_IS_IN_MMC
  458. default y
  459. help
  460. Similar to ENV_IS_IN_MMC, used for SPL environment.
  461. config SPL_ENV_IS_IN_FAT
  462. bool "SPL Environment is in a FAT filesystem"
  463. depends on !SPL_ENV_IS_NOWHERE
  464. depends on ENV_IS_IN_FAT
  465. default y
  466. help
  467. Similar to ENV_IS_IN_FAT, used for SPL environment.
  468. config SPL_ENV_IS_IN_EXT4
  469. bool "SPL Environment is in a EXT4 filesystem"
  470. depends on !SPL_ENV_IS_NOWHERE
  471. depends on ENV_IS_IN_EXT4
  472. default y
  473. help
  474. Similar to ENV_IS_IN_EXT4, used for SPL environment.
  475. config SPL_ENV_IS_IN_NAND
  476. bool "SPL Environment in a NAND device"
  477. depends on !SPL_ENV_IS_NOWHERE
  478. depends on ENV_IS_IN_NAND
  479. default y
  480. help
  481. Similar to ENV_IS_IN_NAND, used for SPL environment.
  482. config SPL_ENV_IS_IN_SPI_FLASH
  483. bool "SPL Environment is in SPI flash"
  484. depends on !SPL_ENV_IS_NOWHERE
  485. depends on ENV_IS_IN_SPI_FLASH
  486. default y
  487. help
  488. Similar to ENV_IS_IN_SPI_FLASH, used for SPL environment.
  489. config SPL_ENV_IS_IN_FLASH
  490. bool "SPL Environment in flash memory"
  491. depends on !SPL_ENV_IS_NOWHERE
  492. depends on ENV_IS_IN_FLASH
  493. default y
  494. help
  495. Similar to ENV_IS_IN_FLASH, used for SPL environment.
  496. endif
  497. if TPL_ENV_SUPPORT
  498. config TPL_ENV_IS_NOWHERE
  499. bool "TPL Environment is not stored"
  500. default y if ENV_IS_NOWHERE
  501. help
  502. Similar to ENV_IS_NOWHERE, used for TPL environment.
  503. config TPL_ENV_IS_IN_MMC
  504. bool "TPL Environment in an MMC device"
  505. depends on !TPL_ENV_IS_NOWHERE
  506. depends on ENV_IS_IN_MMC
  507. default y
  508. help
  509. Similar to ENV_IS_IN_MMC, used for TPL environment.
  510. config TPL_ENV_IS_IN_FAT
  511. bool "TPL Environment is in a FAT filesystem"
  512. depends on !TPL_ENV_IS_NOWHERE
  513. depends on ENV_IS_IN_FAT
  514. default y
  515. help
  516. Similar to ENV_IS_IN_FAT, used for TPL environment.
  517. config TPL_ENV_IS_IN_EXT4
  518. bool "TPL Environment is in a EXT4 filesystem"
  519. depends on !TPL_ENV_IS_NOWHERE
  520. depends on ENV_IS_IN_EXT4
  521. default y
  522. help
  523. Similar to ENV_IS_IN_EXT4, used for TPL environment.
  524. config TPL_ENV_IS_IN_NAND
  525. bool "TPL Environment in a NAND device"
  526. depends on !TPL_ENV_IS_NOWHERE
  527. depends on ENV_IS_IN_NAND
  528. default y
  529. help
  530. Similar to ENV_IS_IN_NAND, used for TPL environment.
  531. config TPL_ENV_IS_IN_SPI_FLASH
  532. bool "TPL Environment is in SPI flash"
  533. depends on !TPL_ENV_IS_NOWHERE
  534. depends on ENV_IS_IN_SPI_FLASH
  535. default y
  536. help
  537. Similar to ENV_IS_IN_SPI_FLASH, used for TPL environment.
  538. config TPL_ENV_IS_IN_FLASH
  539. bool "TPL Environment in flash memory"
  540. depends on !TPL_ENV_IS_NOWHERE
  541. depends on ENV_IS_IN_FLASH
  542. default y
  543. help
  544. Similar to ENV_IS_IN_FLASH, used for TPL environment.
  545. endif
  546. endmenu