Kconfig 22 KB

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