diff options
author | Tom Rini <trini@konsulko.com> | 2021-12-17 18:08:41 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-12-27 16:20:19 -0500 |
commit | 855e76b5cb315b227655ad83ca3c019d487ea234 (patch) | |
tree | 8528bf2ece5a8a8b9f611599039306f7e772922a | |
parent | 3aca2b6bd7aa87bea7b1a24b19f460c25f003a8b (diff) | |
download | u-boot-855e76b5cb315b227655ad83ca3c019d487ea234.tar.gz |
Convert CONFIG_CPU_SH7751 to Kconfig
This converts the following to Kconfig:
CONFIG_CPU_SH7751
Signed-off-by: Tom Rini <trini@konsulko.com>
-rw-r--r-- | arch/sh/Kconfig | 6 | ||||
-rw-r--r-- | include/configs/r2dplus.h | 1 | ||||
-rw-r--r-- | scripts/config_whitelist.txt | 1 |
3 files changed, 5 insertions, 3 deletions
diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig index 7836869c55..7e6cb70158 100644 --- a/arch/sh/Kconfig +++ b/arch/sh/Kconfig @@ -4,13 +4,17 @@ menu "SuperH architecture" config CPU_SH4 bool +config CPU_SH7751 + bool + select CPU_SH4 + choice prompt "Target select" optional config TARGET_R2DPLUS bool "Renesas R2D-PLUS" - select CPU_SH4 + select CPU_SH7751 endchoice diff --git a/include/configs/r2dplus.h b/include/configs/r2dplus.h index 680d16d547..8e86830e61 100644 --- a/include/configs/r2dplus.h +++ b/include/configs/r2dplus.h @@ -1,7 +1,6 @@ #ifndef __CONFIG_H #define __CONFIG_H -#define CONFIG_CPU_SH7751 1 #define __LITTLE_ENDIAN__ 1 /* SCIF */ diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt index 0587bf3d1a..880937e227 100644 --- a/scripts/config_whitelist.txt +++ b/scripts/config_whitelist.txt @@ -163,7 +163,6 @@ CONFIG_CPU_MONAHANS CONFIG_CPU_PXA25X CONFIG_CPU_PXA26X CONFIG_CPU_PXA300 -CONFIG_CPU_SH7751 CONFIG_CPU_TYPE_R CONFIG_CPU_VR41XX CONFIG_CQSPI_REF_CLK |