Leroy P Leahy (leroy.p.leahy(a)intel.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/15001
-gerrit
commit d9df27a107f06a790b9b3648ed999d7a0cef35df
Author: Lee Leahy <leroy.p.leahy(a)intel.com>
Date: Sat May 28 14:58:57 2016 -0700
mainboard/intel/galileo: Split out enabling FSP1_1
Split out enabling FSP 1.1 support to prepare for enabling FSP 2.0
support.
TEST=Build and run on Galileo Gen2.
Change-Id: Ic4e814bcf61f9480f98e2d7bc7a1648dec43a07d
Signed-off-by: Lee Leahy <leroy.p.leahy(a)intel.com>
---
src/mainboard/intel/galileo/Kconfig | 7 ++++++-
src/mainboard/intel/galileo/Makefile.inc | 2 ++
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/src/mainboard/intel/galileo/Kconfig b/src/mainboard/intel/galileo/Kconfig
index 6381ae8..4191ab7 100644
--- a/src/mainboard/intel/galileo/Kconfig
+++ b/src/mainboard/intel/galileo/Kconfig
@@ -19,8 +19,8 @@ config BOARD_SPECIFIC_OPTIONS
def_bool y
select BOARD_ROMSIZE_KB_8192
select HAVE_ACPI_TABLES
- select PLATFORM_USES_FSP1_1
select SOC_INTEL_QUARK
+ select USE_FSP1_1
config MAINBOARD_DIR
string
@@ -43,4 +43,9 @@ config GALILEO_GEN2
runtime. Select which generation of the Galileo that coreboot
should initialize.
+config USE_FSP1_1
+ bool
+ default n
+ select PLATFORM_USES_FSP1_1
+
endif # BOARD_INTEL_QUARK
diff --git a/src/mainboard/intel/galileo/Makefile.inc b/src/mainboard/intel/galileo/Makefile.inc
index 4db9e31..72c74e1 100644
--- a/src/mainboard/intel/galileo/Makefile.inc
+++ b/src/mainboard/intel/galileo/Makefile.inc
@@ -13,7 +13,9 @@
## GNU General Public License for more details.
##
+ifeq ($(CONFIG_PLATFORM_USES_FSP1_1),y)
CPPFLAGS_common += -I$(src)/vendorcode/intel/fsp/fsp1_1/quark
+endif
romstage-y += gpio.c
Leroy P Leahy (leroy.p.leahy(a)intel.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/15002
-gerrit
commit 933c595dea7f0f25cc483de6ee4f3d1c02864ef3
Author: Lee Leahy <leroy.p.leahy(a)intel.com>
Date: Mon May 30 05:38:57 2016 -0700
soc/intel/quark: Conditionally define BIT names
Only define BIT names if they are not already defined.
TEST=Build and run on Galileo Gen2
Change-Id: Ief4c4bb7a42a1bb2a7f46f13dc9b8bbb4d233e3c
Signed-off-by: Lee Leahy <leroy.p.leahy(a)intel.com>
---
src/soc/intel/quark/include/soc/QuarkNcSocId.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/soc/intel/quark/include/soc/QuarkNcSocId.h b/src/soc/intel/quark/include/soc/QuarkNcSocId.h
index 12f600a..8b5ca2c 100644
--- a/src/soc/intel/quark/include/soc/QuarkNcSocId.h
+++ b/src/soc/intel/quark/include/soc/QuarkNcSocId.h
@@ -24,6 +24,7 @@ Definitions beginning with "N_" are the bit position
//
// Define the bits
//
+#ifndef BIT0
#define BIT0 0x00000001
#define BIT1 0x00000002
#define BIT2 0x00000004
@@ -56,6 +57,7 @@ Definitions beginning with "N_" are the bit position
#define BIT29 0x20000000
#define BIT30 0x40000000
#define BIT31 0x80000000
+#endif
//
// QNC GMCH Equates
Leroy P Leahy (leroy.p.leahy(a)intel.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/15004
-gerrit
commit 11ec1e1f2e4724fa7a148eff410eb0f9a876b230
Author: Lee Leahy <leroy.p.leahy(a)intel.com>
Date: Sat May 28 14:34:44 2016 -0700
mainboard/intel/galileo: Add CREATE_BOARD_CHECKLIST
Select CREATE_BOARD_CHECKLIST to create the checklist for the Quark SOC
and Galileo board.
TEST=Build and run on Galileo Gen2.
Change-Id: Ieb3e9a5a4c149cf160e11d44a515591b57fe5c83
Signed-off-by: Lee Leahy <leroy.p.leahy(a)intel.com>
---
src/mainboard/intel/galileo/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/mainboard/intel/galileo/Kconfig b/src/mainboard/intel/galileo/Kconfig
index 96f1a8f..b0c69e4 100644
--- a/src/mainboard/intel/galileo/Kconfig
+++ b/src/mainboard/intel/galileo/Kconfig
@@ -18,6 +18,7 @@ if BOARD_INTEL_GALILEO
config BOARD_SPECIFIC_OPTIONS
def_bool y
select BOARD_ROMSIZE_KB_8192
+ select CREATE_BOARD_CHECKLIST
select ENABLE_BUILTIN_HSUART1
select HAVE_ACPI_TABLES
select SOC_INTEL_QUARK
Leroy P Leahy (leroy.p.leahy(a)intel.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/15005
-gerrit
commit 60297e984d13e29f31198e566491e0d8daf8f5ed
Author: Lee Leahy <leroy.p.leahy(a)intel.com>
Date: Mon May 30 14:02:49 2016 -0700
mainboard/intel/galileo: Use HSUART1 for console
Select HSUART1 for console.
TEST=Build and run on Galileo Gen2
Change-Id: I4425af4dc8b3730b3fa2108d6cc2941bc22c2cdb
Signed-off-by: Lee Leahy <leroy.p.leahy(a)intel.com>
---
src/mainboard/intel/galileo/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/mainboard/intel/galileo/Kconfig b/src/mainboard/intel/galileo/Kconfig
index 4191ab7..96f1a8f 100644
--- a/src/mainboard/intel/galileo/Kconfig
+++ b/src/mainboard/intel/galileo/Kconfig
@@ -18,6 +18,7 @@ if BOARD_INTEL_GALILEO
config BOARD_SPECIFIC_OPTIONS
def_bool y
select BOARD_ROMSIZE_KB_8192
+ select ENABLE_BUILTIN_HSUART1
select HAVE_ACPI_TABLES
select SOC_INTEL_QUARK
select USE_FSP1_1