Kconfig 22 KB

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