From b05eee46c35487dc694edb5b4d0d070a8d29f915 Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Tue, 11 Oct 2016 19:05:56 +0200 Subject: northbridge/via/vx800: Convert 'for (;;)' to 'die' MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I3f99190401d8df1415328da9c3b928194593901c Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/16989 Tested-by: build bot (Jenkins) Reviewed-by: Jonathan Neuschäfer Reviewed-by: Patrick Georgi Reviewed-by: Paul Menzel --- src/northbridge/via/vx800/freq_setting.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/northbridge/via/vx800/freq_setting.c b/src/northbridge/via/vx800/freq_setting.c index 6592efdefd..4eeba12886 100644 --- a/src/northbridge/via/vx800/freq_setting.c +++ b/src/northbridge/via/vx800/freq_setting.c @@ -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 -- cgit v1.2.3