u-boot/arch/mips
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
..
cpu mips: add __image_copy_len for SPL linker script 2022-07-13 23:03:37 +02:00
dts mips: octeon: mrvl, octeon-nic23.dts: Add ethernet DT support 2022-05-04 03:38:21 +02:00
include/asm mips: add support for noncached_alloc() 2022-07-13 23:03:37 +02:00
lib mips: add support for noncached_alloc() 2022-07-13 23:03:37 +02:00
mach-ath79 Convert CONFIG_USB_EHCI_IS_TDI to Kconfig 2021-10-15 09:42:22 -04:00
mach-bmips Finish converting CONFIG_SYS_CACHELINE_SIZE to Kconfig 2021-08-31 17:47:49 -04:00
mach-jz47xx WS cleanup: remove trailing empty lines 2021-09-30 08:08:56 -04:00
mach-mscc common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
mach-mtmips Migrate CUSTOM_SYS_INIT_SP_ADDR to Kconfig using system-constants.h 2022-06-06 12:09:19 -04:00
mach-octeon mips: octeon: cpu.c: Implement configure_lmtdma_window() 2022-05-04 03:38:21 +02:00
mach-pic32 event: Convert arch_cpu_init_dm() to use events 2022-03-10 08:28:36 -05:00
config.mk linker_lists: Rename sections to remove . prefix 2022-06-23 12:58:18 -04:00
Kconfig mips: Move endianness selection to arch/Kconfig 2022-06-24 14:14:59 +02:00
Makefile spl: Remove CONFIG_SPL_START_S_PATH and rework the logic behind it 2022-06-06 12:09:29 -04:00
Makefile.postlink SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00