northbridge/via/vx800: Convert 'for (;;)' to 'die'
Change-Id: I3f99190401d8df1415328da9c3b928194593901c Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/16989 Tested-by: build bot (Jenkins) Reviewed-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net> Reviewed-by: Patrick Georgi <pgeorgi@google.com> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
This commit is contained in:
committed by
Martin Roth
parent
1ac773fa55
commit
b05eee46c3
@@ -134,8 +134,8 @@ void CalcCLAndFreq(DRAM_SYS_ATTR * DramAttr)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!AllDimmSupportedCL) { /*if equal 0, no supported CL */
|
if (!AllDimmSupportedCL) { /*if equal 0, no supported CL */
|
||||||
PRINT_DEBUG_MEM("SPD Data Error, Can not get CL !!!! \r");
|
die("SPD Data Error, Can not get CL !!!! \r");
|
||||||
for (;;);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*Get CL Value */
|
/*Get CL Value */
|
||||||
@@ -192,7 +192,7 @@ void CalcCLAndFreq(DRAM_SYS_ATTR * DramAttr)
|
|||||||
|
|
||||||
if (CycTime <= 0) {
|
if (CycTime <= 0) {
|
||||||
//error!
|
//error!
|
||||||
for (;;);
|
die("Error, cycle time <= 0\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
/* cycle time value
|
/* cycle time value
|
||||||
|
Reference in New Issue
Block a user