From 164f0414dad8d468b9f2a5fd545b657cf6068e58 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Mon, 16 Jan 2017 07:04:23 -0700 Subject: [PATCH] x86: link: Add SPL declarations to the binman image When building for 64-bit we need to put an SPL binary into the image. Update the binman image description to reflect this. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- arch/x86/dts/u-boot.dtsi | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/arch/x86/dts/u-boot.dtsi b/arch/x86/dts/u-boot.dtsi index 31f0b1aa10..69c1c1d498 100644 --- a/arch/x86/dts/u-boot.dtsi +++ b/arch/x86/dts/u-boot.dtsi @@ -21,9 +21,22 @@ intel-me { }; #endif +#ifdef CONFIG_SPL + u-boot-spl-with-ucode-ptr { + pos = ; + }; + + u-boot-dtb-with-ucode2 { + type = "u-boot-dtb-with-ucode"; + }; + u-boot { + pos = <0xfff00000>; + }; +#else u-boot-with-ucode-ptr { pos = ; }; +#endif u-boot-dtb-with-ucode { }; u-boot-ucode { @@ -57,9 +70,15 @@ pos = ; }; #endif +#ifdef CONFIG_SPL + x86-start16-spl { + pos = ; + }; +#else x86-start16 { pos = ; }; +#endif }; }; #endif