From 737de849d57cc134fc6c972de29b04e9738da88d Mon Sep 17 00:00:00 2001 From: "Ronald G. Minnich" Date: Tue, 6 Jul 2004 16:35:50 +0000 Subject: fix for simple error git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1618 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/northbridge/via/vt8601/raminit.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/northbridge') diff --git a/src/northbridge/via/vt8601/raminit.c b/src/northbridge/via/vt8601/raminit.c index f295c9c737..56f1dad25b 100644 --- a/src/northbridge/via/vt8601/raminit.c +++ b/src/northbridge/via/vt8601/raminit.c @@ -89,7 +89,7 @@ void dumpnorth(device_t north) { uint8_t r, c; - for(r = 0; r < 256; r += 16) { + for(r = 0; ; r += 16) { print_debug_hex8(r); print_debug(":"); for(c = 0; c < 16; c++) { @@ -97,6 +97,8 @@ dumpnorth(device_t north) print_debug(" "); } print_debug("\r\n"); + if (r >= 240) + break; } } -- cgit v1.2.3