Kconfig 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677
  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. These settings describe a second storage area used to hold
  110. a redundant copy of the environment data, so that there is
  111. a valid backup copy in case there is a power failure during
  112. a "saveenv" operation.
  113. BE CAREFUL! Any changes to the flash layout, and some changes to the
  114. source code will make it necessary to adapt <board>/u-boot.lds*
  115. accordingly!
  116. config ENV_IS_IN_MMC
  117. bool "Environment in an MMC device"
  118. depends on !CHAIN_OF_TRUST
  119. depends on MMC
  120. default y if ARCH_EXYNOS4
  121. default y if MX6SX || MX7D
  122. default y if TEGRA30 || TEGRA124
  123. default y if TEGRA_ARMV8_COMMON
  124. help
  125. Define this if you have an MMC device which you want to use for the
  126. environment.
  127. CONFIG_SYS_MMC_ENV_DEV:
  128. Specifies which MMC device the environment is stored in.
  129. CONFIG_SYS_MMC_ENV_PART (optional):
  130. Specifies which MMC partition the environment is stored in. If not
  131. set, defaults to partition 0, the user area. Common values might be
  132. 1 (first MMC boot partition), 2 (second MMC boot partition).
  133. CONFIG_ENV_OFFSET:
  134. CONFIG_ENV_SIZE:
  135. These two #defines specify the offset and size of the environment
  136. area within the specified MMC device.
  137. If offset is positive (the usual case), it is treated as relative to
  138. the start of the MMC partition. If offset is negative, it is treated
  139. as relative to the end of the MMC partition. This can be useful if
  140. your board may be fitted with different MMC devices, which have
  141. different sizes for the MMC partitions, and you always want the
  142. environment placed at the very end of the partition, to leave the
  143. maximum possible space before it, to store other data.
  144. These two values are in units of bytes, but must be aligned to an
  145. MMC sector boundary.
  146. CONFIG_ENV_OFFSET_REDUND (optional):
  147. Specifies a second storage area, of CONFIG_ENV_SIZE size, used to
  148. hold a redundant copy of the environment data. This provides a
  149. valid backup copy in case the other copy is corrupted, e.g. due
  150. to a power failure during a "saveenv" operation.
  151. This value may also be positive or negative; this is handled in the
  152. same way as CONFIG_ENV_OFFSET.
  153. This value is also in units of bytes, but must also be aligned to
  154. an MMC sector boundary.
  155. config ENV_IS_IN_NAND
  156. bool "Environment in a NAND device"
  157. depends on !CHAIN_OF_TRUST
  158. help
  159. Define this if you have a NAND device which you want to use for the
  160. environment.
  161. - CONFIG_ENV_OFFSET:
  162. - CONFIG_ENV_SIZE:
  163. These two #defines specify the offset and size of the environment
  164. area within the first NAND device. CONFIG_ENV_OFFSET must be
  165. aligned to an erase block boundary.
  166. - CONFIG_ENV_OFFSET_REDUND (optional):
  167. This setting describes a second storage area of CONFIG_ENV_SIZE
  168. size used to hold a redundant copy of the environment data, so
  169. that there is a valid backup copy in case there is a power failure
  170. during a "saveenv" operation. CONFIG_ENV_OFFSET_REDUND must be
  171. aligned to an erase block boundary.
  172. - CONFIG_ENV_RANGE (optional):
  173. Specifies the length of the region in which the environment
  174. can be written. This should be a multiple of the NAND device's
  175. block size. Specifying a range with more erase blocks than
  176. are needed to hold CONFIG_ENV_SIZE allows bad blocks within
  177. the range to be avoided.
  178. - CONFIG_ENV_OFFSET_OOB (optional):
  179. Enables support for dynamically retrieving the offset of the
  180. environment from block zero's out-of-band data. The
  181. "nand env.oob" command can be used to record this offset.
  182. Currently, CONFIG_ENV_OFFSET_REDUND is not supported when
  183. using CONFIG_ENV_OFFSET_OOB.
  184. config ENV_IS_IN_NVRAM
  185. bool "Environment in a non-volatile RAM"
  186. depends on !CHAIN_OF_TRUST
  187. help
  188. Define this if you have some non-volatile memory device
  189. (NVRAM, battery buffered SRAM) which you want to use for the
  190. environment.
  191. - CONFIG_ENV_ADDR:
  192. - CONFIG_ENV_SIZE:
  193. These two #defines are used to determine the memory area you
  194. want to use for environment. It is assumed that this memory
  195. can just be read and written to, without any special
  196. provision.
  197. config ENV_IS_IN_ONENAND
  198. bool "Environment is in OneNAND"
  199. depends on !CHAIN_OF_TRUST
  200. help
  201. Define this if you want to put your local device's environment in
  202. OneNAND.
  203. - CONFIG_ENV_ADDR:
  204. - CONFIG_ENV_SIZE:
  205. These two #defines are used to determine the device range you
  206. want to use for environment. It is assumed that this memory
  207. can just be read and written to, without any special
  208. provision.
  209. config ENV_IS_IN_REMOTE
  210. bool "Environment is in remote memory space"
  211. depends on !CHAIN_OF_TRUST
  212. help
  213. Define this if you have a remote memory space which you
  214. want to use for the local device's environment.
  215. - CONFIG_ENV_ADDR:
  216. - CONFIG_ENV_SIZE:
  217. These two #defines specify the address and size of the
  218. environment area within the remote memory space. The
  219. local device can get the environment from remote memory
  220. space by SRIO or PCIE links.
  221. config ENV_IS_IN_SPI_FLASH
  222. bool "Environment is in SPI flash"
  223. depends on !CHAIN_OF_TRUST && SPI
  224. default y if ARMADA_XP
  225. default y if INTEL_BAYTRAIL
  226. default y if INTEL_BRASWELL
  227. default y if INTEL_BROADWELL
  228. default y if NORTHBRIDGE_INTEL_IVYBRIDGE
  229. default y if INTEL_QUARK
  230. default y if INTEL_QUEENSBAY
  231. help
  232. Define this if you have a SPI Flash memory device which you
  233. want to use for the environment.
  234. - CONFIG_ENV_OFFSET:
  235. - CONFIG_ENV_SIZE:
  236. These two #defines specify the offset and size of the
  237. environment area within the SPI Flash. CONFIG_ENV_OFFSET must be
  238. aligned to an erase sector boundary.
  239. - CONFIG_ENV_SECT_SIZE:
  240. Define the SPI flash's sector size.
  241. - CONFIG_ENV_OFFSET_REDUND (optional):
  242. This setting describes a second storage area of CONFIG_ENV_SIZE
  243. size used to hold a redundant copy of the environment data, so
  244. that there is a valid backup copy in case there is a power failure
  245. during a "saveenv" operation. CONFIG_ENV_OFFSET_REDUND must be
  246. aligned to an erase sector boundary.
  247. config USE_ENV_SPI_BUS
  248. bool "SPI flash bus for environment"
  249. depends on ENV_IS_IN_SPI_FLASH
  250. help
  251. Force the SPI bus for environment.
  252. If not defined, use CONFIG_SF_DEFAULT_BUS.
  253. config ENV_SPI_BUS
  254. int "Value of SPI flash bus for environment"
  255. depends on USE_ENV_SPI_BUS
  256. help
  257. Value the SPI bus and chip select for environment.
  258. config USE_ENV_SPI_CS
  259. bool "SPI flash chip select for environment"
  260. depends on ENV_IS_IN_SPI_FLASH
  261. help
  262. Force the SPI chip select for environment.
  263. If not defined, use CONFIG_SF_DEFAULT_CS.
  264. config ENV_SPI_CS
  265. int "Value of SPI flash chip select for environment"
  266. depends on USE_ENV_SPI_CS
  267. help
  268. Value of the SPI chip select for environment.
  269. config USE_ENV_SPI_MAX_HZ
  270. bool "SPI flash max frequency for environment"
  271. depends on ENV_IS_IN_SPI_FLASH
  272. help
  273. Force the SPI max work clock for environment.
  274. If not defined, use CONFIG_SF_DEFAULT_SPEED.
  275. config ENV_SPI_MAX_HZ
  276. int "Value of SPI flash max frequency for environment"
  277. depends on USE_ENV_SPI_MAX_HZ
  278. help
  279. Value of the SPI max work clock for environment.
  280. config USE_ENV_SPI_MODE
  281. bool "SPI flash mode for environment"
  282. depends on ENV_IS_IN_SPI_FLASH
  283. help
  284. Force the SPI work mode for environment.
  285. config ENV_SPI_MODE
  286. hex "Value of SPI flash work mode for environment"
  287. depends on USE_ENV_SPI_MODE
  288. help
  289. Value of the SPI work mode for environment.
  290. See include/spi.h for value.
  291. config ENV_IS_IN_UBI
  292. bool "Environment in a UBI volume"
  293. depends on !CHAIN_OF_TRUST
  294. help
  295. Define this if you have an UBI volume that you want to use for the
  296. environment. This has the benefit of wear-leveling the environment
  297. accesses, which is important on NAND.
  298. - CONFIG_ENV_UBI_PART:
  299. Define this to a string that is the mtd partition containing the UBI.
  300. - CONFIG_ENV_UBI_VOLUME:
  301. Define this to the name of the volume that you want to store the
  302. environment in.
  303. - CONFIG_ENV_UBI_VOLUME_REDUND:
  304. Define this to the name of another volume to store a second copy of
  305. the environment in. This will enable redundant environments in UBI.
  306. It is assumed that both volumes are in the same MTD partition.
  307. config SYS_REDUNDAND_ENVIRONMENT
  308. bool "Enable redundant environment support"
  309. depends on ENV_IS_IN_EEPROM || ENV_IS_IN_FLASH || ENV_IS_IN_MMC || \
  310. ENV_IS_IN_NAND || ENV_IS_IN_SPI_FLASH || ENV_IS_IN_UBI
  311. help
  312. Normally, the environemt is stored in a single location. By
  313. selecting this option, you can then define where to hold a redundant
  314. copy of the environment data, so that there is a valid backup copy in
  315. case there is a power failure during a "saveenv" operation.
  316. config ENV_FAT_INTERFACE
  317. string "Name of the block device for the environment"
  318. depends on ENV_IS_IN_FAT
  319. default "mmc" if ARCH_SUNXI
  320. default "mmc" if TI_COMMON_CMD_OPTIONS || ARCH_ZYNQMP || ARCH_AT91
  321. help
  322. Define this to a string that is the name of the block device.
  323. config ENV_FAT_DEVICE_AND_PART
  324. string "Device and partition for where to store the environemt in FAT"
  325. depends on ENV_IS_IN_FAT
  326. default "0:1" if TI_COMMON_CMD_OPTIONS
  327. default "0:auto" if ARCH_ZYNQMP
  328. default "0:auto" if ARCH_SUNXI && MMC_SUNXI_SLOT_EXTRA = -1
  329. default "1:auto" if ARCH_SUNXI && MMC_SUNXI_SLOT_EXTRA != -1
  330. default "0" if ARCH_AT91
  331. help
  332. Define this to a string to specify the partition of the device. It can
  333. be as following:
  334. "D:P", "D:0", "D", "D:" or "D:auto" (D, P are integers. And P >= 1)
  335. - "D:P": device D partition P. Error occurs if device D has no
  336. partition table.
  337. - "D:0": device D.
  338. - "D" or "D:": device D partition 1 if device D has partition
  339. table, or the whole device D if has no partition
  340. table.
  341. - "D:auto": first partition in device D with bootable flag set.
  342. If none, first valid partition in device D. If no
  343. partition table then means device D.
  344. config ENV_FAT_FILE
  345. string "Name of the FAT file to use for the environment"
  346. depends on ENV_IS_IN_FAT
  347. default "uboot.env"
  348. help
  349. It's a string of the FAT file name. This file use to store the
  350. environment.
  351. config ENV_EXT4_INTERFACE
  352. string "Name of the block device for the environment"
  353. depends on ENV_IS_IN_EXT4
  354. help
  355. Define this to a string that is the name of the block device.
  356. config ENV_EXT4_DEVICE_AND_PART
  357. string "Device and partition for where to store the environemt in EXT4"
  358. depends on ENV_IS_IN_EXT4
  359. help
  360. Define this to a string to specify the partition of the device. It can
  361. be as following:
  362. "D:P", "D:0", "D", "D:" or "D:auto" (D, P are integers. And P >= 1)
  363. - "D:P": device D partition P. Error occurs if device D has no
  364. partition table.
  365. - "D:0": device D.
  366. - "D" or "D:": device D partition 1 if device D has partition
  367. table, or the whole device D if has no partition
  368. table.
  369. - "D:auto": first partition in device D with bootable flag set.
  370. If none, first valid partition in device D. If no
  371. partition table then means device D.
  372. config ENV_EXT4_FILE
  373. string "Name of the EXT4 file to use for the environment"
  374. depends on ENV_IS_IN_EXT4
  375. default "uboot.env"
  376. help
  377. It's a string of the EXT4 file name. This file use to store the
  378. environment (explicit path to the file)
  379. if ARCH_ROCKCHIP || ARCH_SUNXI || ARCH_ZYNQ || ARCH_ZYNQMP || ARCH_VERSAL || ARC || ARCH_STM32MP || ARCH_OMAP2PLUS || ARCH_AT91
  380. config ENV_OFFSET
  381. hex "Environment Offset"
  382. depends on (!ENV_IS_IN_UBI && !ENV_IS_NOWHERE) || ARCH_STM32MP
  383. default 0x3f8000 if ARCH_ROCKCHIP
  384. default 0x88000 if ARCH_SUNXI
  385. default 0xE0000 if ARCH_ZYNQ
  386. default 0x1E00000 if ARCH_ZYNQMP
  387. default 0x7F40000 if ARCH_VERSAL
  388. default 0 if ARC
  389. default 0x140000 if ARCH_AT91
  390. default 0x260000 if ARCH_OMAP2PLUS
  391. help
  392. Offset from the start of the device (or partition)
  393. config ENV_SIZE
  394. hex "Environment Size"
  395. default 0x40000 if ENV_IS_IN_SPI_FLASH && ARCH_ZYNQMP
  396. default 0x20000 if ARCH_SUNXI || ARCH_ZYNQ || ARCH_OMAP2PLUS || ARCH_AT91
  397. default 0x8000 if ARCH_ROCKCHIP || ARCH_ZYNQMP || ARCH_VERSAL
  398. default 0x4000 if ARC
  399. default 0x1f000
  400. help
  401. Size of the environment storage area
  402. config ENV_SECT_SIZE
  403. hex "Environment Sector-Size"
  404. depends on (!ENV_IS_NOWHERE && (ARCH_ZYNQ || ARCH_ZYNQMP || ARCH_VERSAL || ARCH_OMAP2PLUS || ARCH_AT91) )|| ARCH_STM32MP
  405. default 0x40000 if ARCH_ZYNQMP || ARCH_VERSAL
  406. default 0x20000 if ARCH_ZYNQ || ARCH_OMAP2PLUS || ARCH_AT91
  407. help
  408. Size of the sector containing the environment.
  409. config ENV_UBI_PART
  410. string "UBI partition name"
  411. depends on ENV_IS_IN_UBI
  412. help
  413. MTD partition containing the UBI device
  414. config ENV_UBI_VOLUME
  415. string "UBI volume name"
  416. depends on ENV_IS_IN_UBI
  417. help
  418. Name of the volume that you want to store the environment in.
  419. config ENV_UBI_VOLUME_REDUND
  420. string "UBI redundant volume name"
  421. depends on ENV_IS_IN_UBI && SYS_REDUNDAND_ENVIRONMENT
  422. help
  423. Name of the redundant volume that you want to store the environment in.
  424. config ENV_UBI_VID_OFFSET
  425. int "ubi environment VID offset"
  426. depends on ENV_IS_IN_UBI
  427. default 0
  428. help
  429. UBI VID offset for environment. If 0, no custom VID offset is used.
  430. endif
  431. config SYS_RELOC_GD_ENV_ADDR
  432. bool "Relocate gd->en_addr"
  433. help
  434. Relocate the early env_addr pointer so we know it is not inside
  435. the binary. Some systems need this and for the rest, it doesn't hurt.
  436. config USE_DEFAULT_ENV_FILE
  437. bool "Create default environment from file"
  438. help
  439. Normally, the default environment is automatically generated
  440. based on the settings of various CONFIG_* options, as well
  441. as the CONFIG_EXTRA_ENV_SETTINGS. By selecting this option,
  442. you can instead define the entire default environment in an
  443. external file.
  444. config DEFAULT_ENV_FILE
  445. string "Path to default environment file"
  446. depends on USE_DEFAULT_ENV_FILE
  447. help
  448. The path containing the default environment. The format is
  449. the same as accepted by the mkenvimage tool: lines
  450. containing key=value pairs, blank lines and lines beginning
  451. with # are ignored.
  452. config ENV_VARS_UBOOT_RUNTIME_CONFIG
  453. bool "Add run-time information to the environment"
  454. help
  455. Enable this in order to add variables describing certain
  456. run-time determined information about the hardware to the
  457. environment. These will be named board_name, board_rev.
  458. if SPL_ENV_SUPPORT
  459. config SPL_ENV_IS_NOWHERE
  460. bool "SPL Environment is not stored"
  461. default y if ENV_IS_NOWHERE
  462. help
  463. Similar to ENV_IS_NOWHERE, used for SPL environment.
  464. config SPL_ENV_IS_IN_MMC
  465. bool "SPL Environment in an MMC device"
  466. depends on !SPL_ENV_IS_NOWHERE
  467. depends on ENV_IS_IN_MMC
  468. default y
  469. help
  470. Similar to ENV_IS_IN_MMC, used for SPL environment.
  471. config SPL_ENV_IS_IN_FAT
  472. bool "SPL Environment is in a FAT filesystem"
  473. depends on !SPL_ENV_IS_NOWHERE
  474. depends on ENV_IS_IN_FAT
  475. default y
  476. help
  477. Similar to ENV_IS_IN_FAT, used for SPL environment.
  478. config SPL_ENV_IS_IN_EXT4
  479. bool "SPL Environment is in a EXT4 filesystem"
  480. depends on !SPL_ENV_IS_NOWHERE
  481. depends on ENV_IS_IN_EXT4
  482. default y
  483. help
  484. Similar to ENV_IS_IN_EXT4, used for SPL environment.
  485. config SPL_ENV_IS_IN_NAND
  486. bool "SPL Environment in a NAND device"
  487. depends on !SPL_ENV_IS_NOWHERE
  488. depends on ENV_IS_IN_NAND
  489. default y
  490. help
  491. Similar to ENV_IS_IN_NAND, used for SPL environment.
  492. config SPL_ENV_IS_IN_SPI_FLASH
  493. bool "SPL Environment is in SPI flash"
  494. depends on !SPL_ENV_IS_NOWHERE
  495. depends on ENV_IS_IN_SPI_FLASH
  496. default y
  497. help
  498. Similar to ENV_IS_IN_SPI_FLASH, used for SPL environment.
  499. config SPL_ENV_IS_IN_FLASH
  500. bool "SPL Environment in flash memory"
  501. depends on !SPL_ENV_IS_NOWHERE
  502. depends on ENV_IS_IN_FLASH
  503. default y
  504. help
  505. Similar to ENV_IS_IN_FLASH, used for SPL environment.
  506. endif
  507. if TPL_ENV_SUPPORT
  508. config TPL_ENV_IS_NOWHERE
  509. bool "TPL Environment is not stored"
  510. default y if ENV_IS_NOWHERE
  511. help
  512. Similar to ENV_IS_NOWHERE, used for TPL environment.
  513. config TPL_ENV_IS_IN_MMC
  514. bool "TPL Environment in an MMC device"
  515. depends on !TPL_ENV_IS_NOWHERE
  516. depends on ENV_IS_IN_MMC
  517. default y
  518. help
  519. Similar to ENV_IS_IN_MMC, used for TPL environment.
  520. config TPL_ENV_IS_IN_FAT
  521. bool "TPL Environment is in a FAT filesystem"
  522. depends on !TPL_ENV_IS_NOWHERE
  523. depends on ENV_IS_IN_FAT
  524. default y
  525. help
  526. Similar to ENV_IS_IN_FAT, used for TPL environment.
  527. config TPL_ENV_IS_IN_EXT4
  528. bool "TPL Environment is in a EXT4 filesystem"
  529. depends on !TPL_ENV_IS_NOWHERE
  530. depends on ENV_IS_IN_EXT4
  531. default y
  532. help
  533. Similar to ENV_IS_IN_EXT4, used for TPL environment.
  534. config TPL_ENV_IS_IN_NAND
  535. bool "TPL Environment in a NAND device"
  536. depends on !TPL_ENV_IS_NOWHERE
  537. depends on ENV_IS_IN_NAND
  538. default y
  539. help
  540. Similar to ENV_IS_IN_NAND, used for TPL environment.
  541. config TPL_ENV_IS_IN_SPI_FLASH
  542. bool "TPL Environment is in SPI flash"
  543. depends on !TPL_ENV_IS_NOWHERE
  544. depends on ENV_IS_IN_SPI_FLASH
  545. default y
  546. help
  547. Similar to ENV_IS_IN_SPI_FLASH, used for TPL environment.
  548. config TPL_ENV_IS_IN_FLASH
  549. bool "TPL Environment in flash memory"
  550. depends on !TPL_ENV_IS_NOWHERE
  551. depends on ENV_IS_IN_FLASH
  552. default y
  553. help
  554. Similar to ENV_IS_IN_FLASH, used for TPL environment.
  555. endif
  556. endmenu