diff options
author | pbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162> | 2009-04-11 17:24:39 +0000 |
---|---|---|
committer | pbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162> | 2009-04-11 17:24:39 +0000 |
commit | b68d14fa78261f46b9bbfe280dc66e6b8b669205 (patch) | |
tree | b8246516020c87e2ec97b5140706d749e70d3e8d /hw/mainstone.c | |
parent | c2877c8833ee59236884918abb83f9e484feca4d (diff) | |
download | qemu-b68d14fa78261f46b9bbfe280dc66e6b8b669205.tar.gz qemu-b68d14fa78261f46b9bbfe280dc66e6b8b669205.tar.bz2 qemu-b68d14fa78261f46b9bbfe280dc66e6b8b669205.zip |
Remove more redundant ram size checks.
Signed-off-by: Paul Brook <paul@codesourcery.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7089 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/mainstone.c')
-rw-r--r-- | hw/mainstone.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/hw/mainstone.c b/hw/mainstone.c index 5f4cc91f4c..e5bca4af9b 100644 --- a/hw/mainstone.c +++ b/hw/mainstone.c @@ -83,14 +83,6 @@ static void mainstone_common_init(ram_addr_t ram_size, int vga_ram_size, cpu_model = "pxa270-c5"; /* Setup CPU & memory */ - if (ram_size < MAINSTONE_RAM + MAINSTONE_ROM + 2 * MAINSTONE_FLASH + - PXA2XX_INTERNAL_SIZE) { - fprintf(stderr, "This platform requires %i bytes of memory\n", - MAINSTONE_RAM + MAINSTONE_ROM + 2 * MAINSTONE_FLASH + - PXA2XX_INTERNAL_SIZE); - exit(1); - } - cpu = pxa270_init(mainstone_binfo.ram_size, cpu_model); cpu_register_physical_memory(0, MAINSTONE_ROM, qemu_ram_alloc(MAINSTONE_ROM) | IO_MEM_ROM); |