u-boot/arch/mips/lib
Weijie Gao 2948d9cf86 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>
2022-07-13 23:03:37 +02:00
..
ashldi3.c dm: mips: Import libgcc components from Linux 2012-08-17 20:13:48 +02:00
ashrdi3.c dm: mips: Import libgcc components from Linux 2012-08-17 20:13:48 +02:00
asm-offsets.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
boot.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
bootm.c lmb: Switch to generic arch_lmb_reserve_generic() 2021-09-23 14:15:32 -04:00
cache.c mips: add support for noncached_alloc() 2022-07-13 23:03:37 +02:00
cache_init.S mips: refactor disabling of caches 2020-07-18 14:23:25 +02:00
genex.S SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
libgcc.h dm: mips: Import libgcc components from Linux 2012-08-17 20:13:48 +02:00
lshrdi3.c dm: mips: Import libgcc components from Linux 2012-08-17 20:13:48 +02:00
Makefile mips: spl: Flush cache before jumping to U-Boot proper 2020-04-27 20:29:33 +02:00
reloc.c mips: reloc: Change R_MIPS_NONE to catch pre-reloc BSS usage 2020-07-18 14:23:25 +02:00
spl.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
stack.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
traps.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00