[U-Boot] [PATCH 02/31] binman: Move 'special properties' docs to README.entries

Simon Glass sjg at chromium.org
Fri Sep 14 10:57:07 UTC 2018


This information should be in the entry it relates to, not in the main
README. Move it.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 tools/binman/README                         | 11 -----------
 tools/binman/README.entries                 |  5 ++++-
 tools/binman/etype/u_boot_with_ucode_ptr.py |  3 +++
 3 files changed, 7 insertions(+), 12 deletions(-)

diff --git a/tools/binman/README b/tools/binman/README
index cb34171e5fc..3dc8b9b80a8 100644
--- a/tools/binman/README
+++ b/tools/binman/README
@@ -462,17 +462,6 @@ see README.entries. This is generated from the source code using:
 	binman -E >tools/binman/README.entries
 
 
-Special properties
-------------------
-
-Some entries support special properties, documented here:
-
-u-boot-with-ucode-ptr:
-	optional-ucode: boolean property to make microcode optional. If the
-		u-boot.bin image does not include microcode, no error will
-		be generated.
-
-
 Order of image creation
 -----------------------
 
diff --git a/tools/binman/README.entries b/tools/binman/README.entries
index c6e7b226090..041e77771ed 100644
--- a/tools/binman/README.entries
+++ b/tools/binman/README.entries
@@ -524,6 +524,9 @@ Entry: u-boot-with-ucode-ptr: U-Boot with embedded microcode pointer
 
 Properties / Entry arguments:
     - filename: Filename of u-boot-nodtb.dtb (default 'u-boot-nodtb.dtb')
+    - optional-ucode: boolean property to make microcode optional. If the
+        u-boot.bin image does not include microcode, no error will
+        be generated.
 
 See Entry_u_boot_ucode for full details of the three entries involved in
 this process. This entry updates U-Boot with the offset and size of the
@@ -543,7 +546,7 @@ Properties / Entry arguments:
     - kernelkey: Name of the kernel key to use (inside keydir)
     - preamble-flags: Value of the vboot preamble flags (typically 0)
 
-Chromium OS  signs the read-write firmware and kernel, writing the signature
+Chromium OS signs the read-write firmware and kernel, writing the signature
 in this block. This allows U-Boot to verify that the next firmware stage
 and kernel are genuine.
 
diff --git a/tools/binman/etype/u_boot_with_ucode_ptr.py b/tools/binman/etype/u_boot_with_ucode_ptr.py
index 51e7ba48f59..c850b59a1e1 100644
--- a/tools/binman/etype/u_boot_with_ucode_ptr.py
+++ b/tools/binman/etype/u_boot_with_ucode_ptr.py
@@ -19,6 +19,9 @@ class Entry_u_boot_with_ucode_ptr(Entry_blob):
 
     Properties / Entry arguments:
         - filename: Filename of u-boot-nodtb.dtb (default 'u-boot-nodtb.dtb')
+        - optional-ucode: boolean property to make microcode optional. If the
+            u-boot.bin image does not include microcode, no error will
+            be generated.
 
     See Entry_u_boot_ucode for full details of the three entries involved in
     this process. This entry updates U-Boot with the offset and size of the
-- 
2.19.0.397.gdd90340f6a-goog



More information about the U-Boot mailing list