diff options
author | Tom Rini <trini@konsulko.com> | 2022-10-29 03:27:10 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-11-10 18:08:55 +0300 |
commit | 8c778f78340068cebf5484a9f69de1de5d4eb447 (patch) | |
tree | dbe5b6dd7db245a93dd6eb3ba3243ed6b624fbc5 /include/configs/mt8512.h | |
parent | 02f5a01441ecd356b73b491c99d635c67b2ba207 (diff) | |
download | u-boot-8c778f78340068cebf5484a9f69de1de5d4eb447.tar.xz |
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>
Diffstat (limited to 'include/configs/mt8512.h')
-rw-r--r-- | include/configs/mt8512.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/configs/mt8512.h b/include/configs/mt8512.h index 5ff5541c50..d15941660a 100644 --- a/include/configs/mt8512.h +++ b/include/configs/mt8512.h @@ -9,10 +9,6 @@ #ifndef __MT8512_H #define __MT8512_H -#include <linux/sizes.h> - -#define CONFIG_SYS_NONCACHED_MEMORY SZ_1M - /* Uboot definition */ #define CONFIG_SYS_UBOOT_START CONFIG_TEXT_BASE |