Edward O'Callaghan (eocallaghan(a)alterapraxis.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/6157
-gerrit
commit 5c76daed53f13a09741b26f6b409ba04c77a4951
Author: Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
Date: Sun Jun 29 02:27:19 2014 +1000
northbridge/amd/gx2/raminit.c Halt func needs noreturn attrib
Missing "__attribute__((noreturn))" on halt function. This sync's the
implementation to be the same as that of amd/lx thereby avoiding
compiler warnings.
Change-Id: Iead16125805eb36ff875fba767cf8d4e5aa86715
Signed-off-by: Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
---
src/northbridge/amd/gx2/raminit.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/northbridge/amd/gx2/raminit.c b/src/northbridge/amd/gx2/raminit.c
index 71d0a16..d9af161 100644
--- a/src/northbridge/amd/gx2/raminit.c
+++ b/src/northbridge/amd/gx2/raminit.c
@@ -26,7 +26,7 @@ static const unsigned char NumColAddr[] = {
0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F,
};
-static void hcf(void)
+static void __attribute__((noreturn)) hcf(void)
{
printk(BIOS_EMERG, "DIE\n");
/* this guarantees we flush the UART fifos (if any) and also
Edward O'Callaghan (eocallaghan(a)alterapraxis.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/6156
-gerrit
commit 8d4a56ae2452ae971d0f5ac22c56e570e2b09684
Author: Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
Date: Sun Jun 29 02:04:21 2014 +1000
include/cpu/amd/mtrr.h: Missing header for 'msr_t' type
Permuting inclusion of this header with others can result in build
failures.
Change-Id: Ied453a432b64801646e2a40df014a522db643aae
Signed-off-by: Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
---
src/include/cpu/amd/mtrr.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/include/cpu/amd/mtrr.h b/src/include/cpu/amd/mtrr.h
index a9e672b..d8d1513 100644
--- a/src/include/cpu/amd/mtrr.h
+++ b/src/include/cpu/amd/mtrr.h
@@ -1,6 +1,8 @@
#ifndef CPU_AMD_MTRR_H
#define CPU_AMD_MTRR_H
+#include <cpu/x86/msr.h>
+
#define IORR_FIRST 0xC0010016
#define IORR_LAST 0xC0010019
the following patch was just integrated into master:
commit 9c41063713c64994083a4baddb22d41a685a95b8
Author: Patrick Georgi <patrick(a)georgi-clan.de>
Date: Wed Jun 25 17:54:54 2014 +0200
Don't add .eh_frame sections to SMM image
We don't need exception handlers and they waste space.
Change-Id: I98a34d1c9638e8c4168edbfb4b1cddde8a64623f
Signed-off-by: Patrick Georgi <patrick(a)georgi-clan.de>
Reviewed-on: http://review.coreboot.org/6105
Tested-by: build bot (Jenkins)
Reviewed-by: Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
See http://review.coreboot.org/6105 for details.
-gerrit
the following patch was just integrated into master:
commit 91d6fc8118d1b469ca8a9fa2da66e4819edf41c4
Author: Patrick Georgi <patrick(a)georgi-clan.de>
Date: Sun May 25 00:05:20 2014 +0200
armv7: We don't use CPPFLAGS anymore
CPPFLAGS is only used as qualified variant
(like CPPFLAGS_armv7) now.
Change-Id: If8b570ace4ac92d1fdb38ca3f7fef6c79d513a95
Signed-off-by: Patrick Georgi <patrick(a)georgi-clan.de>
Reviewed-on: http://review.coreboot.org/5874
Tested-by: build bot (Jenkins)
Reviewed-by: Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
Reviewed-by: Paul Menzel <paulepanter(a)users.sourceforge.net>
Reviewed-by: Dave Frodin <dave.frodin(a)se-eng.com>
See http://review.coreboot.org/5874 for details.
-gerrit
Paul Menzel (paulepanter(a)users.sourceforge.net) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/6151
-gerrit
commit 709eb48ff804f8f84286893c8df5f29e9f3de0a8
Author: Paul Menzel <paulepanter(a)users.sourceforge.net>
Date: Sat Jun 28 09:06:57 2014 +0200
northbridge/amd: Fix `synch` to `sync` in comments
Run the following command to fix all occurrences in `src/northbridge`.
$ git grep -l "synch " src/northbridge | xargs sed -i 's/synch /sync /g'
Change-Id: I630aadae77524c3ab2171d721ad079a97b09e57f
Signed-off-by: Paul Menzel <paulepanter(a)users.sourceforge.net>
---
src/northbridge/amd/amdht/h3ncmn.c | 10 +++++-----
src/northbridge/amd/gx2/northbridgeinit.c | 2 +-
src/northbridge/amd/lx/northbridgeinit.c | 2 +-
3 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/src/northbridge/amd/amdht/h3ncmn.c b/src/northbridge/amd/amdht/h3ncmn.c
index cba21b3..da41369 100644
--- a/src/northbridge/amd/amdht/h3ncmn.c
+++ b/src/northbridge/amd/amdht/h3ncmn.c
@@ -350,7 +350,7 @@ static BOOL verifyLinkIsCoherent(u8 node, u8 link, cNorthBridge *nb)
*
* Description:
* Return the LinkFailed status AFTER an attempt is made to clear the bit.
- * Also, call event notify if a Hardware Fault caused a synch flood on a previous boot.
+ * Also, call event notify if a Hardware Fault caused a sync flood on a previous boot.
*
* The table below summarizes correct responses of this routine.
* Family before after unconnected Notify? return
@@ -397,10 +397,10 @@ static BOOL readTrueLinkFailStatus(u8 node, u8 link, sMainData *pDat, cNorthBrid
{
if (crc != 0)
{
- /* A synch flood occurred due to HT CRC */
+ /* A sync flood occurred due to HT CRC */
if (pDat->HtBlock->AMD_CB_EventNotify)
{
- /* Pass the node and link on which the generic synch flood event occurred. */
+ /* Pass the node and link on which the generic sync flood event occurred. */
sHtEventHWHtCrc evt;
evt.eSize = sizeof(sHtEventHWHtCrc);
evt.node = node;
@@ -414,10 +414,10 @@ static BOOL readTrueLinkFailStatus(u8 node, u8 link, sMainData *pDat, cNorthBrid
}
else
{
- /* Some synch flood occurred */
+ /* Some sync flood occurred */
if (pDat->HtBlock->AMD_CB_EventNotify)
{
- /* Pass the node and link on which the generic synch flood event occurred. */
+ /* Pass the node and link on which the generic sync flood event occurred. */
sHtEventHWSynchFlood evt;
evt.eSize = sizeof(sHtEventHWSynchFlood);
evt.node = node;
diff --git a/src/northbridge/amd/gx2/northbridgeinit.c b/src/northbridge/amd/gx2/northbridgeinit.c
index 47611bf..7b49737 100644
--- a/src/northbridge/amd/gx2/northbridgeinit.c
+++ b/src/northbridge/amd/gx2/northbridgeinit.c
@@ -659,7 +659,7 @@ void northbridge_init_early(void)
GLIUInit(gliutables[i]);
/* Now that the descriptor to memory is set up. */
- /* The memory controller needs one read to synch its lines before it can be used. */
+ /* The memory controller needs one read to sync its lines before it can be used. */
i = *(int *) 0;
GeodeLinkPriority();
diff --git a/src/northbridge/amd/lx/northbridgeinit.c b/src/northbridge/amd/lx/northbridgeinit.c
index 42b91d6..7bd3285 100644
--- a/src/northbridge/amd/lx/northbridgeinit.c
+++ b/src/northbridge/amd/lx/northbridgeinit.c
@@ -741,7 +741,7 @@ void northbridge_init_early(void)
GLIUInit(gliutables[i]);
/* Now that the descriptor to memory is set up. */
- /* The memory controller needs one read to synch its lines before it can be used. */
+ /* The memory controller needs one read to sync its lines before it can be used. */
i = *(int *)0;
GeodeLinkPriority();