diff mbox

[U-Boot,v2,2/2] part_efi: document device-tree binding for part_efi configuration

Message ID 1487787444-52125-3-git-send-email-philipp.tomsich@theobroma-systems.com
State Superseded
Delegated to: Tom Rini
Headers show

Commit Message

Philipp Tomsich Feb. 22, 2017, 6:17 p.m. UTC
This moves the description of the /config node from README.fdt-control
into a separate file doc/device-tree-bindings/config.txt and adds the
documentation on the new u-boot,efi-partition-entries-offset property
(which overrides CONFIG_EFI_PARTITION_ENTRIES_OFF, if present).

Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
---
 doc/README.fdt-control              | 16 ----------------
 doc/device-tree-bindings/config.txt | 22 ++++++++++++++++++++++
 2 files changed, 22 insertions(+), 16 deletions(-)
 create mode 100644 doc/device-tree-bindings/config.txt

Comments

Simon Glass Feb. 23, 2017, 2:23 a.m. UTC | #1
On 22 February 2017 at 11:17, Philipp Tomsich
<philipp.tomsich@theobroma-systems.com> wrote:
> This moves the description of the /config node from README.fdt-control
> into a separate file doc/device-tree-bindings/config.txt and adds the
> documentation on the new u-boot,efi-partition-entries-offset property
> (which overrides CONFIG_EFI_PARTITION_ENTRIES_OFF, if present).
>
> Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
> ---
>  doc/README.fdt-control              | 16 ----------------
>  doc/device-tree-bindings/config.txt | 22 ++++++++++++++++++++++
>  2 files changed, 22 insertions(+), 16 deletions(-)
>  create mode 100644 doc/device-tree-bindings/config.txt

Reviewed-by: Simon Glass <sjg@chromium.org>

(if you end up resending, this would be better as two separate patches)
diff mbox

Patch

diff --git a/doc/README.fdt-control b/doc/README.fdt-control
index 2913fcb..c965629 100644
--- a/doc/README.fdt-control
+++ b/doc/README.fdt-control
@@ -168,22 +168,6 @@  After board configuration is done, fdt supported u-boot can be build in two ways
     $ make DEVICE_TREE=<dts-file-name>
 
 
-Configuration Options
----------------------
-
-A number of run-time configuration options are provided in the /config node
-of the control device tree. You can access these using fdtdec_get_config_int(),
-fdtdec_get_config_bool() and fdtdec_get_config_string().
-
-Available options are:
-
-silent-console
-	If present and non-zero, the console is silenced by default on boot.
-
-no-keyboard
-	Tells U-Boot not to expect an attached keyboard with a VGA console
-
-
 Limitations
 -----------
 
diff --git a/doc/device-tree-bindings/config.txt b/doc/device-tree-bindings/config.txt
new file mode 100644
index 0000000..5640bae
--- /dev/null
+++ b/doc/device-tree-bindings/config.txt
@@ -0,0 +1,22 @@ 
+The /config node (Configuration Options)
+----------------------------------------
+
+A number of run-time configuration options are provided in the /config node
+of the control device tree. You can access these using fdtdec_get_config_int(),
+fdtdec_get_config_bool() and fdtdec_get_config_string().
+
+Available options are:
+
+silent-console
+	If present and non-zero, the console is silenced by default on boot.
+
+no-keyboard
+	Tells U-Boot not to expect an attached keyboard with a VGA console
+
+u-boot,efi-partition-entries-offset
+	If present, this provides an offset (in bytes, from the start of a
+	device) that should be skipped over before the partition entries.
+	This is used by the EFI/GPT partition implementation when a device
+	is formatted.
+
+	This setting will override any values configured via Kconfig.