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>
This commit is contained in:
Elyes HAOUAS 2016-10-12 19:57:38 +02:00 committed by Martin Roth
parent 9d9a552ac5
commit a7bf068e82
1 changed files with 1 additions and 2 deletions

View File

@ -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)