diff options
author | Torne Wuff <torne@wolfpuppy.org.uk> | 2010-08-29 13:20:16 +0000 |
---|---|---|
committer | Torne Wuff <torne@wolfpuppy.org.uk> | 2010-08-29 13:20:16 +0000 |
commit | 8aa175bc1fd303bccd491fc92689f29bdf439094 (patch) | |
tree | 6e907019503dcd5ae01de1c0ae796c7b704e8a41 /firmware/target/arm/system-target.h | |
parent | 47c510b9dcb0580d9db6199696d0d81ce680b999 (diff) | |
download | rockbox-8aa175bc1fd303bccd491fc92689f29bdf439094.tar.gz rockbox-8aa175bc1fd303bccd491fc92689f29bdf439094.zip |
ipodvideo: detect ram size at boot (doesn't actually get USED yet)
This is the first step to allowing a single build which will work on any ipodvideo.
A global variable, probed_ramsize, is initialised to either 32 or 64 early in boot.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27937 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/system-target.h')
-rw-r--r-- | firmware/target/arm/system-target.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/target/arm/system-target.h b/firmware/target/arm/system-target.h index 5d20c397f8..c7503d7bcb 100644 --- a/firmware/target/arm/system-target.h +++ b/firmware/target/arm/system-target.h | |||
@@ -172,6 +172,10 @@ static inline void wake_core(int core) | |||
172 | #define HAVE_CPUCACHE_FLUSH | 172 | #define HAVE_CPUCACHE_FLUSH |
173 | #endif | 173 | #endif |
174 | 174 | ||
175 | #if defined(IPOD_VIDEO) && !defined(BOOTLOADER) | ||
176 | extern unsigned char probed_ramsize; | ||
177 | #endif | ||
178 | |||
175 | #endif /* CPU_PP */ | 179 | #endif /* CPU_PP */ |
176 | 180 | ||
177 | #endif /* SYSTEM_TARGET_H */ | 181 | #endif /* SYSTEM_TARGET_H */ |