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:
parent
e1845b38c7
commit
b2d68976c8
|
@ -206,7 +206,7 @@ MemNSyncTargetSpeedNb (
|
|||
ASSERT ((NBPtr->ChannelPtr->TechType == DDR3_TECHNOLOGY) ?
|
||||
((MEMORY_BUS_SPEED)ChnlTmgMod[1] >= DDR667_FREQUENCY) :
|
||||
((MEMORY_BUS_SPEED)ChnlTmgMod[1] <= DDR1066_FREQUENCY));
|
||||
MemClkFreq = ChnlTmgMod[1];
|
||||
MemClkFreq = (MEMORY_BUS_SPEED) ChnlTmgMod[1];
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -178,7 +178,7 @@ MemNSyncTargetSpeedNb (
|
|||
// ASSERT ((NBPtr->ChannelPtr->TechType == DDR3_TECHNOLOGY) ?
|
||||
// (ChnlTmgMod[1] >= DDR667_FREQUENCY) :
|
||||
// (ChnlTmgMod[1] <= DDR1066_FREQUENCY));
|
||||
MemClkFreq = ChnlTmgMod[1];
|
||||
MemClkFreq = (MEMORY_BUS_SPEED) ChnlTmgMod[1];
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -186,7 +186,7 @@ MemNSyncTargetSpeedNb (
|
|||
ASSERT ((NBPtr->ChannelPtr->TechType == DDR3_TECHNOLOGY) ?
|
||||
((MEMORY_BUS_SPEED)(ChnlTmgMod[1]) >= DDR667_FREQUENCY) :
|
||||
((MEMORY_BUS_SPEED)(ChnlTmgMod[1]) <= DDR1066_FREQUENCY));
|
||||
MemClkFreq = ChnlTmgMod[1];
|
||||
MemClkFreq = (MEMORY_BUS_SPEED) ChnlTmgMod[1];
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue