diff options
author | Rafaël Carré <rafael.carre@gmail.com> | 2010-07-16 00:05:52 +0000 |
---|---|---|
committer | Rafaël Carré <rafael.carre@gmail.com> | 2010-07-16 00:05:52 +0000 |
commit | 765c4f1a97a0fbe080e1d6c9f8c253bfb0f1b46a (patch) | |
tree | 5e259cf7316df460f5dea8a2f4ac1d382e2c7c73 /rbutil | |
parent | f5c79105a4087362f2b95ecbc359ccecbf4910c9 (diff) | |
download | rockbox-765c4f1a97a0fbe080e1d6c9f8c253bfb0f1b46a.tar.gz rockbox-765c4f1a97a0fbe080e1d6c9f8c253bfb0f1b46a.zip |
mkamsboot: update outdated comment
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27442 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil')
-rw-r--r-- | rbutil/mkamsboot/mkamsboot.c | 11 |
1 files 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[] = { | |||
247 | 247 | ||
248 | static unsigned int model_memory_size(int model) | 248 | static unsigned int model_memory_size(int model) |
249 | { | 249 | { |
250 | /* The OF boots with IRAM (320kB) mapped at 0x0 */ | ||
251 | |||
250 | if(model == MODEL_CLIPV2) | 252 | if(model == MODEL_CLIPV2) |
251 | { | 253 | { |
252 | /* The decompressed Clipv2 OF is around 380kB. | 254 | /* The decompressed Clipv2 OF is around 380kB. |
253 | * Since it doesn't fit in the 0x50000 bytes IRAM, the OF starts | 255 | * Let's use the full IRAM (1MB on AMSv2) |
254 | * with DRAM mapped at 0x0 | ||
255 | * | ||
256 | * We could use all the available memory (supposedly 8MB) | ||
257 | * but 1MB ought to be enough for our use | ||
258 | */ | 256 | */ |
259 | return 1 << 20; | 257 | return 1 << 20; |
260 | } | 258 | } |
261 | else | 259 | else |
262 | { /* The OF boots with IRAM (320kB) mapped at 0x0 */ | 260 | { |
261 | /* The IRAM is 320kB on AMSv1, and 320 will be enough on Fuzev1/Clip+ */ | ||
263 | return 320 << 10; | 262 | return 320 << 10; |
264 | } | 263 | } |
265 | } | 264 | } |