From c9e87ba66540cf72c164674a71af43853d087ba8 Mon Sep 17 00:00:00 2001 From: Jorge Ramirez-Ortiz Date: Mon, 6 Nov 2017 14:16:37 +0100 Subject: env: Save environment at the end of an MMC partition Allow the platform to define a partition by name at the end of which the environment data will be located. Signed-off-by: Jorge Ramirez-Ortiz --- doc/device-tree-bindings/config.txt | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'doc') diff --git a/doc/device-tree-bindings/config.txt b/doc/device-tree-bindings/config.txt index fe0e04af92..15e4349c19 100644 --- a/doc/device-tree-bindings/config.txt +++ b/doc/device-tree-bindings/config.txt @@ -21,6 +21,15 @@ u-boot,efi-partition-entries-offset This setting will override any values configured via Kconfig. +u-boot,mmc-env-partition + if present, the environment shall be placed at the last + CONFIG_ENV_SIZE blocks of the partition on the + CONFIG_SYS_MMC_ENV_DEV. + + if u-boot,mmc-env-offset* is present, this setting will take + precedence. In that case, only if the partition is not found, + mmc-env-offset* will be tried. + u-boot,mmc-env-offset u-boot,mmc-env-offset-redundant If present, the values of the 'u-boot,mmc-env-offset' and/or -- cgit v1.2.3