diff options
Diffstat (limited to 'include/configs/mx51_bbg.h')
-rw-r--r-- | include/configs/mx51_bbg.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/configs/mx51_bbg.h b/include/configs/mx51_bbg.h index b2961a2..c17c82c 100644 --- a/include/configs/mx51_bbg.h +++ b/include/configs/mx51_bbg.h @@ -209,9 +209,9 @@ */ #define CONFIG_NR_DRAM_BANKS 1 #define PHYS_SDRAM_1 CSD0_BASE_ADDR -/* TO1 boards */ -/* #define PHYS_SDRAM_1_SIZE (128 * 1024 * 1024) */ #define PHYS_SDRAM_1_SIZE (512 * 1024 * 1024) +#define iomem_valid_addr(addr, size) \ + (addr >= PHYS_SDRAM_1 && addr <= (PHYS_SDRAM_1 + PHYS_SDRAM_1_SIZE)) /*----------------------------------------------------------------------- * FLASH and environment organization |