Patrick Georgi (pgeorgi(a)google.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/13625
-gerrit
commit 93e7714c6eb20c6bed4da4dc5a013c7c73685da3
Author: Patrick Georgi <pgeorgi(a)chromium.org>
Date: Mon Feb 8 11:48:26 2016 +0100
buildgcc: enable multilib for gcc
Make the gcc build system create multiple libgcc.a instances for
different ABIs.
Change-Id: I1c888bf751bf43566da8927ed0aedb53857363bf
Signed-off-by: Patrick Georgi <pgeorgi(a)chromium.org>
---
util/crossgcc/buildgcc | 1 +
1 file changed, 1 insertion(+)
diff --git a/util/crossgcc/buildgcc b/util/crossgcc/buildgcc
index 8f67949..9652496 100755
--- a/util/crossgcc/buildgcc
+++ b/util/crossgcc/buildgcc
@@ -439,6 +439,7 @@ build_GCC() {
--disable-libssp --disable-bootstrap --disable-nls \
--disable-libquadmath --without-headers \
--disable-threads \
+ --enable-interwork --enable-multilib \
--disable-libatomic --disable-libcc1 --disable-decimal-float \
${GCC_OPTIONS} --enable-languages="${LANGUAGES}" \
--with-gmp=$DESTDIR$TARGETDIR --with-mpfr=$DESTDIR$TARGETDIR \
Vladimir Serbinenko (phcoder(a)gmail.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/13624
-gerrit
commit 09a6392e855ba51dfb7552459318eb04c8d1cfa2
Author: Vladimir Serbinenko <phcoder(a)gmail.com>
Date: Mon Feb 8 00:10:44 2016 +0100
Workaround for unused variable warning.
Change-Id: I0a0c925509027f98f724d0a4347146f21ac06c02
Signed-off-by: Vladimir Serbinenko <phcoder(a)gmail.com>
---
src/ec/compal/ene932/acpi/ec.asl | 2 ++
src/ec/quanta/it8518/acpi/ec.asl | 3 +++
src/ec/smsc/mec1308/acpi/ec.asl | 2 ++
src/mainboard/lenovo/t400/acpi/gpe.asl | 2 ++
src/mainboard/lenovo/t60/acpi/gpe.asl | 2 ++
src/mainboard/lenovo/x200/acpi/gpe.asl | 2 ++
src/mainboard/lenovo/x201/acpi/gpe.asl | 2 ++
src/mainboard/lenovo/x60/acpi/gpe.asl | 2 ++
8 files changed, 17 insertions(+)
diff --git a/src/ec/compal/ene932/acpi/ec.asl b/src/ec/compal/ene932/acpi/ec.asl
index 696c1f6..93ddcbe 100644
--- a/src/ec/compal/ene932/acpi/ec.asl
+++ b/src/ec/compal/ene932/acpi/ec.asl
@@ -270,6 +270,8 @@ Device (EC0)
// Force a read of CPU temperature
Store (CTML, Local0)
+ /* So that we don't get a warning that Local0 is unused. */
+ Increment (Local0)
}
diff --git a/src/ec/quanta/it8518/acpi/ec.asl b/src/ec/quanta/it8518/acpi/ec.asl
index 0045196..22c7352 100644
--- a/src/ec/quanta/it8518/acpi/ec.asl
+++ b/src/ec/quanta/it8518/acpi/ec.asl
@@ -568,6 +568,9 @@ Device (EC0)
// Force a read of CPU temperature
// TODO Which temperature corresponds to the CPU?
Store (TMP0, Local0)
+ /* So that we don't get a warning that Local0 is unused. */
+ Increment (Local0)
+
}
/* Attention Codes
diff --git a/src/ec/smsc/mec1308/acpi/ec.asl b/src/ec/smsc/mec1308/acpi/ec.asl
index bd840f5..a8de9fa 100644
--- a/src/ec/smsc/mec1308/acpi/ec.asl
+++ b/src/ec/smsc/mec1308/acpi/ec.asl
@@ -81,6 +81,8 @@ Device (EC0)
// Force a read of CPU temperature
Store (CPUT, Local0)
+ /* So that we don't get a warning that Local0 is unused. */
+ Increment (Local0)
}
PowerResource (FNP0, 0, 0)
diff --git a/src/mainboard/lenovo/t400/acpi/gpe.asl b/src/mainboard/lenovo/t400/acpi/gpe.asl
index b6ac30d..5c900ca 100644
--- a/src/mainboard/lenovo/t400/acpi/gpe.asl
+++ b/src/mainboard/lenovo/t400/acpi/gpe.asl
@@ -20,5 +20,7 @@ Scope (\_GPE)
{
/* Read EC register to clear wake status */
Store(\_SB.PCI0.LPCB.EC.WAKE, Local0)
+ /* So that we don't get a warning that Local0 is unused. */
+ Increment (Local0)
}
}
diff --git a/src/mainboard/lenovo/t60/acpi/gpe.asl b/src/mainboard/lenovo/t60/acpi/gpe.asl
index 88210ac..3cc25b2 100644
--- a/src/mainboard/lenovo/t60/acpi/gpe.asl
+++ b/src/mainboard/lenovo/t60/acpi/gpe.asl
@@ -21,5 +21,7 @@ Scope (\_GPE)
{
/* Read EC register to clear wake status */
Store(\_SB.PCI0.LPCB.EC.WAKE, Local0)
+ /* So that we don't get a warning that Local0 is unused. */
+ Increment (Local0)
}
}
diff --git a/src/mainboard/lenovo/x200/acpi/gpe.asl b/src/mainboard/lenovo/x200/acpi/gpe.asl
index b6ac30d..5c900ca 100644
--- a/src/mainboard/lenovo/x200/acpi/gpe.asl
+++ b/src/mainboard/lenovo/x200/acpi/gpe.asl
@@ -20,5 +20,7 @@ Scope (\_GPE)
{
/* Read EC register to clear wake status */
Store(\_SB.PCI0.LPCB.EC.WAKE, Local0)
+ /* So that we don't get a warning that Local0 is unused. */
+ Increment (Local0)
}
}
diff --git a/src/mainboard/lenovo/x201/acpi/gpe.asl b/src/mainboard/lenovo/x201/acpi/gpe.asl
index 88210ac..3cc25b2 100644
--- a/src/mainboard/lenovo/x201/acpi/gpe.asl
+++ b/src/mainboard/lenovo/x201/acpi/gpe.asl
@@ -21,5 +21,7 @@ Scope (\_GPE)
{
/* Read EC register to clear wake status */
Store(\_SB.PCI0.LPCB.EC.WAKE, Local0)
+ /* So that we don't get a warning that Local0 is unused. */
+ Increment (Local0)
}
}
diff --git a/src/mainboard/lenovo/x60/acpi/gpe.asl b/src/mainboard/lenovo/x60/acpi/gpe.asl
index 88210ac..3cc25b2 100644
--- a/src/mainboard/lenovo/x60/acpi/gpe.asl
+++ b/src/mainboard/lenovo/x60/acpi/gpe.asl
@@ -21,5 +21,7 @@ Scope (\_GPE)
{
/* Read EC register to clear wake status */
Store(\_SB.PCI0.LPCB.EC.WAKE, Local0)
+ /* So that we don't get a warning that Local0 is unused. */
+ Increment (Local0)
}
}
Vladimir Serbinenko (phcoder(a)gmail.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/13621
-gerrit
commit b9369539049d3fa608b118e1b2dbf00933fc0b70
Author: Vladimir Serbinenko <phcoder(a)gmail.com>
Date: Mon Feb 8 00:02:37 2016 +0100
rx886ex: Fix PBIF reference.
PBIF is package and so a scalar can't be stored instead of it.
What was meant is probably Index(PBIF, 0)
Change-Id: Iddd18e1f165e0f48fd91124200aba5c6b4a5b4bd
Signed-off-by: Vladimir Serbinenko <phcoder(a)gmail.com>
---
src/mainboard/roda/rk886ex/acpi/battery.asl | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/mainboard/roda/rk886ex/acpi/battery.asl b/src/mainboard/roda/rk886ex/acpi/battery.asl
index d7928e5..8de0b7f 100644
--- a/src/mainboard/roda/rk886ex/acpi/battery.asl
+++ b/src/mainboard/roda/rk886ex/acpi/battery.asl
@@ -144,7 +144,7 @@ Device (BAT1)
Store ("Bad", Index(PBIF, 10))
Store ("Bad", Index(PBIF, 11))
Store ("Bad", Index(PBIF, 12))
- Store (1, PBIF)
+ Store (1, Index(PBIF, 0))
}
Method(IVBS, 0)
@@ -284,7 +284,7 @@ Device (BAT2)
Store ("Bad", Index(PBIF, 10))
Store ("Bad", Index(PBIF, 11))
Store ("Bad", Index(PBIF, 12))
- Store (1, PBIF)
+ Store (1, Index(PBIF, 0))
}
Method(IVBS, 0)