From 8c778f78340068cebf5484a9f69de1de5d4eb447 Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Fri, 28 Oct 2022 20:27:10 -0400 Subject: Convert CONFIG_SYS_NONCACHED_MEMORY to Kconfig This converts the following to Kconfig: CONFIG_SYS_NONCACHED_MEMORY To do this we introduce CONFIG_SYS_HAS_NONCACHED_MEMORY as a bool to gate if we are going to have noncached_... functions available and then continue to use CONFIG_SYS_NONCACHED_MEMORY to store the size of said cache. We make this new option depend on both the architectures which implement support and the drivers which make use of it. Cc: Tom Warren Cc: Mingming lee Cc: "Ying-Chun Liu (PaulLiu)" Cc: Alban Bedel Cc: Stephen Warren Cc: Marcel Ziswiler Cc: Allen Martin Signed-off-by: Tom Rini Reviewed-by: Simon Glass --- configs/mt7986_rfb_defconfig | 1 + 1 file changed, 1 insertion(+) (limited to 'configs/mt7986_rfb_defconfig') diff --git a/configs/mt7986_rfb_defconfig b/configs/mt7986_rfb_defconfig index e3ded766e41..1363f9dc6d0 100644 --- a/configs/mt7986_rfb_defconfig +++ b/configs/mt7986_rfb_defconfig @@ -1,4 +1,5 @@ CONFIG_ARM=y +CONFIG_SYS_HAS_NONCACHED_MEMORY=y CONFIG_POSITION_INDEPENDENT=y CONFIG_ARCH_MEDIATEK=y CONFIG_TEXT_BASE=0x41e00000 -- cgit v1.2.3