forked from len0rd/rockbox
This is a big chunk of code necessary to prepare for Gigabeat F flash loading and and implementation of rolo. There should be no noticible changes for the user. A new bootloader is not needed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17213 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
68afa9dc34
commit
7510335fc4
8 changed files with 563 additions and 349 deletions
|
@ -30,12 +30,9 @@ OUTPUT_FORMAT(elf32-sh)
|
|||
#define NOCACHE_BASE 0x00000000
|
||||
#endif
|
||||
|
||||
#if CONFIG_CPU==S3C2440
|
||||
#include "s3c2440.h"
|
||||
#define DRAMSIZE (MEMORYSIZE * 0x100000) - 0x100 - PLUGIN_BUFFER_SIZE - STUBOFFSET - CODEC_SIZE - LCD_BUFFER_SIZE - TTB_SIZE
|
||||
#elif CONFIG_CPU==DM320
|
||||
#include "dm320.h"
|
||||
#define DRAMSIZE (MEMORYSIZE * 0x100000) - PLUGIN_BUFFER_SIZE - STUBOFFSET - CODEC_SIZE - LCD_BUFFER_SIZE - TTB_SIZE
|
||||
#if CONFIG_CPU==DM320 || CONFIG_CPU==S3C2440
|
||||
#include "cpu.h"
|
||||
#define DRAMSIZE (MEMORYSIZE * 0x100000) - STUBOFFSET - PLUGIN_BUFFER_SIZE - CODEC_SIZE - LCD_BUFFER_SIZE - TTB_SIZE
|
||||
#elif CONFIG_CPU==IMX31L
|
||||
#include "imx31l.h"
|
||||
/* Reserve 1mb for LCD buffer/TTB as in app.lds */
|
||||
|
@ -65,7 +62,7 @@ OUTPUT_FORMAT(elf32-sh)
|
|||
#define IRAMORIG 0x407000
|
||||
#define IRAMSIZE 0x9000
|
||||
#elif CONFIG_CPU == S3C2440
|
||||
#define DRAMORIG 0x100 + STUBOFFSET
|
||||
#define DRAMORIG 0x0 + STUBOFFSET
|
||||
#define IRAMORIG DRAMORIG
|
||||
#define IRAMSIZE 4K
|
||||
#define IRAM DRAM
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue