mirror of
https://github.com/fail0verflow/switch-coreboot.git
synced 2025-05-04 01:39:18 -04:00
UPSTREAM: northbridge/via/vx800: Convert 'for (;;)' to 'die'
BUG=None BRANCH=None TEST=None Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/16989 Tested-by: build bot (Jenkins) Reviewed-by: Jonathan Neuschfer <j.neuschaefer@gmx.net> Reviewed-by: Patrick Georgi <pgeorgi@google.com> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Change-Id: I3f99190401d8df1415328da9c3b928194593901c Reviewed-on: https://chromium-review.googlesource.com/400461 Commit-Ready: Furquan Shaikh <furquan@chromium.org> Tested-by: Furquan Shaikh <furquan@chromium.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
parent
b90acd31a6
commit
92da0a6fb8
1 changed files with 3 additions and 3 deletions
|
@ -134,8 +134,8 @@ void CalcCLAndFreq(DRAM_SYS_ATTR * DramAttr)
|
|||
}
|
||||
}
|
||||
if (!AllDimmSupportedCL) { /*if equal 0, no supported CL */
|
||||
PRINT_DEBUG_MEM("SPD Data Error, Can not get CL !!!! \r");
|
||||
for (;;);
|
||||
die("SPD Data Error, Can not get CL !!!! \r");
|
||||
|
||||
}
|
||||
|
||||
/*Get CL Value */
|
||||
|
@ -192,7 +192,7 @@ void CalcCLAndFreq(DRAM_SYS_ATTR * DramAttr)
|
|||
|
||||
if (CycTime <= 0) {
|
||||
//error!
|
||||
for (;;);
|
||||
die("Error, cycle time <= 0\n");
|
||||
}
|
||||
|
||||
/* cycle time value
|
||||
|
|
Loading…
Add table
Reference in a new issue