summaryrefslogtreecommitdiff
path: root/env/Kconfig
diff options
context:
space:
mode:
authorHamish Guthrie <hamish.guthrie@kistler.com>2019-05-15 16:15:55 +0300
committerHeiko Schocher <hs@denx.de>2019-07-09 08:00:22 +0300
commit985186d1f2539c002c8482b2b164d59026d1bea3 (patch)
tree3cf0da0ef3a822bba5025a2fd281146980ee43f8 /env/Kconfig
parenta9221f3ebd6dc71b33c14055504446d8e08f372b (diff)
downloadu-boot-985186d1f2539c002c8482b2b164d59026d1bea3.tar.xz
env: ubi: support configurable VID offset
Introduce KConfig CONFIG_ENV_UBI_VID_OFFSET to allow providing custom VID header offsets for the environment on UBI. Signed-off-by: Hamish Guthrie <hamish.guthrie@kistler.com> Signed-off-by: Markus Klotzbuecher <markus.klotzbuecher@kistler.com> Reviewed-by: Heiko Schocher <hs@denx.de> Cc: Kyungmin Park <kmpark@infradead.org>
Diffstat (limited to 'env/Kconfig')
-rw-r--r--env/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/env/Kconfig b/env/Kconfig
index 06ab4bcb54..d86a9bfa30 100644
--- a/env/Kconfig
+++ b/env/Kconfig
@@ -516,6 +516,13 @@ config ENV_UBI_VOLUME_REDUND
help
Name of the redundant volume that you want to store the environment in.
+config ENV_UBI_VID_OFFSET
+ int "ubi environment VID offset"
+ depends on ENV_IS_IN_UBI
+ default 0
+ help
+ UBI VID offset for environment. If 0, no custom VID offset is used.
+
endif
config USE_DEFAULT_ENV_FILE