summaryrefslogtreecommitdiff
path: root/board/freescale/mpc8569mds/ddr.c
diff options
context:
space:
mode:
authorHaiying Wang <Haiying.Wang@freescale.com>2010-09-29 13:31:35 -0400
committerKumar Gala <galak@kernel.crashing.org>2010-10-07 09:49:47 -0500
commit3aed55074211b4e886d97f16773f186a019d508d (patch)
treed2190f2ebb454371f411328097a44ddb0ddb58e2 /board/freescale/mpc8569mds/ddr.c
parent1b8e4fa1a093c818b53c8b6d959bcfde41fbe065 (diff)
mpc8569mds: fix consuming long time while relocating code.
The original code maps boot flash as non-cacheable region. When calling relocate_code in flash to copy u-boot from flash to ddr, every loop copy command is read from flash. The flash read speed will be the bottleneck, which consuming long time to do this operation. To resovle this, map the boot flash as write-through cache via tlb. And set tlb to remap the flash after code executing in ddr, to confirm flash erase operation properly done. Signed-off-by: Kai.Jiang <Kai.Jiang@freescale.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'board/freescale/mpc8569mds/ddr.c')
0 files changed, 0 insertions, 0 deletions