Kconfig 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699
  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. depends on MTD_UBI
  295. depends on CMD_UBI
  296. help
  297. Define this if you have an UBI volume that you want to use for the
  298. environment. This has the benefit of wear-leveling the environment
  299. accesses, which is important on NAND.
  300. - CONFIG_ENV_UBI_PART:
  301. Define this to a string that is the mtd partition containing the UBI.
  302. - CONFIG_ENV_UBI_VOLUME:
  303. Define this to the name of the volume that you want to store the
  304. environment in.
  305. - CONFIG_ENV_UBI_VOLUME_REDUND:
  306. Define this to the name of another volume to store a second copy of
  307. the environment in. This will enable redundant environments in UBI.
  308. It is assumed that both volumes are in the same MTD partition.
  309. config SYS_REDUNDAND_ENVIRONMENT
  310. bool "Enable redundant environment support"
  311. depends on ENV_IS_IN_EEPROM || ENV_IS_IN_FLASH || ENV_IS_IN_MMC || \
  312. ENV_IS_IN_NAND || ENV_IS_IN_SPI_FLASH || ENV_IS_IN_UBI
  313. help
  314. Normally, the environemt is stored in a single location. By
  315. selecting this option, you can then define where to hold a redundant
  316. copy of the environment data, so that there is a valid backup copy in
  317. case there is a power failure during a "saveenv" operation.
  318. config ENV_FAT_INTERFACE
  319. string "Name of the block device for the environment"
  320. depends on ENV_IS_IN_FAT
  321. default "mmc" if ARCH_SUNXI
  322. default "mmc" if TI_COMMON_CMD_OPTIONS || ARCH_ZYNQMP || ARCH_AT91
  323. help
  324. Define this to a string that is the name of the block device.
  325. config ENV_FAT_DEVICE_AND_PART
  326. string "Device and partition for where to store the environemt in FAT"
  327. depends on ENV_IS_IN_FAT
  328. default "0:1" if TI_COMMON_CMD_OPTIONS
  329. default "0:auto" if ARCH_ZYNQMP
  330. default "0:auto" if ARCH_SUNXI && MMC_SUNXI_SLOT_EXTRA = -1
  331. default "1:auto" if ARCH_SUNXI && MMC_SUNXI_SLOT_EXTRA != -1
  332. default "0" if ARCH_AT91
  333. help
  334. Define this to a string to specify the partition of the device. It can
  335. be as following:
  336. "D:P", "D:0", "D", "D:" or "D:auto" (D, P are integers. And P >= 1)
  337. - "D:P": device D partition P. Error occurs if device D has no
  338. partition table.
  339. - "D:0": device D.
  340. - "D" or "D:": device D partition 1 if device D has partition
  341. table, or the whole device D if has no partition
  342. table.
  343. - "D:auto": first partition in device D with bootable flag set.
  344. If none, first valid partition in device D. If no
  345. partition table then means device D.
  346. config ENV_FAT_FILE
  347. string "Name of the FAT file to use for the environment"
  348. depends on ENV_IS_IN_FAT
  349. default "uboot.env"
  350. help
  351. It's a string of the FAT file name. This file use to store the
  352. environment.
  353. config ENV_EXT4_INTERFACE
  354. string "Name of the block device for the environment"
  355. depends on ENV_IS_IN_EXT4
  356. help
  357. Define this to a string that is the name of the block device.
  358. config ENV_EXT4_DEVICE_AND_PART
  359. string "Device and partition for where to store the environemt in EXT4"
  360. depends on ENV_IS_IN_EXT4
  361. help
  362. Define this to a string to specify the partition of the device. It can
  363. be as following:
  364. "D:P", "D:0", "D", "D:" or "D:auto" (D, P are integers. And P >= 1)
  365. - "D:P": device D partition P. Error occurs if device D has no
  366. partition table.
  367. - "D:0": device D.
  368. - "D" or "D:": device D partition 1 if device D has partition
  369. table, or the whole device D if has no partition
  370. table.
  371. - "D:auto": first partition in device D with bootable flag set.
  372. If none, first valid partition in device D. If no
  373. partition table then means device D.
  374. config ENV_EXT4_FILE
  375. string "Name of the EXT4 file to use for the environment"
  376. depends on ENV_IS_IN_EXT4
  377. default "uboot.env"
  378. help
  379. It's a string of the EXT4 file name. This file use to store the
  380. environment (explicit path to the file)
  381. config ENV_ADDR
  382. hex "Environment address"
  383. depends on ENV_IS_IN_FLASH || ENV_IS_IN_NVRAM || ENV_IS_IN_ONENAND || \
  384. ENV_IS_IN_REMOTE || ENV_IS_IN_SPI_FLASH
  385. default 0x0 if ENV_IS_IN_SPI_FLASH
  386. help
  387. Offset from the start of the device (or partition)
  388. config ENV_ADDR_REDUND
  389. hex "Redundant environment address"
  390. depends on ENV_IS_IN_FLASH && SYS_REDUNDAND_ENVIRONMENT
  391. help
  392. Offset from the start of the device (or partition) of the redundant
  393. environment location.
  394. config ENV_OFFSET
  395. hex "Environment offset"
  396. depends on ENV_IS_IN_EEPROM || ENV_IS_IN_MMC || ENV_IS_IN_NAND || \
  397. ENV_IS_IN_SPI_FLASH
  398. default 0x3f8000 if ARCH_ROCKCHIP
  399. default 0x88000 if ARCH_SUNXI
  400. default 0xE0000 if ARCH_ZYNQ
  401. default 0x1E00000 if ARCH_ZYNQMP
  402. default 0x7F40000 if ARCH_VERSAL
  403. default 0 if ARC
  404. default 0x140000 if ARCH_AT91
  405. default 0x260000 if ARCH_OMAP2PLUS
  406. help
  407. Offset from the start of the device (or partition)
  408. config ENV_OFFSET_REDUND
  409. hex "Redundant environment offset"
  410. depends on (ENV_IS_IN_EEPROM || ENV_IS_IN_MMC || ENV_IS_IN_NAND || \
  411. ENV_IS_IN_SPI_FLASH) && SYS_REDUNDAND_ENVIRONMENT
  412. help
  413. Offset from the start of the device (or partition) of the redundant
  414. environment location.
  415. config ENV_SIZE
  416. hex "Environment Size"
  417. default 0x40000 if ENV_IS_IN_SPI_FLASH && ARCH_ZYNQMP
  418. default 0x20000 if ARCH_SUNXI || ARCH_ZYNQ || ARCH_OMAP2PLUS || ARCH_AT91
  419. default 0x8000 if ARCH_ROCKCHIP || ARCH_ZYNQMP || ARCH_VERSAL
  420. default 0x4000 if ARC
  421. default 0x1f000
  422. help
  423. Size of the environment storage area
  424. config ENV_SECT_SIZE
  425. hex "Environment Sector-Size"
  426. depends on ENV_IS_IN_FLASH || ENV_IS_IN_SPI_FLASH
  427. default 0x40000 if ARCH_ZYNQMP || ARCH_VERSAL
  428. default 0x20000 if ARCH_ZYNQ || ARCH_OMAP2PLUS || ARCH_AT91
  429. help
  430. Size of the sector containing the environment.
  431. config ENV_UBI_PART
  432. string "UBI partition name"
  433. depends on ENV_IS_IN_UBI
  434. help
  435. MTD partition containing the UBI device
  436. config ENV_UBI_VOLUME
  437. string "UBI volume name"
  438. depends on ENV_IS_IN_UBI
  439. help
  440. Name of the volume that you want to store the environment in.
  441. config ENV_UBI_VOLUME_REDUND
  442. string "UBI redundant volume name"
  443. depends on ENV_IS_IN_UBI && SYS_REDUNDAND_ENVIRONMENT
  444. help
  445. Name of the redundant volume that you want to store the environment in.
  446. config ENV_UBI_VID_OFFSET
  447. int "ubi environment VID offset"
  448. depends on ENV_IS_IN_UBI
  449. default 0
  450. help
  451. UBI VID offset for environment. If 0, no custom VID offset is used.
  452. config SYS_RELOC_GD_ENV_ADDR
  453. bool "Relocate gd->en_addr"
  454. help
  455. Relocate the early env_addr pointer so we know it is not inside
  456. the binary. Some systems need this and for the rest, it doesn't hurt.
  457. config USE_DEFAULT_ENV_FILE
  458. bool "Create default environment from file"
  459. help
  460. Normally, the default environment is automatically generated
  461. based on the settings of various CONFIG_* options, as well
  462. as the CONFIG_EXTRA_ENV_SETTINGS. By selecting this option,
  463. you can instead define the entire default environment in an
  464. external file.
  465. config DEFAULT_ENV_FILE
  466. string "Path to default environment file"
  467. depends on USE_DEFAULT_ENV_FILE
  468. help
  469. The path containing the default environment. The format is
  470. the same as accepted by the mkenvimage tool: lines
  471. containing key=value pairs, blank lines and lines beginning
  472. with # are ignored.
  473. config ENV_VARS_UBOOT_RUNTIME_CONFIG
  474. bool "Add run-time information to the environment"
  475. help
  476. Enable this in order to add variables describing certain
  477. run-time determined information about the hardware to the
  478. environment. These will be named board_name, board_rev.
  479. if SPL_ENV_SUPPORT
  480. config SPL_ENV_IS_NOWHERE
  481. bool "SPL Environment is not stored"
  482. default y if ENV_IS_NOWHERE
  483. help
  484. Similar to ENV_IS_NOWHERE, used for SPL environment.
  485. config SPL_ENV_IS_IN_MMC
  486. bool "SPL Environment in an MMC device"
  487. depends on !SPL_ENV_IS_NOWHERE
  488. depends on ENV_IS_IN_MMC
  489. default y
  490. help
  491. Similar to ENV_IS_IN_MMC, used for SPL environment.
  492. config SPL_ENV_IS_IN_FAT
  493. bool "SPL Environment is in a FAT filesystem"
  494. depends on !SPL_ENV_IS_NOWHERE
  495. depends on ENV_IS_IN_FAT
  496. default y
  497. help
  498. Similar to ENV_IS_IN_FAT, used for SPL environment.
  499. config SPL_ENV_IS_IN_EXT4
  500. bool "SPL Environment is in a EXT4 filesystem"
  501. depends on !SPL_ENV_IS_NOWHERE
  502. depends on ENV_IS_IN_EXT4
  503. default y
  504. help
  505. Similar to ENV_IS_IN_EXT4, used for SPL environment.
  506. config SPL_ENV_IS_IN_NAND
  507. bool "SPL Environment in a NAND device"
  508. depends on !SPL_ENV_IS_NOWHERE
  509. depends on ENV_IS_IN_NAND
  510. default y
  511. help
  512. Similar to ENV_IS_IN_NAND, used for SPL environment.
  513. config SPL_ENV_IS_IN_SPI_FLASH
  514. bool "SPL Environment is in SPI flash"
  515. depends on !SPL_ENV_IS_NOWHERE
  516. depends on ENV_IS_IN_SPI_FLASH
  517. default y
  518. help
  519. Similar to ENV_IS_IN_SPI_FLASH, used for SPL environment.
  520. config SPL_ENV_IS_IN_FLASH
  521. bool "SPL Environment in flash memory"
  522. depends on !SPL_ENV_IS_NOWHERE
  523. depends on ENV_IS_IN_FLASH
  524. default y
  525. help
  526. Similar to ENV_IS_IN_FLASH, used for SPL environment.
  527. endif
  528. if TPL_ENV_SUPPORT
  529. config TPL_ENV_IS_NOWHERE
  530. bool "TPL Environment is not stored"
  531. default y if ENV_IS_NOWHERE
  532. help
  533. Similar to ENV_IS_NOWHERE, used for TPL environment.
  534. config TPL_ENV_IS_IN_MMC
  535. bool "TPL Environment in an MMC device"
  536. depends on !TPL_ENV_IS_NOWHERE
  537. depends on ENV_IS_IN_MMC
  538. default y
  539. help
  540. Similar to ENV_IS_IN_MMC, used for TPL environment.
  541. config TPL_ENV_IS_IN_FAT
  542. bool "TPL Environment is in a FAT filesystem"
  543. depends on !TPL_ENV_IS_NOWHERE
  544. depends on ENV_IS_IN_FAT
  545. default y
  546. help
  547. Similar to ENV_IS_IN_FAT, used for TPL environment.
  548. config TPL_ENV_IS_IN_EXT4
  549. bool "TPL Environment is in a EXT4 filesystem"
  550. depends on !TPL_ENV_IS_NOWHERE
  551. depends on ENV_IS_IN_EXT4
  552. default y
  553. help
  554. Similar to ENV_IS_IN_EXT4, used for TPL environment.
  555. config TPL_ENV_IS_IN_NAND
  556. bool "TPL Environment in a NAND device"
  557. depends on !TPL_ENV_IS_NOWHERE
  558. depends on ENV_IS_IN_NAND
  559. default y
  560. help
  561. Similar to ENV_IS_IN_NAND, used for TPL environment.
  562. config TPL_ENV_IS_IN_SPI_FLASH
  563. bool "TPL Environment is in SPI flash"
  564. depends on !TPL_ENV_IS_NOWHERE
  565. depends on ENV_IS_IN_SPI_FLASH
  566. default y
  567. help
  568. Similar to ENV_IS_IN_SPI_FLASH, used for TPL environment.
  569. config TPL_ENV_IS_IN_FLASH
  570. bool "TPL Environment in flash memory"
  571. depends on !TPL_ENV_IS_NOWHERE
  572. depends on ENV_IS_IN_FLASH
  573. default y
  574. help
  575. Similar to ENV_IS_IN_FLASH, used for TPL environment.
  576. endif
  577. endmenu