x86: quark: Fix build error for quark-based boards
PATCH 1/3 x86: quark: Fix build error for quark-based boards
With the conversion to use binman to build x86 boards, Intel Galileo board does not build anymore due to missing ucode entry. In fact ucode is not needed for quark-based boards.
---
arch/x86/dts/quark-u-boot.dtsi | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 arch/x86/dts/quark-u-boot.dtsi
arch/x86/dts/quark-u-boot.dtsi new file +17 -0
@@ -0,0 +1,17 @@ +/* + * Copyright (C) 2016, Bin Meng <[email protected]> + * + * SPDX-License-Identifier: GPL-2.0+ + */ + +#include <u-boot.dtsi> + +#ifdef CONFIG_ROM_SIZE +/ { + binman { + u-boot-with-ucode-ptr { + optional-ucode; + }; + }; +}; +#endif
Signature · 1 line
2.9.2
PATCH 2/3 x86: Add file names from Kconfig in CMC/FSP/VGA nodes in u-boot.dtsi
Since we already have a bunch of Kconfig options for CMC/FSP/VGA file names, add these from Kconfig in the corresponding dts nodes.
---
arch/x86/dts/u-boot.dtsi | 3 +++ 1 file changed, 3 insertions(+)
arch/x86/dts/u-boot.dtsi +3 -0
@@ -36,16 +36,19 @@ #endif #ifdef CONFIG_HAVE_FSP intel-fsp { + filename = CONFIG_FSP_FILE; pos = <CONFIG_FSP_ADDR>; }; #endif #ifdef CONFIG_HAVE_CMC intel-cmc { + filename = CONFIG_CMC_FILE; pos = <CONFIG_CMC_ADDR>; }; #endif #ifdef CONFIG_HAVE_VGA_BIOS intel-vga { + filename = CONFIG_VGA_BIOS_FILE; pos = <CONFIG_VGA_BIOS_ADDR>; }; #endif
Signature · 1 line
2.9.2
PATCH 3/3 binman: Remove hard-coded file name for x86 CMC/FSP/VGA
In reply to Bin MengNow that we have added file names from Kconfig in x86 u-boot.dtsi, update binman to avoid using hard-coded names.
---
tools/binman/etype/intel_cmc.py | 3 --- tools/binman/etype/intel_fsp.py | 3 --- tools/binman/etype/intel_vga.py | 3 --- 3 files changed, 9 deletions(-)
tools/binman/etype/intel_cmc.py +0 -3
@@ -12,6 +12,3 @@ from blob import Entry_blob class Entry_intel_cmc(Entry_blob): def __init__(self, image, etype, node): Entry_blob.__init__(self, image, etype, node) - - def GetDefaultFilename(self): - return 'cmc.bin'
tools/binman/etype/intel_fsp.py +0 -3
@@ -12,6 +12,3 @@ from blob import Entry_blob class Entry_intel_fsp(Entry_blob): def __init__(self, image, etype, node): Entry_blob.__init__(self, image, etype, node) - - def GetDefaultFilename(self): - return 'fsp.bin'
tools/binman/etype/intel_vga.py +0 -3
@@ -12,6 +12,3 @@ from blob import Entry_blob class Entry_intel_vga(Entry_blob): def __init__(self, image, etype, node): Entry_blob.__init__(self, image, etype, node) - - def GetDefaultFilename(self): - return 'vga.bin'
Signature · 1 line
2.9.2
PATCH 1/3 x86: quark: Fix build error for quark-based boards
In reply to Bin MengQuoted 10 lines · Bin Meng
With the conversion to use binman to build x86 boards, Intel Galileo board does not build anymore due to missing ucode entry. In fact ucode is not needed for quark-based boards.
Signed-off-by Bin Meng <[email protected]>---
arch/x86/dts/quark-u-boot.dtsi | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 arch/x86/dts/quark-u-boot.dtsi
PATCH 2/3 x86: Add file names from Kconfig in CMC/FSP/VGA nodes in u-boot.dtsi
In reply to Bin MengQuoted 8 lines · Bin Meng
Since we already have a bunch of
Kconfigoptions for CMC/FSP/VGA file names, add these fromKconfigin the corresponding dts nodes.Signed-off-by Bin Meng <[email protected]>---
arch/x86/dts/u-boot.dtsi | 3 +++ 1 file changed, 3 insertions(+)
PATCH 3/3 binman: Remove hard-coded file name for x86 CMC/FSP/VGA
In reply to Bin MengQuoted 10 lines · Bin Meng
Now that we have added file names from
Kconfigin x86u-boot.dtsi, update binman to avoid using hard-coded names.Signed-off-by Bin Meng <[email protected]>---
tools/binman/etype/intel_cmc.py | 3 --- tools/binman/etype/intel_fsp.py | 3 --- tools/binman/etype/intel_vga.py | 3 --- 3 files changed, 9 deletions(-)
PATCH 1/3 x86: quark: Fix build error for quark-based boards
In reply to Simon GlassQuoted 5 lines · Simon Glass
Quoted 4 lines · Bin Meng
With the conversion to use binman to build x86 boards, Intel Galileo board does not build anymore due to missing ucode entry. In fact ucode is not needed for quark-based boards.
Quoted 8 lines
Quoted 6 lines
Signed-off-by Bin Meng <[email protected]>---
arch/x86/dts/quark-u-boot.dtsi | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 arch/x86/dts/quark-u-boot.dtsiReviewed-by Simon Glass <[email protected]>
applied to u-boot-x86, thanks!
PATCH 2/3 x86: Add file names from Kconfig in CMC/FSP/VGA nodes in u-boot.dtsi
In reply to Simon GlassQuoted 11 lines · Simon Glass
Quoted 8 lines · Bin Meng
Since we already have a bunch of
Kconfigoptions for CMC/FSP/VGA file names, add these fromKconfigin the corresponding dts nodes.Signed-off-by Bin Meng <[email protected]>---
arch/x86/dts/u-boot.dtsi | 3 +++ 1 file changed, 3 insertions(+)Reviewed-by Simon Glass <[email protected]>
applied to u-boot-x86, thanks!
PATCH 3/3 binman: Remove hard-coded file name for x86 CMC/FSP/VGA
In reply to Simon GlassQuoted 7 lines · Simon Glass
Quoted 6 lines · Bin Meng
Now that we have added file names from
Kconfigin x86u-boot.dtsi, update binman to avoid using hard-coded names.Signed-off-by Bin Meng <[email protected]>---
Quoted 6 lines
Quoted 4 lines
tools/binman/etype/intel_cmc.py | 3 --- tools/binman/etype/intel_fsp.py | 3 --- tools/binman/etype/intel_vga.py | 3 --- 3 files changed, 9 deletions(-)Reviewed-by Simon Glass <[email protected]>
applied to u-boot-x86, thanks!