[PATCH 04/32] x86: Add support for private files

Simon Glass sjg at chromium.org
Mon Sep 28 06:25:43 CEST 2020


Some boards need to include binary data into the image for use during the
boot process. Add a node for these.

An example is the audio-codec configuration used by some audio drivers on
Intel platforms. If no private files are provided, they will be omitted.

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

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

diff --git a/arch/x86/dts/u-boot.dtsi b/arch/x86/dts/u-boot.dtsi
index 0afdcac28d9..754df3d8749 100644
--- a/arch/x86/dts/u-boot.dtsi
+++ b/arch/x86/dts/u-boot.dtsi
@@ -138,6 +138,10 @@
 		filename = CONFIG_FSP_FILE_S;
 	};
 #endif
+	private_files: private-files {
+		type = "files";
+		pattern = "*.dat";
+	};
 #if IS_ENABLED(CONFIG_HAVE_MRC) || IS_ENABLED(CONFIG_FSP_VERSION2)
 	rw-mrc-cache {
 		type = "blob";
-- 
2.28.0.681.g6f77f65b4e-goog



More information about the U-Boot mailing list