[PATCH v2 04/30] x86: Add support for private files
Simon Glass
sjg at chromium.org
Thu Oct 22 05:02:37 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>
Reviewed-by: Bin Meng <bmeng.cn at gmail.com>
---
(no changes since v1)
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.29.0.rc1.297.gfa9743e501-goog
More information about the U-Boot
mailing list