summaryrefslogtreecommitdiff
path: root/include/asm-arm/arch-mx53
diff options
context:
space:
mode:
authorLily Zhang <r58066@freescale.com>2010-12-30 20:19:40 +0800
committerLily Zhang <r58066@freescale.com>2010-12-30 21:01:50 +0800
commit7c1313ce24e98332119882646762f4af53695abd (patch)
tree8836a666f7d0501a011b59f94a8d4f433510af45 /include/asm-arm/arch-mx53
parentf432474ef671b923f3e03a6af8285ba0e3f5bf33 (diff)
downloadu-boot-imx-7c1313ce24e98332119882646762f4af53695abd.zip
u-boot-imx-7c1313ce24e98332119882646762f4af53695abd.tar.gz
u-boot-imx-7c1313ce24e98332119882646762f4af53695abd.tar.bz2
ENGR00137497-2 MX53: Add LOCO board support
Add MX53 LOCO board support The following functions are tested in the board: - Micro SD boot - MMC/SD read/write. - clk command - fuse command Signed-off-by: Lily Zhang <r58066@freescale.com>
Diffstat (limited to 'include/asm-arm/arch-mx53')
-rw-r--r--include/asm-arm/arch-mx53/mmu.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-arm/arch-mx53/mmu.h b/include/asm-arm/arch-mx53/mmu.h
index 88712c1..32ef86c 100644
--- a/include/asm-arm/arch-mx53/mmu.h
+++ b/include/asm-arm/arch-mx53/mmu.h
@@ -140,7 +140,7 @@ union ARM_MMU_FIRST_LEVEL_DESCRIPTOR {
*/
inline unsigned long iomem_to_phys(unsigned long virt)
{
-#if defined(CONFIG_MX53_SMD)
+#if defined(CONFIG_MX53_SMD) || defined(CONFIG_MX53_LOCO)
if (virt >= 0x90000000 && virt <= 0xafffffff)
return (unsigned long)((virt - 0x90000000) + PHYS_SDRAM_1);
if (virt >= 0xD0000000 && virt <= 0xEfffffff)
@@ -160,7 +160,7 @@ inline unsigned long iomem_to_phys(unsigned long virt)
void *__ioremap(unsigned long offset, size_t size, unsigned long flags)
{
if (1 == flags) {
-#if defined(CONFIG_MX53_SMD)
+#if defined(CONFIG_MX53_SMD) || defined(CONFIG_MX53_LOCO)
if (offset >= PHYS_SDRAM_1 &&
offset < (unsigned long)(PHYS_SDRAM_1 + PHYS_SDRAM_1_SIZE))
return (void *)((offset - PHYS_SDRAM_1) + 0x90000000);