summaryrefslogtreecommitdiff
path: root/include/configs/mx53_evk.h
diff options
context:
space:
mode:
authorTerry Lv <r65388@freescale.com>2010-03-18 18:43:28 +0800
committerTerry Lv <r65388@freescale.com>2010-03-19 11:16:53 +0800
commit8df54067b614e6debb4a4c4a89dd108c70b42e71 (patch)
treea7c5823b8b80081c2a8bb28192e3a765c6db8b32 /include/configs/mx53_evk.h
parent762d994929deb79569986bda8e4d7b56e06d14f0 (diff)
downloadu-boot-imx-8df54067b614e6debb4a4c4a89dd108c70b42e71.zip
u-boot-imx-8df54067b614e6debb4a4c4a89dd108c70b42e71.tar.gz
u-boot-imx-8df54067b614e6debb4a4c4a89dd108c70b42e71.tar.bz2
ENGR00121731: Add mmu, l1cache, l2cache support for mx53
Add mmu, l1cache, l2cache support for mx53. Signed-off-by: Terry Lv <r65388@freescale.com>
Diffstat (limited to 'include/configs/mx53_evk.h')
-rw-r--r--include/configs/mx53_evk.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/configs/mx53_evk.h b/include/configs/mx53_evk.h
index 010ac76..17650d8 100644
--- a/include/configs/mx53_evk.h
+++ b/include/configs/mx53_evk.h
@@ -36,6 +36,9 @@
#define CONFIG_SKIP_RELOCATE_UBOOT
+#define CONFIG_ARCH_CPU_INIT
+#define CONFIG_ARCH_MMU
+
#define CONFIG_MX53_HCLK_FREQ 24000000 /* RedBoot says 26MHz */
#define CONFIG_DISPLAY_CPUINFO
@@ -197,6 +200,8 @@
#define CONFIG_NR_DRAM_BANKS 1
#define PHYS_SDRAM_1 CSD0_BASE_ADDR
#define PHYS_SDRAM_1_SIZE (1024 * 1024 * 1024)
+#define iomem_valid_addr(addr, size) \
+ (addr >= PHYS_SDRAM_1 && addr <= (PHYS_SDRAM_1 + PHYS_SDRAM_1_SIZE))
/*-----------------------------------------------------------------------
* FLASH and environment organization