1
0
Fork 0
forked from len0rd/rockbox

Fix red bootloader builds. * Fix non-working PP5022 bootloaders. Also define correct IRAM size for PP5022/PP5024 bootloaders.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14015 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jens Arnold 2007-07-26 21:51:44 +00:00
parent 31848ac8bd
commit 3deb27053a
4 changed files with 15 additions and 2 deletions

View file

@ -43,10 +43,10 @@ INPUT(target/sh/crt0.o)
#define IRAMSIZE 0x18000
#define FLASHORIG 0x001f0000
#define FLASHSIZE 2M
#elif CONFIG_CPU == PP5024
#elif (CONFIG_CPU == PP5022) || (CONFIG_CPU == PP5024)
#define DRAMORIG 0x10000000
#define IRAMORIG 0x40000000
#define IRAMSIZE 0x18000
#define IRAMSIZE 0x20000
#define FLASHORIG 0x001f0000
#define FLASHSIZE 2M
#elif CONFIG_CPU == S3C2440

View file

@ -252,6 +252,11 @@
#define CONFIG_TUNER_MULTI
#endif
#if defined(BOOTLOADER) && defined(HAVE_ADJUSTABLE_CPU_FREQ)
/* Bootloaders don't use CPU frequency adjustment */
#undef HAVE_ADJUSTABLE_CPU_FREQ
#endif
/* Enable the directory cache and tagcache in RAM if we have
* plenty of RAM. Both features can be enabled independently. */
#if ((defined(MEMORYSIZE) && (MEMORYSIZE > 8)) || MEM > 8) && \

View file

@ -24,6 +24,8 @@
#include "timer.h"
#include "pcf50606.h"
#ifdef HAVE_ADJUSTABLE_CPU_FREQ
/* Settings for all possible clock frequencies (with properly working timers)
*
* xxx_REFRESH_TIMER below
@ -113,3 +115,5 @@ void set_cpu_frequency(long frequency)
break;
}
}
#endif /* HAVE_ADJUSTABLE_CPU_FREQ */

View file

@ -24,6 +24,8 @@
#include "timer.h"
#include "pcf50606.h"
#ifdef HAVE_ADJUSTABLE_CPU_FREQ
/* Settings for all possible clock frequencies (with properly working timers)
* NOTE: Some 5249 chips don't like having PLLDIV set to 0. We must avoid that!
*
@ -155,3 +157,5 @@ void set_cpu_frequency(long frequency)
break;
}
}
#endif /* HAVE_ADJUSTABLE_CPU_FREQ */