unified MX27, MX25, MX37 trees
[karo-tx-redboot.git] / packages / hal / arm / mx37 / karo / v1_0 / include / pkgconf / mlt_arm_tx37_romram.h
1 // eCos memory layout - Fri Oct 20 05:56:55 2000
2
3 // This is a generated file - do not edit
4 #include <pkgconf/system.h>
5 #include CYGBLD_HAL_VARIANT_H
6 #include CYGBLD_HAL_PLATFORM_H
7 #include <cyg/hal/hal_soc.h>            // Hardware definitions
8
9 #define SDRAM_BASE_ADDR                 CSD0_BASE_ADDR
10 #define SDRAM_SIZE                              CYGNUM_HAL_ARM_TX37_SDRAM_SIZE
11
12 #define REDBOOT_IMAGE_SIZE              0x00040000
13
14 #ifndef REDBOOT_BOTTOM
15 #define REDBOOT_OFFSET                  REDBOOT_IMAGE_SIZE
16 #define CYGMEM_REGION_ram               SDRAM_BASE_ADDR
17 #define CYGMEM_REGION_rom               (CYGMEM_REGION_ram + CYGMEM_REGION_ram_SIZE)
18 #else
19 #define REDBOOT_OFFSET                  0x00100000
20 #define CYGMEM_REGION_ram               (SDRAM_BASE_ADDR + REDBOOT_OFFSET)
21 #define CYGMEM_REGION_rom               SDRAM_BASE_ADDR
22 #endif
23
24 #define CYGMEM_REGION_ram_SIZE  (SDRAM_SIZE - REDBOOT_OFFSET)
25 #define CYGMEM_REGION_ram_ATTR  (CYGMEM_REGION_ATTR_R | CYGMEM_REGION_ATTR_W)
26
27 #define CYGMEM_REGION_rom_SIZE  REDBOOT_OFFSET
28 #define CYGMEM_REGION_rom_ATTR  CYGMEM_REGION_ATTR_R
29 #ifndef __ASSEMBLER__
30 extern char CYG_LABEL_NAME(__heap1)[];
31 #endif
32 #define CYGMEM_SECTION_heap1    (CYG_LABEL_NAME(__heap1))
33 #define CYGMEM_SECTION_heap1_SIZE (CYGMEM_REGION_rom - (size_t)CYG_LABEL_NAME(__heap1))