Patrick Georgi (pgeorgi(a)google.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/17054
-gerrit
commit d822f5ab8a89e6748597d503e8fcf4b028645975
Author: Patrick Georgi <pgeorgi(a)chromium.org>
Date: Fri Jul 29 18:37:56 2016 +0200
intel/{skylake,apollolake}: Enable signalling of error condition
Testing for "devfn < 0" on an unsigned doesn't work, and i2c_bus_to_devfn
returns an int (with -1 for "error"), so use int for devfn.
Adapt Change-Id I7d1cdb6af4140f7dc322141c0c018d8418627434 to fix more
instances.
Change-Id: I001a9b484a68e018798a65c0fae11f8df7d9f564
Signed-off-by: Patrick Georgi <pgeorgi(a)chromium.org>
Found-by: Coverity Scan #1357450, #1357449
---
src/soc/intel/apollolake/i2c_early.c | 2 +-
src/soc/intel/skylake/i2c.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/soc/intel/apollolake/i2c_early.c b/src/soc/intel/apollolake/i2c_early.c
index 968e993..82883f8 100644
--- a/src/soc/intel/apollolake/i2c_early.c
+++ b/src/soc/intel/apollolake/i2c_early.c
@@ -32,7 +32,7 @@ static int i2c_early_init_bus(unsigned bus)
const struct lpss_i2c_speed_config *sptr;
enum i2c_speed speed;
pci_devfn_t dev;
- unsigned devfn;
+ int devfn;
uintptr_t base;
uint32_t value;
void *reg;
diff --git a/src/soc/intel/skylake/i2c.c b/src/soc/intel/skylake/i2c.c
index eebe665..d37c290 100644
--- a/src/soc/intel/skylake/i2c.c
+++ b/src/soc/intel/skylake/i2c.c
@@ -24,7 +24,7 @@
uintptr_t lpss_i2c_base_address(unsigned bus)
{
- unsigned devfn;
+ int devfn;
struct device *dev;
struct resource *res;
the following patch was just integrated into master:
commit 0bc12abc2b26c0b4098ac76a6d42219b359c7a22
Author: Jonathan Neuschäfer <j.neuschaefer(a)gmx.net>
Date: Wed Oct 12 00:18:02 2016 +0200
arch/riscv: In trap handler, don't print SP twice
The stack pointer (SP) is already printed in print_trap_information.
Don't print it again in handle_misaligned_{load,store}.
Change-Id: I156cf5734a16605decc2280e54e6db3089e094a2
Signed-off-by: Jonathan Neuschäfer <j.neuschaefer(a)gmx.net>
Reviewed-on: https://review.coreboot.org/16996
Tested-by: build bot (Jenkins)
Reviewed-by: Martin Roth <martinroth(a)google.com>
See https://review.coreboot.org/16996 for details.
-gerrit
the following patch was just integrated into master:
commit 96aff03dcd3a60a0c85abf92d2a8578f05600606
Author: Ronald G. Minnich <rminnich(a)gmail.com>
Date: Sat Oct 15 00:33:13 2016 +0200
Revert "[WIP] console/Kconfig: Calculate COM port base addresses only on x86"
This reverts commit 2c8f3bd91b54e85b4d2e24894ee8bbbfb9ad8a31.
I mistakenly commited a WIP, sorry.
Change-Id: I3c66c688dbfd903ecf5303abcdf6b5ded84585c7
Reviewed-on: https://review.coreboot.org/17028
Tested-by: build bot (Jenkins)
Reviewed-by: Jonathan Neuschäfer <j.neuschaefer(a)gmx.net>
Reviewed-by: Nico Huber <nico.h(a)gmx.de>
See https://review.coreboot.org/17028 for details.
-gerrit
the following patch was just integrated into master:
commit b05eee46c35487dc694edb5b4d0d070a8d29f915
Author: Elyes HAOUAS <ehaouas(a)noos.fr>
Date: Tue Oct 11 19:05:56 2016 +0200
northbridge/via/vx800: Convert 'for (;;)' to 'die'
Change-Id: I3f99190401d8df1415328da9c3b928194593901c
Signed-off-by: Elyes HAOUAS <ehaouas(a)noos.fr>
Reviewed-on: https://review.coreboot.org/16989
Tested-by: build bot (Jenkins)
Reviewed-by: Jonathan Neuschäfer <j.neuschaefer(a)gmx.net>
Reviewed-by: Patrick Georgi <pgeorgi(a)google.com>
Reviewed-by: Paul Menzel <paulepanter(a)users.sourceforge.net>
See https://review.coreboot.org/16989 for details.
-gerrit
the following patch was just integrated into master:
commit 1ac773fa55195b1fd39eeb5ed83b302b04151c58
Author: Vaibhav Shankar <vaibhav.shankar(a)intel.com>
Date: Fri Oct 14 16:08:32 2016 -0700
mainboard/google/reef: Configure PERST pin for reef DVT
Configure GPIO 122 as PERST on DVT. This is to assert WiFi PERST
during s0ix entry.
BUG=chrome-os-partner:55877
TEST=S0ix functional on DVT
Signed-off-by: Venkateswarlu Vinjamuri <venkateswarlu.v.vinjamuri(a)intel.com>
Change-Id: Iab18b2de621a1a9226c78493f6defa15081db875
Reviewed-on: https://review.coreboot.org/17030
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin(a)chromium.org>
See https://review.coreboot.org/17030 for details.
-gerrit