the following patch was just integrated into master:
commit 3e18acabd3ea49133fcd507f09ff44aba7d92fe2
Author: Patrick Georgi <pgeorgi(a)chromium.org>
Date: Wed Apr 29 18:59:04 2015 +0200
chromeos: Add missing headers
Builds with CHROMEOS fail due to missing includes.
Change-Id: I8c88bca8f8cc3247d3f3311777f794c4fdfee3c1
Signed-off-by: Patrick Georgi <pgeorgi(a)chromium.org>
Reviewed-on: http://review.coreboot.org/10029
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin(a)chromium.org>
See http://review.coreboot.org/10029 for details.
-gerrit
Patrick Georgi (pgeorgi(a)google.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/10044
-gerrit
commit 56a11d2672d609bb0ad197de13722218926daf39
Author: Patrick Georgi <pgeorgi(a)chromium.org>
Date: Thu Apr 30 14:30:51 2015 +0200
chromeos: Use __attribute__ normal form
Change-Id: Idf99c1491386578ac2471ca5cc8a153d2b5225e4
Signed-off-by: Patrick Georgi <pgeorgi(a)chromium.org>
---
src/vendorcode/google/chromeos/chromeos.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/vendorcode/google/chromeos/chromeos.c b/src/vendorcode/google/chromeos/chromeos.c
index 1da9676..fb72673 100644
--- a/src/vendorcode/google/chromeos/chromeos.c
+++ b/src/vendorcode/google/chromeos/chromeos.c
@@ -50,7 +50,7 @@ void __attribute__((weak)) save_chromeos_gpios(void)
// Can be implemented by a mainboard
}
-int __attribute((weak)) vboot_get_sw_write_protect(void)
+int __attribute__((weak)) vboot_get_sw_write_protect(void)
{
// Can be implemented by a platform / mainboard
return 0;
Patrick Georgi (pgeorgi(a)google.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/10043
-gerrit
commit 77ab71f78ec2f8bcb4c9e9da90e0e46c3efc39b5
Author: Patrick Georgi <pgeorgi(a)chromium.org>
Date: Thu Apr 30 14:30:28 2015 +0200
i2c/tpm: add final newline
Change-Id: I0024c4d56f93eb6c9a54103e79c9d8a8b7d8d6fb
Signed-off-by: Patrick Georgi <pgeorgi(a)chromium.org>
---
src/drivers/i2c/tpm/Makefile.inc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/drivers/i2c/tpm/Makefile.inc b/src/drivers/i2c/tpm/Makefile.inc
index 55c01de..e601136 100644
--- a/src/drivers/i2c/tpm/Makefile.inc
+++ b/src/drivers/i2c/tpm/Makefile.inc
@@ -1,3 +1,3 @@
ramstage-$(CONFIG_I2C_TPM) += tis.c tpm.c
romstage-$(CONFIG_I2C_TPM) += tis.c tpm.c
-verstage-$(CONFIG_I2C_TPM) += tis.c tpm.c
\ No newline at end of file
+verstage-$(CONFIG_I2C_TPM) += tis.c tpm.c
Patrick Georgi (pgeorgi(a)google.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/10032
-gerrit
commit d20f5287810d560f3115fe3c2561c3fdf4f00eab
Author: Patrick Georgi <pgeorgi(a)chromium.org>
Date: Wed Apr 29 20:28:03 2015 +0200
arch/arm: only include subdirectories for ARM builds
Change-Id: Ieac02fcc4508f7c1b194802453d6222b902a38a2
Signed-off-by: Patrick Georgi <pgeorgi(a)chromium.org>
---
src/arch/arm/Makefile.inc | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/src/arch/arm/Makefile.inc b/src/arch/arm/Makefile.inc
index 272a495..afb8d20 100644
--- a/src/arch/arm/Makefile.inc
+++ b/src/arch/arm/Makefile.inc
@@ -20,11 +20,6 @@
## along with this program; if not, write to the Free Software
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
-###############################################################################
-# Take care of subdirectories
-###############################################################################
-subdirs-y += libgcc/
-subdirs-y += armv4/ armv7/
###############################################################################
# ARM specific options
@@ -36,6 +31,9 @@ CBFSTOOL_PRE_OPTS = -b 0
endif
ifeq ($(CONFIG_ARCH_ARM),y)
+subdirs-y += libgcc/
+subdirs-y += armv4/ armv7/
+
stages_c = $(src)/arch/arm/stages.c
stages_o = $(obj)/arch/arm/stages.o
Patrick Georgi (pgeorgi(a)google.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/10034
-gerrit
commit 5485b3fe6284d1e9e535cce780ea7a1be1942578
Author: Patrick Georgi <pgeorgi(a)chromium.org>
Date: Wed Apr 29 20:44:06 2015 +0200
intel/broadwell: Don't select MONOTONIC_TIMER_MSR
That's a Haswell exclusive, used nowhere else, but confusing
when hunting for the monotonic timer used on that SoC.
Change-Id: I60ec523e54e5af0d2a418bcb9145de452a3a4ea9
Signed-off-by: Patrick Georgi <pgeorgi(a)chromium.org>
---
src/mainboard/google/samus/Kconfig | 1 -
src/mainboard/intel/wtm2/Kconfig | 1 -
src/soc/intel/broadwell/Kconfig | 6 ------
3 files changed, 8 deletions(-)
diff --git a/src/mainboard/google/samus/Kconfig b/src/mainboard/google/samus/Kconfig
index 664faf1..f655b29 100644
--- a/src/mainboard/google/samus/Kconfig
+++ b/src/mainboard/google/samus/Kconfig
@@ -16,7 +16,6 @@ config BOARD_SPECIFIC_OPTIONS # dummy
select HAVE_SMI_HANDLER
select MAINBOARD_HAS_CHROMEOS
select EXTERNAL_MRC_BLOB
- select MONOTONIC_TIMER_MSR
select CHROMEOS_RAMOOPS_DYNAMIC
select INTEL_INT15
select CHROMEOS_VBNV_CMOS
diff --git a/src/mainboard/intel/wtm2/Kconfig b/src/mainboard/intel/wtm2/Kconfig
index 98b2790..5a064d1 100644
--- a/src/mainboard/intel/wtm2/Kconfig
+++ b/src/mainboard/intel/wtm2/Kconfig
@@ -10,7 +10,6 @@ config BOARD_SPECIFIC_OPTIONS # dummy
select HAVE_SMI_HANDLER
select MAINBOARD_HAS_CHROMEOS
select MAINBOARD_HAS_NATIVE_VGA_INIT
- select MONOTONIC_TIMER_MSR
select INTEL_INT15
select CHROMEOS_RAMOOPS_DYNAMIC
diff --git a/src/soc/intel/broadwell/Kconfig b/src/soc/intel/broadwell/Kconfig
index 91249ee..695e495 100644
--- a/src/soc/intel/broadwell/Kconfig
+++ b/src/soc/intel/broadwell/Kconfig
@@ -174,12 +174,6 @@ config RESET_ON_INVALID_RAMSTAGE_CACHE
when the ramstage cache is invalid. If selected the system will
reset otherwise the ramstage will be reloaded from cbfs.
-config MONOTONIC_TIMER_MSR
- def_bool y
- select HAVE_MONOTONIC_TIMER
- help
- Provide a monotonic timer using the 24MHz MSR counter.
-
config INTEL_PCH_UART_CONSOLE
bool "Use Serial IO UART for console"
default n
Patrick Georgi (pgeorgi(a)google.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/10040
-gerrit
commit a5e062de70f1d6748be321acffad414424a45a23
Author: Patrick Georgi <pgeorgi(a)chromium.org>
Date: Thu Apr 30 11:47:07 2015 +0200
build system: Drop another vboot1 remnant
The vboot stage is now done totally different,
as a real stage, and handled in the right location
(src/vendorcode/google/chromeos/vboot2/Makefile.inc),
so drop this vboot1 file.
Change-Id: Ie9a4ae257c2702ddcd217f5b4ef8d8f22b5099f4
Signed-off-by: Patrick Georgi <pgeorgi(a)chromium.org>
---
Makefile.inc | 3 ---
1 file changed, 3 deletions(-)
diff --git a/Makefile.inc b/Makefile.inc
index f1c9f15..8c32c08 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -604,9 +604,6 @@ ifeq ($(CONFIG_INCLUDE_CONFIG_FILE),y)
@printf " REVISION build.h\n"
if [ -f $(obj)/build.h ]; then $(CBFSTOOL) $@.tmp add -f $(obj)/build.h -n revision -t raw; fi
endif
-ifeq ($(CONFIG_VBOOT_VERIFY_FIRMWARE),y)
- $(CBFSTOOL) $@.tmp add-stage -f $(VBOOT_STUB) -n $(CONFIG_CBFS_PREFIX)/vboot -c $(CBFS_COMPRESS_FLAG)
-endif
ifeq ($(CONFIG_HAVE_REFCODE_BLOB),y)
$(CBFSTOOL) $@.tmp add-stage -f $(REFCODE_BLOB) -n $(CONFIG_CBFS_PREFIX)/refcode -c $(CBFS_COMPRESS_FLAG)
endif