[U-Boot] [PATCH 106/126] x86: Add an fdtmap and image-header

Simon Glass sjg at chromium.org
Wed Sep 25 15:00:32 UTC 2019


Add these entries to the ROM so that we can list the contents of an image
with 'binman ls'. The image-header is not essential but does speed up
access.

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

 arch/x86/dts/u-boot.dtsi | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/arch/x86/dts/u-boot.dtsi b/arch/x86/dts/u-boot.dtsi
index 8fc5146f26c..f2fb4c2abaa 100644
--- a/arch/x86/dts/u-boot.dtsi
+++ b/arch/x86/dts/u-boot.dtsi
@@ -125,6 +125,8 @@
 		filename = CONFIG_FSP_FILE_M;
 	};
 #endif
+	fdtmap {
+	};
 #ifdef CONFIG_HAVE_CMC
 	intel-cmc {
 		filename = CONFIG_CMC_FILE;
@@ -170,5 +172,8 @@
 		offset = <CONFIG_RESET_VEC_LOC>;
 	};
 #endif
+	image-header {
+		location = "end";
+	};
 };
 #endif
-- 
2.23.0.444.g18eeb5a265-goog



More information about the U-Boot mailing list