Fix warnings (that become errors) in AMDHT for certain configurations (unused functions)

Signed-off-by: Xavi Drudis Ferran <xdrudis@tinet.cat>
Acked-by: Patrick Georgi <patrick@georgi-clan.de>


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5704 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Xavi Drudis Ferran
2010-08-17 06:12:59 +00:00
committed by Patrick Georgi
parent 52a3c3b7f7
commit e660f04161
2 changed files with 8 additions and 2 deletions

View File

@@ -845,8 +845,6 @@ static void finializeCoherentInit(sMainData *pDat)
*/
static void coherentInit(sMainData *pDat)
{
u8 i, j;
#ifdef HT_BUILD_NC_ONLY
/* Replace discovery process with:
* No other nodes, no coherent links
@@ -856,6 +854,8 @@ static void coherentInit(sMainData *pDat)
pDat->TotalLinks = 0;
pDat->nb->enableRoutingTables(0, pDat->nb);
#else
u8 i, j;
pDat->NodesDiscovered = 0;
pDat->TotalLinks = 0;
for (i = 0; i < MAX_NODES; i++)