summaryrefslogtreecommitdiff
path: root/board/freescale
diff options
context:
space:
mode:
authorTerry Lv <r65388@freescale.com>2011-09-01 13:47:05 +0800
committerTerry Lv <r65388@freescale.com>2011-09-01 13:47:05 +0800
commit5eced774fcb9edebfa09558a81988de7b22588df (patch)
tree3925e6de923d814912cb9ef5f21766bc5f76cd03 /board/freescale
parent32429d7b461f8b6a96d7b0f2bb3e2b1270780091 (diff)
downloadu-boot-imx-5eced774fcb9edebfa09558a81988de7b22588df.zip
u-boot-imx-5eced774fcb9edebfa09558a81988de7b22588df.tar.gz
u-boot-imx-5eced774fcb9edebfa09558a81988de7b22588df.tar.bz2
ENGR00155739: mx53 evk mmu wrong mapped two csd slots
mx53 evk mmu wrong mapped two csd slots. Actually evk only has one slot. Signed-off-by: Terry Lv <r65388@freescale.com>
Diffstat (limited to 'board/freescale')
-rw-r--r--board/freescale/mx53_evk/mx53_evk.c14
1 files changed, 4 insertions, 10 deletions
diff --git a/board/freescale/mx53_evk/mx53_evk.c b/board/freescale/mx53_evk/mx53_evk.c
index 4193557..4129a0b 100644
--- a/board/freescale/mx53_evk/mx53_evk.c
+++ b/board/freescale/mx53_evk/mx53_evk.c
@@ -203,18 +203,12 @@ void board_mmu_init(void)
X_ARM_MMU_SECTION(0x400, 0x400, 0x300,
ARM_UNCACHEABLE, ARM_UNBUFFERABLE,
ARM_ACCESS_PERM_RW_RW); /* periperals */
- X_ARM_MMU_SECTION(0x700, 0x700, 0x200,
+ X_ARM_MMU_SECTION(0x700, 0x700, 0x400,
ARM_CACHEABLE, ARM_BUFFERABLE,
- ARM_ACCESS_PERM_RW_RW); /* CSD0 512M */
- X_ARM_MMU_SECTION(0x700, 0x900, 0x200,
+ ARM_ACCESS_PERM_RW_RW); /* CSD0 1G */
+ X_ARM_MMU_SECTION(0x700, 0xB00, 0x400,
ARM_UNCACHEABLE, ARM_UNBUFFERABLE,
- ARM_ACCESS_PERM_RW_RW); /* CSD0 512M */
- X_ARM_MMU_SECTION(0xB00, 0xB00, 0x200,
- ARM_CACHEABLE, ARM_BUFFERABLE,
- ARM_ACCESS_PERM_RW_RW); /* CSD0 512M */
- X_ARM_MMU_SECTION(0xB00, 0xD00, 0x200,
- ARM_UNCACHEABLE, ARM_UNBUFFERABLE,
- ARM_ACCESS_PERM_RW_RW); /* CSD0 512M */
+ ARM_ACCESS_PERM_RW_RW); /* CSD0 1G */
X_ARM_MMU_SECTION(0xF00, 0xF00, 0x07F,
ARM_UNCACHEABLE, ARM_UNBUFFERABLE,
ARM_ACCESS_PERM_RW_RW); /* CS1 EIM control*/