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 66c2bf5e5704e40204d4a3dcaf08bfd988bc6696
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/8200
-gerrit
commit 29a00b10f78042ffc3f2afd18d668684b6dd8f21
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
Change-Id: Ia21bfc758f81e349bdd0bfd185df75e8b1898336
Signed-off-by: Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
---
.../agesa/f15/Proc/CPU/Family/0x15/OR/F15OrMicrocodePatch06000425.c | 5 +++--
.../f15/Proc/CPU/Family/0x15/OR/F15OrMicrocodePatch0600050D_Enc.c | 5 +++--
.../f15tn/Proc/CPU/Family/0x15/TN/F15TnMicrocodePatch0600110F_Enc.c | 5 +++--
.../agesa/f16kb/Proc/CPU/Family/0x16/KB/F16KbId7001MicrocodePatch.c | 3 ++-
4 files changed, 11 insertions(+), 7 deletions(-)
diff --git a/src/vendorcode/amd/agesa/f15/Proc/CPU/Family/0x15/OR/F15OrMicrocodePatch06000425.c b/src/vendorcode/amd/agesa/f15/Proc/CPU/Family/0x15/OR/F15OrMicrocodePatch06000425.c
index df9c27b..6799398 100644
--- a/src/vendorcode/amd/agesa/f15/Proc/CPU/Family/0x15/OR/F15OrMicrocodePatch06000425.c
+++ b/src/vendorcode/amd/agesa/f15/Proc/CPU/Family/0x15/OR/F15OrMicrocodePatch06000425.c
@@ -64,7 +64,8 @@ RDATA_GROUP (G3_DXE)
*----------------------------------------------------------------------------------------
*/
-UCODE_VS_FLAG (06000425)
+// Unused variable
+//UCODE_VS_FLAG (06000425)
// Encrypted Patch code 06000425 for 6010 and equivalent
CONST UINT8 ROMDATA CpuF15OrMicrocodePatch06000425 [IDS_PAD_4K] =
@@ -2671,4 +2672,4 @@ CONST UINT8 ROMDATA CpuF15OrMicrocodePatch06000425 [IDS_PAD_4K] =
/*----------------------------------------------------------------------------------------
* E X P O R T E D F U N C T I O N S
*----------------------------------------------------------------------------------------
- */
\ No newline at end of file
+ */
diff --git a/src/vendorcode/amd/agesa/f15/Proc/CPU/Family/0x15/OR/F15OrMicrocodePatch0600050D_Enc.c b/src/vendorcode/amd/agesa/f15/Proc/CPU/Family/0x15/OR/F15OrMicrocodePatch0600050D_Enc.c
index 5e5cf04..bb196ef 100644
--- a/src/vendorcode/amd/agesa/f15/Proc/CPU/Family/0x15/OR/F15OrMicrocodePatch0600050D_Enc.c
+++ b/src/vendorcode/amd/agesa/f15/Proc/CPU/Family/0x15/OR/F15OrMicrocodePatch0600050D_Enc.c
@@ -64,7 +64,8 @@ RDATA_GROUP (G3_DXE)
*----------------------------------------------------------------------------------------
*/
-UCODE_VS_FLAG (0600050D_Enc)
+// Unused variable
+//UCODE_VS_FLAG (0600050D_Enc)
// Encrypt Patch code 0600050D for 6011 and equivalent
@@ -2672,4 +2673,4 @@ CONST UINT8 ROMDATA CpuF15OrMicrocodePatch0600050D_Enc [IDS_PAD_4K] =
/*----------------------------------------------------------------------------------------
* E X P O R T E D F U N C T I O N S
*----------------------------------------------------------------------------------------
- */
\ No newline at end of file
+ */
diff --git a/src/vendorcode/amd/agesa/f15tn/Proc/CPU/Family/0x15/TN/F15TnMicrocodePatch0600110F_Enc.c b/src/vendorcode/amd/agesa/f15tn/Proc/CPU/Family/0x15/TN/F15TnMicrocodePatch0600110F_Enc.c
index 311a26c..8e0ada0 100644
--- a/src/vendorcode/amd/agesa/f15tn/Proc/CPU/Family/0x15/TN/F15TnMicrocodePatch0600110F_Enc.c
+++ b/src/vendorcode/amd/agesa/f15tn/Proc/CPU/Family/0x15/TN/F15TnMicrocodePatch0600110F_Enc.c
@@ -63,7 +63,8 @@ RDATA_GROUP (G3_DXE)
*----------------------------------------------------------------------------------------
*/
-UCODE_VS_FLAG (0600110F_Enc)
+// Unused variable
+//UCODE_VS_FLAG (0600110F_Enc)
// Encrypt Patch code 0600110F for 6101 and equivalent
@@ -2671,4 +2672,4 @@ CONST UINT8 ROMDATA CpuF15TnMicrocodePatch0600110F_Enc [IDS_PAD_4K] =
/*----------------------------------------------------------------------------------------
* E X P O R T E D F U N C T I O N S
*----------------------------------------------------------------------------------------
- */
\ No newline at end of file
+ */
diff --git a/src/vendorcode/amd/agesa/f16kb/Proc/CPU/Family/0x16/KB/F16KbId7001MicrocodePatch.c b/src/vendorcode/amd/agesa/f16kb/Proc/CPU/Family/0x16/KB/F16KbId7001MicrocodePatch.c
index 14fbfb2..be40248 100644
--- a/src/vendorcode/amd/agesa/f16kb/Proc/CPU/Family/0x16/KB/F16KbId7001MicrocodePatch.c
+++ b/src/vendorcode/amd/agesa/f16kb/Proc/CPU/Family/0x16/KB/F16KbId7001MicrocodePatch.c
@@ -63,7 +63,8 @@ RDATA_GROUP (G3_DXE)
*----------------------------------------------------------------------------------------
*/
-UCODE_VS_FLAG (0700010B)
+// Unused variable
+//UCODE_VS_FLAG (0700010B)
// Encrypt Patch code 0700010B for 7001 and equivalent
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 9f4d3e407d0f5bc9b31763efe5dcaff17f030e2c
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
the following patch was just integrated into master:
commit 97ccefdaf34ea2f4e2527d98465cb3b96fcf436d
Author: Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
Date: Wed Jan 7 15:53:00 2015 +1100
southbridge/intel/lynxpoint/me_9.x.c: Avoid unused func warn
Put functions in appropriate pre-processor sections to avoid
false-positive 'unused function' compiler warnings.
Change-Id: Ie4955ee9df6904c38848f46226b53be37d9fa239
Signed-off-by: Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
Reviewed-on: http://review.coreboot.org/8157
Reviewed-by: Marc Jones <marc.jones(a)se-eng.com>
Tested-by: build bot (Jenkins)
See http://review.coreboot.org/8157 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/8200
-gerrit
commit 77b8a7810c21c95212ceba50ee464e7c69cf90ee
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
Change-Id: Ia21bfc758f81e349bdd0bfd185df75e8b1898336
Signed-off-by: Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
---
.../agesa/f15/Proc/CPU/Family/0x15/OR/F15OrMicrocodePatch06000425.c | 5 +++--
.../f15tn/Proc/CPU/Family/0x15/TN/F15TnMicrocodePatch0600110F_Enc.c | 5 +++--
.../agesa/f16kb/Proc/CPU/Family/0x16/KB/F16KbId7001MicrocodePatch.c | 3 ++-
3 files changed, 8 insertions(+), 5 deletions(-)
diff --git a/src/vendorcode/amd/agesa/f15/Proc/CPU/Family/0x15/OR/F15OrMicrocodePatch06000425.c b/src/vendorcode/amd/agesa/f15/Proc/CPU/Family/0x15/OR/F15OrMicrocodePatch06000425.c
index df9c27b..6799398 100644
--- a/src/vendorcode/amd/agesa/f15/Proc/CPU/Family/0x15/OR/F15OrMicrocodePatch06000425.c
+++ b/src/vendorcode/amd/agesa/f15/Proc/CPU/Family/0x15/OR/F15OrMicrocodePatch06000425.c
@@ -64,7 +64,8 @@ RDATA_GROUP (G3_DXE)
*----------------------------------------------------------------------------------------
*/
-UCODE_VS_FLAG (06000425)
+// Unused variable
+//UCODE_VS_FLAG (06000425)
// Encrypted Patch code 06000425 for 6010 and equivalent
CONST UINT8 ROMDATA CpuF15OrMicrocodePatch06000425 [IDS_PAD_4K] =
@@ -2671,4 +2672,4 @@ CONST UINT8 ROMDATA CpuF15OrMicrocodePatch06000425 [IDS_PAD_4K] =
/*----------------------------------------------------------------------------------------
* E X P O R T E D F U N C T I O N S
*----------------------------------------------------------------------------------------
- */
\ No newline at end of file
+ */
diff --git a/src/vendorcode/amd/agesa/f15tn/Proc/CPU/Family/0x15/TN/F15TnMicrocodePatch0600110F_Enc.c b/src/vendorcode/amd/agesa/f15tn/Proc/CPU/Family/0x15/TN/F15TnMicrocodePatch0600110F_Enc.c
index 311a26c..8e0ada0 100644
--- a/src/vendorcode/amd/agesa/f15tn/Proc/CPU/Family/0x15/TN/F15TnMicrocodePatch0600110F_Enc.c
+++ b/src/vendorcode/amd/agesa/f15tn/Proc/CPU/Family/0x15/TN/F15TnMicrocodePatch0600110F_Enc.c
@@ -63,7 +63,8 @@ RDATA_GROUP (G3_DXE)
*----------------------------------------------------------------------------------------
*/
-UCODE_VS_FLAG (0600110F_Enc)
+// Unused variable
+//UCODE_VS_FLAG (0600110F_Enc)
// Encrypt Patch code 0600110F for 6101 and equivalent
@@ -2671,4 +2672,4 @@ CONST UINT8 ROMDATA CpuF15TnMicrocodePatch0600110F_Enc [IDS_PAD_4K] =
/*----------------------------------------------------------------------------------------
* E X P O R T E D F U N C T I O N S
*----------------------------------------------------------------------------------------
- */
\ No newline at end of file
+ */
diff --git a/src/vendorcode/amd/agesa/f16kb/Proc/CPU/Family/0x16/KB/F16KbId7001MicrocodePatch.c b/src/vendorcode/amd/agesa/f16kb/Proc/CPU/Family/0x16/KB/F16KbId7001MicrocodePatch.c
index 14fbfb2..be40248 100644
--- a/src/vendorcode/amd/agesa/f16kb/Proc/CPU/Family/0x16/KB/F16KbId7001MicrocodePatch.c
+++ b/src/vendorcode/amd/agesa/f16kb/Proc/CPU/Family/0x16/KB/F16KbId7001MicrocodePatch.c
@@ -63,7 +63,8 @@ RDATA_GROUP (G3_DXE)
*----------------------------------------------------------------------------------------
*/
-UCODE_VS_FLAG (0700010B)
+// Unused variable
+//UCODE_VS_FLAG (0700010B)
// Encrypt Patch code 0700010B for 7001 and equivalent