aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorAndreas Färber <andreas.faerber@web.de>2011-01-18 22:43:55 +0100
committerAurelien Jarno <aurelien@aurel32.net>2011-01-29 16:02:38 +0100
commit74145374bfc0b7b02415184606236f0390479deb (patch)
tree346aa703e4800b7c54e2d7dfddf4203dbb3da3c3 /hw
parent51e08f3e4b8a3b6d27fde9a9e75c8fa32eaa72d0 (diff)
prep: Remove bogus BIOS size check
r3480 added this check to account for the entry vector 0xfff00100 to be available for CPUs that need it. Today however, the NIP is not yet initialized at this point (zero), so the check always triggers. Moreover, BIOS size check is already done previously, so this part can be removed too. Cc: Alexander Graf <agraf@suse.de> Signed-off-by: Andreas Färber <andreas.faerber@web.de> Signed-off-by: Hervé Poussineau <hpoussin@reactos.org> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'hw')
-rw-r--r--hw/ppc_prep.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/hw/ppc_prep.c b/hw/ppc_prep.c
index 1492266267..6b221221c2 100644
--- a/hw/ppc_prep.c
+++ b/hw/ppc_prep.c
@@ -600,9 +600,6 @@ static void ppc_prep_init (ram_addr_t ram_size,
if (filename) {
qemu_free(filename);
}
- if (env->nip < 0xFFF80000 && bios_size < 0x00100000) {
- hw_error("PowerPC 601 / 620 / 970 need a 1MB BIOS\n");
- }
if (linux_boot) {
kernel_base = KERNEL_LOAD_ADDR;