aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-11-04 09:57:17 -0700
committerBin Meng <bmeng.cn@gmail.com>2020-11-05 14:58:45 +0800
commit653554b40aa5c1d32e9a6281dc97f1b75eff724b (patch)
treefda68d1d6a52eeffaebdd19d75483f60520bff51
parentdac7778d74d052380f904622e738dc749b695afc (diff)
downloadu-boot-653554b40aa5c1d32e9a6281dc97f1b75eff724b.zip
u-boot-653554b40aa5c1d32e9a6281dc97f1b75eff724b.tar.gz
u-boot-653554b40aa5c1d32e9a6281dc97f1b75eff724b.tar.bz2
x86: Add support for private files
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@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
-rw-r--r--arch/x86/dts/u-boot.dtsi4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/x86/dts/u-boot.dtsi b/arch/x86/dts/u-boot.dtsi
index 90badcc..bf92f45 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";
+ };
#ifdef CONFIG_HAVE_CMC
intel-cmc {
filename = CONFIG_CMC_FILE;