the following patch was just integrated into master:
commit 58d6e18f0c963832ebfc3ad1aad48cfe1d65fd8a
Author: Aaron Durbin <adurbin(a)chromium.org>
Date: Fri Jan 10 11:48:45 2014 -0600
rambi: disable SERIRQ native functionality
Nothing can actually use this as the EC cannot speak
using baytrail's SERIRQ protocol. Also, the voltage
bridge is going away so nothing will be hooked up to it.
Therefore disable this it.
BUG=chrome-os-partner:24693
BRANCH=rambi
TEST=Built and booted.
Change-Id: I406bb9c227578ec0a75eaf67143b3b27cb7880ae
Signed-off-by: Aaron Durbin <adurbin(a)chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/182082
Reviewed-by: Shawn Nematbakhsh <shawnn(a)chromium.org>
Reviewed-on: http://review.coreboot.org/5042
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <patrick(a)georgi-clan.de>
See http://review.coreboot.org/5042 for details.
-gerrit
the following patch was just integrated into master:
commit f24318dfb631e05db83b2e676f34b2e3cfb3dd6d
Author: Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
Date: Thu May 15 05:15:04 2014 +1000
southbridge/amd/cimx/sb800: Unused func smbus_delay()
Change-Id: Icc12aafc1462c08bca77a1798d4fae86b8250708
Signed-off-by: Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
Reviewed-on: http://review.coreboot.org/5748
Reviewed-by: Patrick Georgi <patrick(a)georgi-clan.de>
Tested-by: build bot (Jenkins)
See http://review.coreboot.org/5748 for details.
-gerrit
Edward O'Callaghan (eocallaghan(a)alterapraxis.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/5749
-gerrit
commit a77ce69910863ac762ee058451c942b8e24cb0e7
Author: Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
Date: Thu May 15 05:23:09 2014 +1000
vendorcode/amd/agesa,cimx: Integer comparisons always true
Change-Id: I6a3f36cd7e4f2cf26a72f3e849fed0b2da691d1d
Signed-off-by: Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
---
src/vendorcode/amd/agesa/f14/Lib/amdlib.c | 2 +-
src/vendorcode/amd/cimx/sb800/SATA.c | 12 ++++++------
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/src/vendorcode/amd/agesa/f14/Lib/amdlib.c b/src/vendorcode/amd/agesa/f14/Lib/amdlib.c
index 31b3f1e..d103598 100644
--- a/src/vendorcode/amd/agesa/f14/Lib/amdlib.c
+++ b/src/vendorcode/amd/agesa/f14/Lib/amdlib.c
@@ -348,7 +348,7 @@ LibAmdBitScanReverse (
IN UINT32 value
)
{
- UINTN Index;
+ int Index;
for (Index = 31; Index >= 0; Index--){
if (value & (1 << Index)) break;
}
diff --git a/src/vendorcode/amd/cimx/sb800/SATA.c b/src/vendorcode/amd/cimx/sb800/SATA.c
index a301208..c2f2162 100644
--- a/src/vendorcode/amd/cimx/sb800/SATA.c
+++ b/src/vendorcode/amd/cimx/sb800/SATA.c
@@ -17,7 +17,7 @@
*
* Copyright (c) 2011, Advanced Micro Devices, Inc.
* All rights reserved.
- *
+ *
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright
@@ -25,10 +25,10 @@
* * Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
- * * Neither the name of Advanced Micro Devices, Inc. nor the names of
- * its contributors may be used to endorse or promote products derived
+ * * Neither the name of Advanced Micro Devices, Inc. nor the names of
+ * its contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
- *
+ *
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
@@ -39,7 +39,7 @@
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- *
+ *
* ***************************************************************************
*
*/
@@ -568,7 +568,7 @@ sataDriveDetection (
UINT8 dbPortNum;
UINT8 dbVar0;
UINT16 dwIoBase;
- UINT16 dwVar0;
+ UINT32 dwVar0;
if ( (pConfig->SataClass == NATIVE_IDE_MODE) || (pConfig->SataClass == LEGACY_IDE_MODE) || (pConfig->SataClass == IDE_TO_AHCI_MODE) ) {
for ( dbPortNum = 0; dbPortNum < 4; dbPortNum++ ) {
ReadMEM (*pBar5 + SB_SATA_BAR5_REG128 + dbPortNum * 0x80, AccWidthUint32, &ddVar0);
Patrick Georgi (patrick(a)georgi-clan.de) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/5747
-gerrit
commit f35ed826e4b1ab4c949e7744c1e4fb26649c2c70
Author: Patrick Georgi <patrick(a)georgi-clan.de>
Date: Wed May 14 21:05:35 2014 +0200
build system: re-enable clang use
Change-Id: I6e07fdec449d0b259d77986f65a60aa36d367cc8
Signed-off-by: Patrick Georgi <patrick(a)georgi-clan.de>
---
Makefile | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/Makefile b/Makefile
index c9648c0..9a96992 100644
--- a/Makefile
+++ b/Makefile
@@ -117,15 +117,19 @@ else
include $(HAVE_DOTCONFIG)
-include toolchain.inc
-
ifneq ($(INNER_SCANBUILD),y)
ifeq ($(CONFIG_COMPILER_LLVM_CLANG),y)
-CC:=clang -m32 -mno-mmx -mno-sse -no-integrated-as
+# FIXME: CC_* contains more than one word and quotes don't work either
+# armv7/aarch64 won't build right now
+CC_i386:=clang -target i386-elf -m32 -mno-mmx -mno-sse -no-integrated-as
+CC_armv7:=clang -target armv7-eabi -no-integrated-as -ccc-gcc-name $(CC_armv7)
+CC_aarch64:=clang -target aarch64-eabi -no-integrated-as -ccc-gcc-name $(CC_aarch64)
HOSTCC:=clang
endif
endif
+include toolchain.inc
+
ifeq ($(CONFIG_CCACHE),y)
CCACHE:=$(word 1,$(wildcard $(addsuffix /ccache,$(subst :, ,$(PATH)))))
ifeq ($(CCACHE),)
Patrick Georgi (patrick(a)georgi-clan.de) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/5745
-gerrit
commit a7e47c7558a4cdd572b1a9cf7f0fa62089f3deb3
Author: Patrick Georgi <patrick(a)georgi-clan.de>
Date: Wed May 14 14:32:11 2014 +0200
xcompile: break out big loop content into function
Change-Id: Id98afa956a2af7113a6ef848b436d661a1fa39f2
Signed-off-by: Patrick Georgi <patrick(a)georgi-clan.de>
---
util/xcompile/xcompile | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/util/xcompile/xcompile b/util/xcompile/xcompile
index cb27306..239c233 100644
--- a/util/xcompile/xcompile
+++ b/util/xcompile/xcompile
@@ -185,8 +185,9 @@ arch_config_x86() {
TWIDTH="32"
}
-# This loops over all supported architectures.
-for architecture in $SUPPORTED_ARCHITECTURE; do
+test_architecture() {
+ architecture=$1
+
GCCPREFIX="invalid"
if type arch_config_$architecture > /dev/null; then
arch_config_$architecture
@@ -225,5 +226,10 @@ for architecture in $SUPPORTED_ARCHITECTURE; do
detect_special_flags "$architecture"
report_arch_toolchain
+}
+
+# This loops over all supported architectures.
+for architecture in $SUPPORTED_ARCHITECTURE; do
+ test_architecture $architecture
done
Patrick Georgi (patrick(a)georgi-clan.de) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/5743
-gerrit
commit 38ae9dd381141aa0e865c0fb74ce2aef569ea698
Author: Patrick Georgi <patrick(a)georgi-clan.de>
Date: Wed May 14 14:28:21 2014 +0200
xcompile: actually use "special compile flags" idea
xcompile used to test for special ARM flags - that were
empty.
Meanwhile, -Wa,--divide, which is only useful on i386-elf
was tested for on arm and aarch64, too
Change-Id: I1a5a1bc40fa1040d0939038b073aef31c72d0c6f
Signed-off-by: Patrick Georgi <patrick(a)georgi-clan.de>
---
util/xcompile/xcompile | 14 ++++----------
1 file changed, 4 insertions(+), 10 deletions(-)
diff --git a/util/xcompile/xcompile b/util/xcompile/xcompile
index 81d5b3c..e256c0d 100644
--- a/util/xcompile/xcompile
+++ b/util/xcompile/xcompile
@@ -125,22 +125,16 @@ detect_special_flags() {
testcc "$CC" "$CFLAGS -fuse-ld=bfd" &&
CFLAGS="$CFLAGS -fuse-ld=bfd" && LINKER_SUFFIX='.bfd'
- testcc "$CC" "$CFLAGS -Wa,--divide" &&
- CFLAGS="$CFLAGS -Wa,--divide"
testcc "$CC" "$CFLAGS -fno-stack-protector"&&
CFLAGS="$CFLAGS -fno-stack-protector"
testcc "$CC" "$CFLAGS -Wl,--build-id=none" &&
CFLAGS="$CFLAGS -Wl,--build-id=none"
case "$architecture" in
- armv7 )
- ARMFLAGS=""
- testcc "$CC" "$CFLAGS $ARMFLAGS"&&CFLAGS="$CFLAGS $ARMFLAGS"
- ;;
- aarch64 )
- ARMFLAGS=""
- testcc "$CC" "$CFLAGS $ARMFLAGS"&&CFLAGS="$CFLAGS $ARMFLAGS"
- ;;
+ x86)
+ testcc "$CC" "$CFLAGS -Wa,--divide" &&
+ CFLAGS="$CFLAGS -Wa,--divide"
+ ;;
esac
}