aboutsummaryrefslogtreecommitdiff
path: root/arch/mips/mach-mtmips/mt7621/init.c
diff options
context:
space:
mode:
authorWeijie Gao <weijie.gao@mediatek.com>2022-05-20 11:21:51 +0800
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>2022-07-13 23:03:37 +0200
commit2948d9cf8637e49e2a172b8936a9f5a3a04bca13 (patch)
tree97fbd9e601648c5cb162a9545e7c29fd99e73d61 /arch/mips/mach-mtmips/mt7621/init.c
parent9a3bbb0eba51cc6abd11354a52fdff709756a7c2 (diff)
mips: add support for noncached_alloc()
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>
Diffstat (limited to 'arch/mips/mach-mtmips/mt7621/init.c')
0 files changed, 0 insertions, 0 deletions