mips_malta: resolve endless loop when loading bios
Tested-by: Stefan Weil <sw@weilnetz.de> Signed-off-by: Chen Rui <chennrui@gmail.com>
This commit is contained in:
parent
69ddaf6659
commit
a30cfee5ee
|
@ -911,6 +911,7 @@ void mips_malta_init (ram_addr_t ram_size,
|
||||||
uint32_t *end = addr + bios_size;
|
uint32_t *end = addr + bios_size;
|
||||||
while (addr < end) {
|
while (addr < end) {
|
||||||
bswap32s(addr);
|
bswap32s(addr);
|
||||||
|
addr++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue