#include <asm/cputype.h>
#include <asm/mach/map.h>
#include <mach/memory.h>
-#ifdef CONFIG_ARCH_RK2818
-#include <mach/rk2818_iomap.h>
-#endif
#include "tcm.h"
/* Scream and warn about misuse */
static struct map_desc dtcm_iomap[] __initdata = {
{
.virtual = DTCM_OFFSET,
-#ifdef CONFIG_ARCH_RK2818
- .pfn = __phys_to_pfn(RK2818_SRAM_PHYS),
-#else
.pfn = __phys_to_pfn(DTCM_OFFSET),
-#endif
.length = (DTCM_END - DTCM_OFFSET + 1),
.type = MT_UNCACHED
}
#define ITCM_OFFSET 0xff400000
#define ITCM_END 0xff401fff
#define DTCM_OFFSET 0xff404000
-#define DTCM_END 0xff404fff // use sram for dtcm,sram length = 4K.
-/* #define DTCM_END 0xff407fff */
+#define DTCM_END 0xff407fff
#endif