aboutsummaryrefslogtreecommitdiff
path: root/hw/spitz.c
diff options
context:
space:
mode:
authorpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2009-04-11 17:24:39 +0000
committerpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2009-04-11 17:24:39 +0000
commita0b753dfd3920df146a5f4d05e442e3c522900c7 (patch)
treeb8246516020c87e2ec97b5140706d749e70d3e8d /hw/spitz.c
parent94a6b54fd6d2d3321066cb4db7abeeb417af9365 (diff)
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/spitz.c')
-rw-r--r--hw/spitz.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/hw/spitz.c b/hw/spitz.c
index 6a15c78192..852d9b9675 100644
--- a/hw/spitz.c
+++ b/hw/spitz.c
@@ -919,11 +919,6 @@ static void spitz_common_init(ram_addr_t ram_size, int vga_ram_size,
cpu_model = (model == terrier) ? "pxa270-c5" : "pxa270-c0";
/* Setup CPU & memory */
- if (ram_size < SPITZ_RAM + SPITZ_ROM + PXA2XX_INTERNAL_SIZE) {
- fprintf(stderr, "This platform requires %i bytes of memory\n",
- SPITZ_RAM + SPITZ_ROM + PXA2XX_INTERNAL_SIZE);
- exit(1);
- }
cpu = pxa270_init(spitz_binfo.ram_size, cpu_model);
sl_flash_register(cpu, (model == spitz) ? FLASH_128M : FLASH_1024M);