diff options
author | Ronald G. Minnich <rminnich@gmail.com> | 2004-07-06 16:35:50 +0000 |
---|---|---|
committer | Ronald G. Minnich <rminnich@gmail.com> | 2004-07-06 16:35:50 +0000 |
commit | 737de849d57cc134fc6c972de29b04e9738da88d (patch) | |
tree | 1f541184d1d0b6efbe16eba29dce8824f2a51ef1 | |
parent | e89137b2adfc4d9639e77c1d84bdd688b48cd495 (diff) |
fix for simple error
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1618 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
-rw-r--r-- | src/northbridge/via/vt8601/raminit.c | 4 |
1 files changed, 3 insertions, 1 deletions
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; } } |