Convert CONFIG_SYS_NONCACHED_MEMORY to Kconfig
authorTom Rini <trini@konsulko.com>
Sat, 29 Oct 2022 00:27:10 +0000 (20:27 -0400)
committerTom Rini <trini@konsulko.com>
Thu, 10 Nov 2022 15:08:55 +0000 (10:08 -0500)
commit8c778f78340068cebf5484a9f69de1de5d4eb447
treedbe5b6dd7db245a93dd6eb3ba3243ed6b624fbc5
parent02f5a01441ecd356b73b491c99d635c67b2ba207
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 <twarren@nvidia.com>
Cc: Mingming lee <mingming.lee@mediatek.com>
Cc: "Ying-Chun Liu (PaulLiu)" <paul.liu@linaro.org>
Cc: Alban Bedel <alban.bedel@avionic-design.de>
Cc: Stephen Warren <swarren@nvidia.com>
Cc: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Cc: Allen Martin <amartin@nvidia.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
54 files changed:
README
arch/Kconfig
configs/apalis-tk1_defconfig
configs/apalis_t30_defconfig
configs/beaver_defconfig
configs/cardhu_defconfig
configs/cei-tk1-som_defconfig
configs/colibri_t20_defconfig
configs/colibri_t30_defconfig
configs/dalmore_defconfig
configs/harmony_defconfig
configs/imx8mp_rsb3720a1_4G_defconfig
configs/imx8mp_rsb3720a1_6G_defconfig
configs/jetson-tk1_defconfig
configs/medcom-wide_defconfig
configs/mt7621_nand_rfb_defconfig
configs/mt7621_rfb_defconfig
configs/mt7622_rfb_defconfig
configs/mt7623a_unielec_u7623_02_defconfig
configs/mt7623n_bpir2_defconfig
configs/mt7629_rfb_defconfig
configs/mt7981_emmc_rfb_defconfig
configs/mt7981_rfb_defconfig
configs/mt7981_sd_rfb_defconfig
configs/mt7986_rfb_defconfig
configs/mt7986a_bpir3_emmc_defconfig
configs/mt7986a_bpir3_sd_defconfig
configs/mt8512_bm1_emmc_defconfig
configs/mt8518_ap1_emmc_defconfig
configs/nyan-big_defconfig
configs/p2371-0000_defconfig
configs/p2371-2180_defconfig
configs/p2571_defconfig
configs/p2771-0000-000_defconfig
configs/p2771-0000-500_defconfig
configs/p3450-0000_defconfig
configs/paz00_defconfig
configs/plutux_defconfig
configs/seaboard_defconfig
configs/tec-ng_defconfig
configs/tec_defconfig
configs/trimslice_defconfig
configs/venice2_defconfig
configs/ventana_defconfig
include/configs/imx8mp_rsb3720.h
include/configs/mt7621.h
include/configs/mt7622.h
include/configs/mt7623.h
include/configs/mt7629.h
include/configs/mt7981.h
include/configs/mt7986.h
include/configs/mt8512.h
include/configs/mt8518.h
include/configs/tegra-common-post.h