From a1cf4ced837327c718061feedf96d512328f5cc8 Mon Sep 17 00:00:00 2001 From: Frank Gevaerts Date: Tue, 31 Aug 2010 19:06:04 +0000 Subject: Unify 32mb and 64mb ipod video builds - FS#11580 Since memory on 32mb ipod videos is mapped twice, a 64mb build still has codecs and plugins mapped in a usable area. This means that all that needs to be done to support 32mb and 64mb boards with the same build is to adjust audiobufend to avoid using more than the actually present RAM. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27960 a1c6a512-1295-4272-9138-f99709370657 --- firmware/target/arm/ipod/app.lds | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'firmware/target') diff --git a/firmware/target/arm/ipod/app.lds b/firmware/target/arm/ipod/app.lds index ec26fdbe38..f8e6906a4c 100644 --- a/firmware/target/arm/ipod/app.lds +++ b/firmware/target/arm/ipod/app.lds @@ -192,7 +192,11 @@ SECTIONS .audiobufend ENDAUDIOADDR (NOLOAD) : { +#ifdef IPOD_VIDEO + audiobufend_lds = .; +#else audiobufend = .; +#endif _audiobufend = .; } > DRAM -- cgit v1.2.3