]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - arch/arm/include/asm/memory.h
ARM: 6225/1: make TCM allocation static and common for all archs
[net-next-2.6.git] / arch / arm / include / asm / memory.h
index 4312ee5e3d0b6d97b83f0655435c7514d43da671..ab08d977ad490399e976d81cab30477963cfca9d 100644 (file)
 
 #endif /* !CONFIG_MMU */
 
+/*
+ * We fix the TCM memories max 32 KiB ITCM resp DTCM at these
+ * locations
+ */
+#ifdef CONFIG_HAVE_TCM
+#define ITCM_OFFSET    UL(0xfffe0000)
+#define DTCM_OFFSET    UL(0xfffe8000)
+#endif
+
 /*
  * Physical vs virtual RAM address space conversion.  These are
  * private definitions which should NOT be used outside memory.h