the following patch was just integrated into master:
commit 42b716f119ea994880364a7d423841ec97d99ac7
Author: Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
Date: Thu Jun 26 21:38:52 2014 +1000
northbridge/intel/nehalem/raminit.c: Extraneous parenthese
Equality comparison with extraneous parenthese, spotted by Clang.
Change-Id: I8d532392a0365753583ed441958e06d5da784587
Signed-off-by: Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
Reviewed-on: http://review.coreboot.org/6124
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <patrick(a)georgi-clan.de>
See http://review.coreboot.org/6124 for details.
-gerrit
the following patch was just integrated into master:
commit df3629b63cc840f089cfd645fc5cf992bbbffe16
Author: Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
Date: Sat Jun 28 17:31:58 2014 +1000
northbridge/amd/{gx2,lx}: Qualify pointer with `volatile`
There is no guarantee reading a dereferenced null pointer will not be
optimised away. Qualify the integer storage type with volatile. Clang
enforces this explicitness.
Change-Id: I31524141d70632cade0490c820936a3a8b570346
Signed-off-by: Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
Reviewed-on: http://review.coreboot.org/6148
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <patrick(a)georgi-clan.de>
See http://review.coreboot.org/6148 for details.
-gerrit
the following patch was just integrated into master:
commit 38a8fb0c1891bbe3b53965e04c1c7ebcc00654da
Author: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
Date: Mon Jun 30 13:48:18 2014 +0300
x86 MTRR: Drop unused return value
It was never well-defined what value this function should return.
Change-Id: If84aff86e0b556591d7ad557842910a2dfcd3b46
Signed-off-by: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
Reviewed-on: http://review.coreboot.org/6166
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <patrick(a)georgi-clan.de>
Reviewed-by: Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
See http://review.coreboot.org/6166 for details.
-gerrit
the following patch was just integrated into master:
commit 599cda82283294944883cb17e8c2a43d96f9d2e9
Author: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
Date: Wed Jun 25 01:22:17 2014 +0300
Use MTRR defines
Change-Id: I60ae6dcb8c3b280fe74f27f4d61de70cc1ba190b
Signed-off-by: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
Reviewed-on: http://review.coreboot.org/6123
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter(a)users.sourceforge.net>
Reviewed-by: Patrick Georgi <patrick(a)georgi-clan.de>
Reviewed-by: Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
See http://review.coreboot.org/6123 for details.
-gerrit
Kyösti Mälkki (kyosti.malkki(a)gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/6166
-gerrit
commit 544d1c1b6315e350ddf21601f51674926e6c95b5
Author: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
Date: Mon Jun 30 13:48:18 2014 +0300
x86 MTRR: Drop unused return value
It was never well-defined what value this function should return.
Change-Id: If84aff86e0b556591d7ad557842910a2dfcd3b46
Signed-off-by: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
---
src/cpu/x86/mtrr/mtrr.c | 3 +--
src/include/cpu/x86/mtrr.h | 2 +-
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/src/cpu/x86/mtrr/mtrr.c b/src/cpu/x86/mtrr/mtrr.c
index 8826535..b19b853 100644
--- a/src/cpu/x86/mtrr/mtrr.c
+++ b/src/cpu/x86/mtrr/mtrr.c
@@ -772,7 +772,7 @@ void x86_setup_mtrrs(void)
x86_setup_var_mtrrs(address_size, 1);
}
-int x86_mtrr_check(void)
+void x86_mtrr_check(void)
{
/* Only Pentium Pro and later have MTRR */
msr_t msr;
@@ -795,5 +795,4 @@ int x86_mtrr_check(void)
printk(BIOS_DEBUG, "\n");
post_code(0x93);
- return ((int) msr.lo);
}
diff --git a/src/include/cpu/x86/mtrr.h b/src/include/cpu/x86/mtrr.h
index 2a44072..95cabf1 100644
--- a/src/include/cpu/x86/mtrr.h
+++ b/src/include/cpu/x86/mtrr.h
@@ -66,7 +66,7 @@ void enable_fixed_mtrr(void);
void x86_setup_fixed_mtrrs(void);
/* Set up fixed MTRRs but do not enable them. */
void x86_setup_fixed_mtrrs_no_enable(void);
-int x86_mtrr_check(void);
+void x86_mtrr_check(void);
#endif
#if !defined(__ASSEMBLER__) && defined(__PRE_RAM__) && !defined(__ROMCC__)