Edward O'Callaghan (eocallaghan(a)alterapraxis.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/8189
-gerrit
commit a41c4b3fd4ff2e2e8b9946cafe546c5e325072a8
Author: Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
Date: Sun Jan 11 01:15:41 2015 +1100
mainboard: Kill off dead usage of ATi/RageXL driver
Change-Id: Ib51287326af1af15155ee37336d3795137001686
Signed-off-by: Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
---
src/mainboard/iwill/dk8s2/Kconfig | 1 -
src/mainboard/tyan/s2850/devicetree.cb | 1 -
src/mainboard/tyan/s2882/devicetree.cb | 2 --
src/mainboard/tyan/s2891/devicetree.cb | 1 -
src/mainboard/tyan/s2892/devicetree.cb | 2 --
src/mainboard/tyan/s4882/devicetree.cb | 2 --
6 files changed, 9 deletions(-)
diff --git a/src/mainboard/iwill/dk8s2/Kconfig b/src/mainboard/iwill/dk8s2/Kconfig
index c4de3a1..6bb4c76 100644
--- a/src/mainboard/iwill/dk8s2/Kconfig
+++ b/src/mainboard/iwill/dk8s2/Kconfig
@@ -12,7 +12,6 @@ config BOARD_SPECIFIC_OPTIONS # dummy
select HAVE_OPTION_TABLE
select HAVE_MP_TABLE
select SB_HT_CHAIN_UNITID_OFFSET_ONLY
- select DRIVERS_ATI_RAGEXL
select BOARD_ROMSIZE_KB_512
select RAMINIT_SYSINFO
select QRANK_DIMM_SUPPORT
diff --git a/src/mainboard/tyan/s2850/devicetree.cb b/src/mainboard/tyan/s2850/devicetree.cb
index 85c6384..5e80a87 100644
--- a/src/mainboard/tyan/s2850/devicetree.cb
+++ b/src/mainboard/tyan/s2850/devicetree.cb
@@ -17,7 +17,6 @@ chip northbridge/amd/amdk8/root_complex
device pci 0.1 on end
device pci 0.2 off end
device pci 1.0 off end
- #chip drivers/ati/ragexl
device pci b.0 on end
end
device pci 1.0 on
diff --git a/src/mainboard/tyan/s2882/devicetree.cb b/src/mainboard/tyan/s2882/devicetree.cb
index 4074695..3391567 100644
--- a/src/mainboard/tyan/s2882/devicetree.cb
+++ b/src/mainboard/tyan/s2882/devicetree.cb
@@ -31,9 +31,7 @@ chip northbridge/amd/amdk8/root_complex
device pci 0.2 off end
device pci 1.0 off end
device pci 5.0 on end
- # chip drivers/ati/ragexl
device pci 6.0 on end
- # end
device pci 8.0 on end #intel 10/100
end
device pci 1.0 on
diff --git a/src/mainboard/tyan/s2891/devicetree.cb b/src/mainboard/tyan/s2891/devicetree.cb
index 8442ec8..f9185ef 100644
--- a/src/mainboard/tyan/s2891/devicetree.cb
+++ b/src/mainboard/tyan/s2891/devicetree.cb
@@ -103,7 +103,6 @@ chip northbridge/amd/amdk8/root_complex # Root complex
device pci 7.0 on end # SATA 1
device pci 8.0 on end # SATA 0
device pci 9.0 on # PCI
- # chip drivers/ati/ragexl
device pci 7.0 on end
end
device pci a.0 off end # NIC
diff --git a/src/mainboard/tyan/s2892/devicetree.cb b/src/mainboard/tyan/s2892/devicetree.cb
index 3edc156..5100dcc 100644
--- a/src/mainboard/tyan/s2892/devicetree.cb
+++ b/src/mainboard/tyan/s2892/devicetree.cb
@@ -104,9 +104,7 @@ chip northbridge/amd/amdk8/root_complex # Root complex
device pci 7.0 on end # SATA 1
device pci 8.0 on end # SATA 0
device pci 9.0 on # PCI
- # chip drivers/ati/ragexl
device pci 6.0 on end
- # end
device pci 8.0 on end
end
device pci a.0 off end # NIC
diff --git a/src/mainboard/tyan/s4882/devicetree.cb b/src/mainboard/tyan/s4882/devicetree.cb
index 44da2c2..e65a975 100644
--- a/src/mainboard/tyan/s4882/devicetree.cb
+++ b/src/mainboard/tyan/s4882/devicetree.cb
@@ -33,9 +33,7 @@ chip northbridge/amd/amdk8/root_complex
device pci 0.1 on end
device pci 0.2 off end
device pci 1.0 off end
- #chip drivers/ati/ragexl
device pci 6.0 on end
- #end
device pci 5.0 on end #SiI
end
device pci 1.0 on
Edward O'Callaghan (eocallaghan(a)alterapraxis.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/8206
-gerrit
commit 784d5f4fd0d44c9672f46e596bc99f643430fbdb
Author: Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
Date: Tue Jan 13 22:26:42 2015 +1100
Makefile: clang - ramp up some more warnings
Back out '-Wno-tautological-compare'.
Change-Id: Id43631fb1520ab844a772277c5b1dd5384c9f145
Signed-off-by: Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
---
Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index eda36e7..e46cdca 100644
--- a/Makefile
+++ b/Makefile
@@ -119,7 +119,7 @@ ifeq ($(CONFIG_COMPILER_LLVM_CLANG),y)
# this means the triple is i386-linux-elf instead of i386-none-elf
CFLAGS_x86_32 = -no-integrated-as -Qunused-arguments -target i386-linux-elf -m32
# Tone down some clang warnings
-CFLAGS_x86_32 += -Wno-tautological-compare -Wno-shift-overflow
+CFLAGS_x86_32 += -Wno-shift-overflow
CC_x86_32:=clang
HOSTCC := clang
Edward O'Callaghan (eocallaghan(a)alterapraxis.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/8136
-gerrit
commit 614b2f38fd4e1aab5e770d564efe24c09e5b28f9
Author: Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
Date: Tue Jan 6 14:58:31 2015 +1100
Makefile: clang - ramp up some more warnings
Back out '-Wno-unused-function'
Change-Id: I5262cba22d262f5d74d1edd958b59c2695271293
Signed-off-by: Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
---
Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 017ca47..51c0c58 100644
--- a/Makefile
+++ b/Makefile
@@ -119,7 +119,7 @@ ifeq ($(CONFIG_COMPILER_LLVM_CLANG),y)
# this means the triple is i386-linux-elf instead of i386-none-elf
CFLAGS_x86_32 = -no-integrated-as -Qunused-arguments -target i386-linux-elf -m32
# Tone down some clang warnings
-CFLAGS_x86_32 += -Wno-unused-variable -Wno-unused-function -Wno-tautological-compare -Wno-shift-overflow
+CFLAGS_x86_32 += -Wno-unused-variable -Wno-tautological-compare -Wno-shift-overflow
CC_x86_32:=clang
HOSTCC := clang
Edward O'Callaghan (eocallaghan(a)alterapraxis.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/8197
-gerrit
commit 1750c63f005c776aa9b1976555a57cde8f65a779
Author: Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
Date: Tue Jan 13 04:15:29 2015 +1100
Makefile: clang - ramp up some more warnings
Back out '-Wno-unused-variable'.
Change-Id: Icd15b03d3a41f4933c9ae0a4c497ccadcccbefb5
Signed-off-by: Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
---
Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 51c0c58..eda36e7 100644
--- a/Makefile
+++ b/Makefile
@@ -119,7 +119,7 @@ ifeq ($(CONFIG_COMPILER_LLVM_CLANG),y)
# this means the triple is i386-linux-elf instead of i386-none-elf
CFLAGS_x86_32 = -no-integrated-as -Qunused-arguments -target i386-linux-elf -m32
# Tone down some clang warnings
-CFLAGS_x86_32 += -Wno-unused-variable -Wno-tautological-compare -Wno-shift-overflow
+CFLAGS_x86_32 += -Wno-tautological-compare -Wno-shift-overflow
CC_x86_32:=clang
HOSTCC := clang
Edward O'Callaghan (eocallaghan(a)alterapraxis.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/8209
-gerrit
commit ce7ae37504ac17064fac61f59a25c0a52528c53f
Author: Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
Date: Wed Jan 14 02:14:21 2015 +1100
drivers/i2c/w83795: Fix tautology from wrong return type
The correct type-signature of 'do_smbus_write_byte' is:
int do_smbus_write_byte(u32 smbus_io_base, u32 device, u32 address, u8 val)
and so storing the return type in a 'u32' is inappropriate, leading
to a tautological compare of 'ret < 0' and 'err < 0'.
Change-Id: I65486df7156c70af84fa00c336142d9a45998620
Signed-off-by: Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
---
src/drivers/i2c/w83795/w83795.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/drivers/i2c/w83795/w83795.c b/src/drivers/i2c/w83795/w83795.c
index 569fe5a..397c22c 100644
--- a/src/drivers/i2c/w83795/w83795.c
+++ b/src/drivers/i2c/w83795/w83795.c
@@ -24,14 +24,14 @@
#include "southbridge/amd/cimx/sb700/smbus.h" /*SMBUS_IO_BASE*/
#include "w83795.h"
-static u32 w83795_set_bank(u8 bank)
+static int w83795_set_bank(u8 bank)
{
return do_smbus_write_byte(SMBUS_IO_BASE, W83795_DEV, W83795_REG_BANKSEL, bank);
}
static u8 w83795_read(u16 reg)
{
- u32 ret;
+ int ret;
ret = w83795_set_bank(reg >> 8);
if (ret < 0) {
@@ -45,7 +45,7 @@ static u8 w83795_read(u16 reg)
static u8 w83795_write(u16 reg, u8 value)
{
- u32 err;
+ int err;
err = w83795_set_bank(reg >> 8);
if (err < 0) {
the following patch was just integrated into master:
commit 3bde659445a70443b444cfdd9473db2639641233
Author: Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
Date: Tue Jan 13 05:15:25 2015 +1100
vendorcode/amd/agesa: Remove UCODE_VS_FLAG() macro unused variable
Remove useless AGESA microcode macro that leads to unused variable
warnings.
Change-Id: Ia21bfc758f81e349bdd0bfd185df75e8b1898336
Signed-off-by: Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
Reviewed-on: http://review.coreboot.org/8200
Tested-by: build bot (Jenkins)
Reviewed-by: Marc Jones <marc.jones(a)se-eng.com>
Reviewed-by: Dave Frodin <dave.frodin(a)se-eng.com>
See http://review.coreboot.org/8200 for details.
-gerrit