From 985186d1f2539c002c8482b2b164d59026d1bea3 Mon Sep 17 00:00:00 2001 From: Hamish Guthrie Date: Wed, 15 May 2019 15:15:55 +0200 Subject: 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 Signed-off-by: Markus Klotzbuecher Reviewed-by: Heiko Schocher Cc: Kyungmin Park --- env/Kconfig | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'env/Kconfig') 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 -- cgit v1.2.3