From 8aa175bc1fd303bccd491fc92689f29bdf439094 Mon Sep 17 00:00:00 2001 From: Torne Wuff Date: Sun, 29 Aug 2010 13:20:16 +0000 Subject: 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 --- firmware/target/arm/system-target.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'firmware/target/arm/system-target.h') 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) #define HAVE_CPUCACHE_FLUSH #endif +#if defined(IPOD_VIDEO) && !defined(BOOTLOADER) +extern unsigned char probed_ramsize; +#endif + #endif /* CPU_PP */ #endif /* SYSTEM_TARGET_H */ -- cgit v1.2.3