This patch adds support for noncached_alloc() which was only supported by ARM platform. Unlike the ARM platform, MMU is not used in u-boot for MIPS. Instead, KSEG is provided to access uncached memory. So most code of this patch is copied from cache.c of ARM platform, with only two differences: 1. MMU is untouched in noncached_set_region() 2. Address returned by noncached_alloc() is converted using KSEG1ADDR() Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> Signed-off-by: Weijie Gao <weijie.gao@mediatek.com> |
||
|---|---|---|
| .. | ||
| Makefile | ||
| ashldi3.c | ||
| ashrdi3.c | ||
| asm-offsets.c | ||
| boot.c | ||
| bootm.c | ||
| cache.c | ||
| cache_init.S | ||
| genex.S | ||
| libgcc.h | ||
| lshrdi3.c | ||
| reloc.c | ||
| spl.c | ||
| stack.c | ||
| traps.c | ||