From 765c4f1a97a0fbe080e1d6c9f8c253bfb0f1b46a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C3=ABl=20Carr=C3=A9?= Date: Fri, 16 Jul 2010 00:05:52 +0000 Subject: [PATCH] mkamsboot: update outdated comment git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27442 a1c6a512-1295-4272-9138-f99709370657 --- rbutil/mkamsboot/mkamsboot.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/rbutil/mkamsboot/mkamsboot.c b/rbutil/mkamsboot/mkamsboot.c index ae475ed899..74275279a1 100644 --- a/rbutil/mkamsboot/mkamsboot.c +++ b/rbutil/mkamsboot/mkamsboot.c @@ -247,19 +247,18 @@ static struct md5sums sansasums[] = { static unsigned int model_memory_size(int model) { + /* The OF boots with IRAM (320kB) mapped at 0x0 */ + if(model == MODEL_CLIPV2) { /* The decompressed Clipv2 OF is around 380kB. - * Since it doesn't fit in the 0x50000 bytes IRAM, the OF starts - * with DRAM mapped at 0x0 - * - * We could use all the available memory (supposedly 8MB) - * but 1MB ought to be enough for our use + * Let's use the full IRAM (1MB on AMSv2) */ return 1 << 20; } else - { /* The OF boots with IRAM (320kB) mapped at 0x0 */ + { + /* The IRAM is 320kB on AMSv1, and 320 will be enough on Fuzev1/Clip+ */ return 320 << 10; } }