summaryrefslogtreecommitdiff
path: root/src/northbridge
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2010-04-02 22:31:35 +0000
committerStefan Reinauer <stepan@openbios.org>2010-04-02 22:31:35 +0000
commit26afd18e1084c026c655aea7f7066a32c5d9ef90 (patch)
tree62fcd6ede7e2149840e764f5f6855199def5ca94 /src/northbridge
parentb4a3fcfb4b9ae0864d23ff88e02b694c25d40752 (diff)
remove more warnings.
Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5350 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/northbridge')
-rw-r--r--src/northbridge/amd/amdht/h3finit.h2
-rw-r--r--src/northbridge/amd/amdht/h3ncmn.c4
-rw-r--r--src/northbridge/amd/gx2/northbridgeinit.c1
3 files changed, 3 insertions, 4 deletions
diff --git a/src/northbridge/amd/amdht/h3finit.h b/src/northbridge/amd/amdht/h3finit.h
index d173839ae5..b175fe1e25 100644
--- a/src/northbridge/amd/amdht/h3finit.h
+++ b/src/northbridge/amd/amdht/h3finit.h
@@ -353,7 +353,7 @@ typedef struct {
*
* ---------------------------------------------------------------------------------------
*/
- BOOL (*AMD_CB_CustomizeTrafficDistribution)();
+ BOOL (*AMD_CB_CustomizeTrafficDistribution)( void );
/**----------------------------------------------------------------------------------------
diff --git a/src/northbridge/amd/amdht/h3ncmn.c b/src/northbridge/amd/amdht/h3ncmn.c
index f4696b6daf..cf06cf911e 100644
--- a/src/northbridge/amd/amdht/h3ncmn.c
+++ b/src/northbridge/amd/amdht/h3ncmn.c
@@ -1041,7 +1041,7 @@ void ht3SetCFGAddrMap(u8 cfgMapIndex, u8 secBus, u8 subBus, u8 targetNode, u8 t
/**----------------------------------------------------------------------------------------
*
- * void
+ * static void
* ht1SetCFGAddrMap(u8 cfgMapIndex, u8 secBus, u8 subBus, u8 targetNode, u8 targetLink, sMainData *pDat, cNorthBridge *nb)
*
* Description:
@@ -1058,7 +1058,7 @@ void ht3SetCFGAddrMap(u8 cfgMapIndex, u8 secBus, u8 subBus, u8 targetNode, u8 t
*
* ---------------------------------------------------------------------------------------
*/
-void ht1SetCFGAddrMap(u8 cfgMapIndex, u8 secBus, u8 subBus, u8 targetNode, u8 targetLink, sMainData *pDat, cNorthBridge *nb)
+static void ht1SetCFGAddrMap(u8 cfgMapIndex, u8 secBus, u8 subBus, u8 targetNode, u8 targetLink, sMainData *pDat, cNorthBridge *nb)
{
u8 curNode;
SBDFO linkBase;
diff --git a/src/northbridge/amd/gx2/northbridgeinit.c b/src/northbridge/amd/gx2/northbridgeinit.c
index 0c612319c8..84ecbf09ed 100644
--- a/src/northbridge/amd/gx2/northbridgeinit.c
+++ b/src/northbridge/amd/gx2/northbridgeinit.c
@@ -704,7 +704,6 @@ RCONFInit(void)
int i;
msr_t msr;
uint8_t SysMemCacheProp;
- uint8_t RegionProp;
/* Locate SYSMEM entry in GLIU0table */
for(i = 0; gliu0table[i].desc_name != GL_END; i++) {