amd/agesa: Implicit assigment between enum without cast

Change-Id: I31632948ce69b2d1ff63b6c920016ed6fdf9e2f8
Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Reviewed-on: http://review.coreboot.org/5760
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Marc Jones <marc.jones@se-eng.com>
This commit is contained in:
Edward O'Callaghan 2014-05-15 21:23:51 +10:00 committed by Marc Jones
parent e1845b38c7
commit b2d68976c8
3 changed files with 3 additions and 3 deletions

View File

@ -206,7 +206,7 @@ MemNSyncTargetSpeedNb (
ASSERT ((NBPtr->ChannelPtr->TechType == DDR3_TECHNOLOGY) ? ASSERT ((NBPtr->ChannelPtr->TechType == DDR3_TECHNOLOGY) ?
((MEMORY_BUS_SPEED)ChnlTmgMod[1] >= DDR667_FREQUENCY) : ((MEMORY_BUS_SPEED)ChnlTmgMod[1] >= DDR667_FREQUENCY) :
((MEMORY_BUS_SPEED)ChnlTmgMod[1] <= DDR1066_FREQUENCY)); ((MEMORY_BUS_SPEED)ChnlTmgMod[1] <= DDR1066_FREQUENCY));
MemClkFreq = ChnlTmgMod[1]; MemClkFreq = (MEMORY_BUS_SPEED) ChnlTmgMod[1];
} }
} }

View File

@ -178,7 +178,7 @@ MemNSyncTargetSpeedNb (
// ASSERT ((NBPtr->ChannelPtr->TechType == DDR3_TECHNOLOGY) ? // ASSERT ((NBPtr->ChannelPtr->TechType == DDR3_TECHNOLOGY) ?
// (ChnlTmgMod[1] >= DDR667_FREQUENCY) : // (ChnlTmgMod[1] >= DDR667_FREQUENCY) :
// (ChnlTmgMod[1] <= DDR1066_FREQUENCY)); // (ChnlTmgMod[1] <= DDR1066_FREQUENCY));
MemClkFreq = ChnlTmgMod[1]; MemClkFreq = (MEMORY_BUS_SPEED) ChnlTmgMod[1];
} }
} }

View File

@ -186,7 +186,7 @@ MemNSyncTargetSpeedNb (
ASSERT ((NBPtr->ChannelPtr->TechType == DDR3_TECHNOLOGY) ? ASSERT ((NBPtr->ChannelPtr->TechType == DDR3_TECHNOLOGY) ?
((MEMORY_BUS_SPEED)(ChnlTmgMod[1]) >= DDR667_FREQUENCY) : ((MEMORY_BUS_SPEED)(ChnlTmgMod[1]) >= DDR667_FREQUENCY) :
((MEMORY_BUS_SPEED)(ChnlTmgMod[1]) <= DDR1066_FREQUENCY)); ((MEMORY_BUS_SPEED)(ChnlTmgMod[1]) <= DDR1066_FREQUENCY));
MemClkFreq = ChnlTmgMod[1]; MemClkFreq = (MEMORY_BUS_SPEED) ChnlTmgMod[1];
} }
} }