Define CACHEALIGN_BITS for missing ARM CPUs for later use.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28619 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Andree Buschmann 2010-11-19 07:17:20 +00:00
parent 1abc5b8ea8
commit 90a5a8a068
4 changed files with 6 additions and 1 deletions

View file

@ -26,6 +26,8 @@
/* insert differences here */
#define CACHEALIGN_BITS (5)
#ifndef IRAM_SIZE /* protect in case the define name changes */
# error IRAM_SIZE not defined !
#endif

View file

@ -38,7 +38,6 @@
#define FRAME ((void *)(FRAME_PHYS_ADDR+0x100000-CSD0_BASE_ADDR))
#define CACHEALIGN_BITS 5
#define CACHEALIGN_SIZE 32
#define NOCACHE_BASE CSD0_BASE_ADDR
/* USBOTG */

View file

@ -21,6 +21,8 @@
#ifndef __TCC77X_H__
#define __TCC77X_H__
#define CACHEALIGN_BITS (5)
/* General-purpose IO */
#define GPIOA (*(volatile unsigned long *)0x80000300)

View file

@ -21,6 +21,8 @@
#ifndef __TCC780X_H__
#define __TCC780X_H__
#define CACHEALIGN_BITS (5)
#define TTB_SIZE (0x4000)
/* must be 16Kb (0x4000) aligned */
#define TTB_BASE_ADDR (0x20000000 + (MEMORYSIZE*1024*1024) - TTB_SIZE)