[ARM] 3581/1: AT91RM9200 Internal SRAM
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / include / asm-arm / arch-at91rm9200 / hardware.h
index 59e6f44d3a0db5ee9b9e3ba3f4c2a9283a00b691..87f40df57140aec86cc2898de32c9028c1750c3e 100644 (file)
 #define AT91_VA_BASE_TCB0      AT91_IO_P2V(AT91_BASE_TCB0)
 
 /* Internal SRAM */
-#define AT91_BASE_SRAM         0x00200000      /* Internal SRAM base address */
+#define AT91_SRAM_BASE         0x00200000      /* Internal SRAM base address */
 #define AT91_SRAM_SIZE         0x00004000      /* Internal SRAM SIZE (16Kb) */
 
+ /* Internal SRAM is mapped below the IO devices */
+#define AT91_SRAM_VIRT_BASE    (AT91_IO_VIRT_BASE - AT91_SRAM_SIZE)
+
 /* Serial ports */
 #define AT91_NR_UART           5               /* 4 USART3's and one DBGU port */