TX51 pre-release
[karo-tx-redboot.git] / packages / hal / arm / mx25 / karo / v1_0 / include / pkgconf / mlt_arm_tx25_romram.h
index 664f5b6..24a15a9 100644 (file)
 #define SDRAM_BASE_ADDR                        CSD0_BASE_ADDR
 #define SDRAM_SIZE                             CYGNUM_HAL_ARM_TX25_SDRAM_SIZE
 
+#define SZ_32M                                 0x02000000
+#define RAM_BANK0_BASE                 CSD0_BASE_ADDR
+#define RAM_BANK1_BASE                 CSD1_BASE_ADDR
+#if SDRAM_SIZE > SZ_32M
+#define RAM_BANK0_SIZE                 (SDRAM_SIZE / 2)
+#define RAM_BANK1_SIZE                 (SDRAM_SIZE / 2)
+#else
+#define RAM_BANK0_SIZE                 SDRAM_SIZE
+#endif
+#define TX25_SDRAM_SIZE                        SDRAM_SIZE
+
 #define REDBOOT_IMAGE_SIZE             0x00040000
 
 #ifndef REDBOOT_BOTTOM