diff mbox

[U-Boot,v2,2/2] doc: document u-boot, mmc-env-offset and u-boot, mmc-env-offset-redund

Message ID 1493105963-44967-3-git-send-email-philipp.tomsich@theobroma-systems.com
State Superseded
Delegated to: Jaehoon Chung
Headers show

Commit Message

Philipp Tomsich April 25, 2017, 7:39 a.m. UTC
Adding documentation on the new config properties:
       'u-boot,mmc-env-offset' - overrides CONFIG_ENV_OFFSET
       'u-boot,mmc-env-offset-redundant'
                               - overrides CONFIG_ENV_OFFSET_REDUND

Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>

---

Changes in v2:
- added documentation in config.txt

 doc/device-tree-bindings/config.txt | 12 ++++++++++++
 1 file changed, 12 insertions(+)

Comments

Simon Glass April 29, 2017, 12:27 a.m. UTC | #1
On 25 April 2017 at 01:39, Philipp Tomsich
<philipp.tomsich@theobroma-systems.com> wrote:
> Adding documentation on the new config properties:
>        'u-boot,mmc-env-offset' - overrides CONFIG_ENV_OFFSET
>        'u-boot,mmc-env-offset-redundant'
>                                - overrides CONFIG_ENV_OFFSET_REDUND
>
> Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
>
> ---
>
> Changes in v2:
> - added documentation in config.txt
>
>  doc/device-tree-bindings/config.txt | 12 ++++++++++++
>  1 file changed, 12 insertions(+)

Acked-by: Simon Glass <sjg@chromium.org>
diff mbox

Patch

diff --git a/doc/device-tree-bindings/config.txt b/doc/device-tree-bindings/config.txt
index 5640bae..12a37c7 100644
--- a/doc/device-tree-bindings/config.txt
+++ b/doc/device-tree-bindings/config.txt
@@ -20,3 +20,15 @@  u-boot,efi-partition-entries-offset
 	is formatted.
 
 	This setting will override any values configured via Kconfig.
+
+u-boot,mmc-env-offset
+u-boot,mmc-env-offset-redundant
+	If present, the values of the 'u-boot,mmc-env-offset' and/or
+	of the u-boot,mmc-env-offset-redundant' properties overrides
+	CONFIG_ENV_OFFSET and CONFIG_ENV_OFFSET_REDUND, respectively,
+	for SD/MMC devices.
+
+	Values are interpreted as the offset from the start of the
+	device, specified in bytes.  It is assumed that the setting
+	will point at the beginning of a LBA and values that are not
+	LBA-aligned will be rounded up to the next LBA address.