the following patch was just integrated into master:
commit e7385d14b1577114b3b7aae0969e45fae67e4331
Author: Paul Menzel <paulepanter(a)users.sourceforge.net>
Date: Fri Jan 20 23:29:21 2017 +0100
nvramcui: Declare variable outside for loop
Make the code C89 compatible, which doesn’t allow loop initial
declarations. Older compilers use C89 by default, so just declare the
variable outside.
Change-Id: I3c5a8109e66f7a25687f4e4b2c72718d74276e04
Signed-off-by: Paul Menzel <paulepanter(a)users.sourceforge.net>
Reviewed-on: https://review.coreboot.org/18196
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <pgeorgi(a)google.com>
See https://review.coreboot.org/18196 for details.
-gerrit
Kevin Chiu (Kevin.Chiu(a)quantatw.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/18227
-gerrit
commit 702d07530b52eae4bc50f700fcb15a04196ffb7f
Author: Kevin Chiu <Kevin.Chiu(a)quantatw.com>
Date: Wed Jan 25 16:20:26 2017 +0800
google/pyro: Disable Wacom touchscreen probed
Wacom touchscreen is i2c hid device and i2c-hid driver will be loaded
automatically by kernel.
There is no need to enable "probe" flag for Wacom i2c hid device
support.
BUG=chrome-os-partner:61513
BRANCH=reef
TEST=emerge-pyro coreboot
Change-Id: I27fe18ceadd03029b826e0237f80132eda1089b0
Signed-off-by: Kevin Chiu <Kevin.Chiu(a)quantatw.com>
---
src/mainboard/google/reef/variants/pyro/devicetree.cb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/mainboard/google/reef/variants/pyro/devicetree.cb b/src/mainboard/google/reef/variants/pyro/devicetree.cb
index 193fdd8..076679c 100644
--- a/src/mainboard/google/reef/variants/pyro/devicetree.cb
+++ b/src/mainboard/google/reef/variants/pyro/devicetree.cb
@@ -171,7 +171,7 @@ chip soc/intel/apollolake
.cid = PNP0C50_CID,
.desc = WCOM_TS_DESC,
.irq = IRQ_LEVEL_LOW(GPIO_21_IRQ),
- .probed = 1,
+ .probed = 0,
}"
register "hid_desc_reg_offset" = "0x1"
device i2c 0xA on end
the following patch was just integrated into master:
commit 06a629e4b1b7f517866adb984c169459a9b2ecdf
Author: Patrick Georgi <pgeorgi(a)chromium.org>
Date: Tue Jan 24 12:30:04 2017 +0100
arch/x86: do not define type of SPIN_LOCK_UNLOCKED
This fixes building coreboot with -std=gnu11 on gcc 4.9.x
Also needs fix ups for asus/kcma-d8 and asus/kgpe-d16 due to the missing
type.
Change-Id: I920d492a1422433d7d4b4659b27f5a22914bc438
Signed-off-by: Patrick Georgi <pgeorgi(a)chromium.org>
Reviewed-on: https://review.coreboot.org/18220
Reviewed-by: Aaron Durbin <adurbin(a)chromium.org>
Tested-by: build bot (Jenkins)
See https://review.coreboot.org/18220 for details.
-gerrit
the following patch was just integrated into master:
commit 29c19a027af013d9fadb9b372c3378da6ed0586f
Author: Patrick Georgi <pgeorgi(a)chromium.org>
Date: Mon Jan 23 13:21:44 2017 +0100
Revert "chromeos: Fill in the firmware id (RO, RW A, RW B) FMAP sections"
This reverts commit 580db7fd9036134b1da4fe7340e306fee4681659.
There's a (parallel) mechanism more closely aligned with how the values
are filled in (fixed device part + version string) that landed from
Chrome OS downstream (see commit 4399b85fdd).
Change-Id: I5ccd06eadabb396452cc9d1d4dff780ea0720523
Signed-off-by: Patrick Georgi <pgeorgi(a)chromium.org>
Reviewed-on: https://review.coreboot.org/18205
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter(a)users.sourceforge.net>
Reviewed-by: Martin Roth <martinroth(a)google.com>
See https://review.coreboot.org/18205 for details.
-gerrit
the following patch was just integrated into master:
commit 0ffef882d8357b1e14e983829e0a26415ab43b48
Author: Patrick Georgi <pgeorgi(a)chromium.org>
Date: Thu Jan 19 23:20:14 2017 +0100
build system: don't run xcompile or git for %clean/%config targets
It takes a long time for no gain: We don't need to update the
submodules, we don't need to fetch the revision, we don't need to find
the compilers, when all we want to do is to manipulate the .config file
or clean the build directory.
Change-Id: Ie1bd446a0d49a81e3cccdb56fe2c43ffd83b6c98
Signed-off-by: Patrick Georgi <pgeorgi(a)chromium.org>
Reviewed-on: https://review.coreboot.org/18182
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter(a)users.sourceforge.net>
Reviewed-by: Martin Roth <martinroth(a)google.com>
See https://review.coreboot.org/18182 for details.
-gerrit
Arthur Heymans (arthur(a)aheymans.xyz) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/18148
-gerrit
commit 11b7b385bf68b69fe9266dd8095075a281c4b37a
Author: Arthur Heymans <arthur(a)aheymans.xyz>
Date: Sun Jan 15 14:24:56 2017 +0100
Allow to add a second bootblock at a 64K offset for BUC.TS
This allows to add a second bootblock at an offset of 64K in order for
it to be used if the BUC.TS bit, RCBA(0x3414)[BIT0], is set.
This method is often used to flash coreboot when the vendor BIOS only
write protects its bootblock at the bottom of flash (e.g. Lenovo
thinkpad X60 and T60), but can also be used to have a backup while
hacking on bootblock code.
TESTED on Thinkpad x200 with BIT0 of RCBA(0x3410) unset (not default
in coreboot).
Change-Id: I37e288e710edbe41651d09d2a6981a571df69bde
Signed-off-by: Arthur Heymans <arthur(a)aheymans.xyz>
---
Makefile.inc | 7 +++++++
src/southbridge/intel/common/Kconfig | 18 ++++++++++++++++++
src/southbridge/intel/i82801gx/Kconfig | 1 +
src/southbridge/intel/i82801ix/Kconfig | 1 +
4 files changed, 27 insertions(+)
diff --git a/Makefile.inc b/Makefile.inc
index c5ce30f..d35e6b0 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -844,6 +844,13 @@ ifeq ($(CONFIG_ARCH_X86),y)
-n bootblock \
-t bootblock \
-b -$(call file-size,$(objcbfs)/bootblock.bin) $(cbfs-autogen-attributes)
+ifeq ($(CONFIG_BUCTS_BOOTBLOCK),y)
+ $(CBFSTOOL) $@.tmp add \
+ -f $(objcbfs)/bootblock.bin \
+ -n bootblock_bucts \
+ -t bootblock \
+ -b -$(call int-add,$(call file-size,$(objcbfs)/bootblock.bin) $(CONFIG_BUC_TOP_SWAP_SIZE)) $(cbfs-autogen-attributes)
+endif # ifeq CONFIG_BUCTS_BOOTBLOCK
else # ifeq ($(CONFIG_ARCH_X86),y)
$(CBFSTOOL) $@.tmp write -u \
-r BOOTBLOCK \
diff --git a/src/southbridge/intel/common/Kconfig b/src/southbridge/intel/common/Kconfig
index 7bc686d..a651c80 100644
--- a/src/southbridge/intel/common/Kconfig
+++ b/src/southbridge/intel/common/Kconfig
@@ -2,3 +2,21 @@ config SOUTHBRIDGE_INTEL_COMMON
def_bool n
config SOUTHBRIDGE_INTEL_COMMON_GPIO
def_bool n
+config HAVE_BUCTS
+ bool
+ default n
+config BUCTS_BOOTBLOCK
+ bool "Include a BUC.TS bootblock"
+ default n
+ depends on HAVE_BUCTS
+ help
+ Some vendor BIOS only write protect their bootblock.
+ Using the buc.ts register RCBA[0x3414], it is possible to have
+ the southbridge look for the bootblock at a 64K offset
+ instead of the usual top of flash, which might not be
+ write protected.
+ Select this to put a 'second' bootblock at a 64K offset.
+config BUC_TOP_SWAP_SIZE
+ hex
+ depends on BUCTS_BOOTBLOCK
+ default 0x10000
diff --git a/src/southbridge/intel/i82801gx/Kconfig b/src/southbridge/intel/i82801gx/Kconfig
index b2265c4..4eb2835 100644
--- a/src/southbridge/intel/i82801gx/Kconfig
+++ b/src/southbridge/intel/i82801gx/Kconfig
@@ -24,6 +24,7 @@ config SOUTHBRIDGE_INTEL_I82801GX
select HAVE_SMI_HANDLER
select COMMON_FADT
select SOUTHBRIDGE_INTEL_COMMON_GPIO
+ select HAVE_BUCTS
if SOUTHBRIDGE_INTEL_I82801GX
diff --git a/src/southbridge/intel/i82801ix/Kconfig b/src/southbridge/intel/i82801ix/Kconfig
index e4d1f91..0928a8a 100644
--- a/src/southbridge/intel/i82801ix/Kconfig
+++ b/src/southbridge/intel/i82801ix/Kconfig
@@ -25,6 +25,7 @@ config SOUTHBRIDGE_INTEL_I82801IX
select HAVE_USBDEBUG_OPTIONS
select SOUTHBRIDGE_INTEL_COMMON_GPIO
select HAVE_INTEL_FIRMWARE
+ select HAVE_BUCTS
if SOUTHBRIDGE_INTEL_I82801IX