summaryrefslogtreecommitdiffstats
path: root/hw/nseries.c
diff options
context:
space:
mode:
authorpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2009-04-11 17:01:42 +0000
committerpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2009-04-11 17:01:42 +0000
commitb0457b69209fca3fb40a85bd54d7f27eb4bad7e7 (patch)
tree0d4ac28a60ac1570b718877a83638321d1af8223 /hw/nseries.c
parent520860ef61705ef8bedb146285d067c1f8b7aabe (diff)
downloadhqemu-b0457b69209fca3fb40a85bd54d7f27eb4bad7e7.zip
hqemu-b0457b69209fca3fb40a85bd54d7f27eb4bad7e7.tar.gz
Fix/remove bogus ram size checks.
Signed-off-by: Paul Brook <paul@codesourcery.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7087 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/nseries.c')
-rw-r--r--hw/nseries.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/hw/nseries.c b/hw/nseries.c
index b40004f..17bcac6 100644
--- a/hw/nseries.c
+++ b/hw/nseries.c
@@ -1272,15 +1272,8 @@ static void n8x0_init(ram_addr_t ram_size, const char *boot_device,
{
struct n800_s *s = (struct n800_s *) qemu_mallocz(sizeof(*s));
int sdram_size = binfo->ram_size;
- int onenandram_size = 0x00010000;
DisplayState *ds;
- if (ram_size < sdram_size + onenandram_size + OMAP242X_SRAM_SIZE) {
- fprintf(stderr, "This architecture uses %i bytes of memory\n",
- sdram_size + onenandram_size + OMAP242X_SRAM_SIZE);
- exit(1);
- }
-
s->cpu = omap2420_mpu_init(sdram_size, cpu_model);
/* Setup peripherals
OpenPOWER on IntegriCloud