summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2017-07-24 03:19:47 (GMT)
committerTom Rini <trini@konsulko.com>2017-07-26 01:34:15 (GMT)
commitb31e065f8999d2dc70f3deb430c9b66a5d0d02ea (patch)
tree371afa81d57c104e7e6f2ba87468f613f9d6461f /common
parent337cd3f211223719a173a89e4527475ac22e8a01 (diff)
downloadu-boot-fsl-qoriq-b31e065f8999d2dc70f3deb430c9b66a5d0d02ea.tar.xz
Convert CONFIG_ENV_IS_IN_FAT to Kconfig
This converts the following to Kconfig: CONFIG_ENV_IS_IN_FAT Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common')
-rw-r--r--common/Kconfig34
1 files changed, 34 insertions, 0 deletions
diff --git a/common/Kconfig b/common/Kconfig
index 947d7f2..abf55e5 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -252,6 +252,40 @@ config ENV_IS_IN_EEPROM
EEPROM which holds the environment, is reached over
a pca9547 i2c mux with address 0x70, channel 3.
+config ENV_IS_IN_FAT
+ bool "Environment is in a FAT filesystem"
+ depends on !CHAIN_OF_TRUST
+ help
+ Define this if you want to use the FAT file system for the environment.
+
+ - FAT_ENV_INTERFACE:
+
+ Define this to a string that is the name of the block device.
+
+ - FAT_ENV_DEVICE_AND_PART:
+
+ Define this to a string to specify the partition of the device. It can
+ be as following:
+
+ "D:P", "D:0", "D", "D:" or "D:auto" (D, P are integers. And P >= 1)
+ - "D:P": device D partition P. Error occurs if device D has no
+ partition table.
+ - "D:0": device D.
+ - "D" or "D:": device D partition 1 if device D has partition
+ table, or the whole device D if has no partition
+ table.
+ - "D:auto": first partition in device D with bootable flag set.
+ If none, first valid partition in device D. If no
+ partition table then means device D.
+
+ - FAT_ENV_FILE:
+
+ It's a string of the FAT file name. This file use to store the
+ environment.
+
+ - CONFIG_FAT_WRITE:
+ This must be enabled. Otherwise it cannot save the environment file.
+
config ENV_IS_IN_FLASH
bool "Environment in flash memory"
depends on !CHAIN_OF_TRUST