summaryrefslogtreecommitdiffstats
path: root/arch/arm/boards/eukrea_cpuimx51
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2011-07-29 11:20:11 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2011-08-03 09:11:10 +0200
commit3100ea14668853aeedae85ec83e3536b59ba7728 (patch)
tree0fa218f88a470a9948eec79aa9aa0d65017d5c16 /arch/arm/boards/eukrea_cpuimx51
parentf9f35ee93821048bbace895c5c688bafbda2c3f3 (diff)
downloadbarebox-3100ea14668853aeedae85ec83e3536b59ba7728.tar.gz
barebox-3100ea14668853aeedae85ec83e3536b59ba7728.tar.xz
ARM: rework MMU support
In barebox we used 1MiB sections to map our SDRAM cachable. This has the drawback that we have to map our sdram twice: cached for normal sdram and uncached for DMA operations. As address space gets sparse on newer systems we are sometines unable to find a suitably big enough area for the dma coherent space. This patch changes the MMU code to use second level page tables. With it we can implement dma_alloc_coherent as normal malloc, we just have to remap the allocated area uncached afterwards and map it cached again after free(). This makes arm_create_section(), setup_dma_coherent() and mmu_enable() noops. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/boards/eukrea_cpuimx51')
0 files changed, 0 insertions, 0 deletions