diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2016-10-12 19:57:38 +0200 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2016-11-23 23:57:46 +0100 |
commit | a7bf068e8289f45d87777fb4acb55b15e9debcf8 (patch) | |
tree | 94d0f7d38bbdb89c9ccf155f34c54f91110db1e8 /src/northbridge | |
parent | 9d9a552ac53fb38c3f078ebd02645c5fa1b0959d (diff) | |
download | coreboot-a7bf068e8289f45d87777fb4acb55b15e9debcf8.tar.xz |
northbridge/intel/i5000: Convert 'for(;;)' to 'die'
Change-Id: I1ceea759a40d740503bde725ad6d72fab4aa7971
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/17006
Tested-by: build bot (Jenkins)
Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/northbridge')
-rw-r--r-- | src/northbridge/intel/i5000/raminit.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/northbridge/intel/i5000/raminit.c b/src/northbridge/intel/i5000/raminit.c index b8925b2c98..ffc2dc29c3 100644 --- a/src/northbridge/intel/i5000/raminit.c +++ b/src/northbridge/intel/i5000/raminit.c @@ -353,8 +353,7 @@ static int i5000_amb_smbus_write(struct i5000_fbdimm *d, int byte1, int byte2) printk(BIOS_ERR, "SMBus write failed: %d/%d/%d, byte1 %02x, byte2 %02x status %04x\n", d->branch->num, d->channel->num, d->num, byte1, byte2, status); - for (;;); - return -1; + die("Error: SMBus write failed"); } static int i5000_amb_smbus_read(struct i5000_fbdimm *d, int byte1, u8 *out) |