]> git.baikalelectronics.ru Git - uboot.git/commitdiff
Convert CONFIG_CPU_SH7751 to Kconfig
authorTom Rini <trini@konsulko.com>
Fri, 17 Dec 2021 23:08:41 +0000 (18:08 -0500)
committerTom Rini <trini@konsulko.com>
Mon, 27 Dec 2021 21:20:19 +0000 (16:20 -0500)
This converts the following to Kconfig:
   CONFIG_CPU_SH7751

Signed-off-by: Tom Rini <trini@konsulko.com>
arch/sh/Kconfig
include/configs/r2dplus.h
scripts/config_whitelist.txt

index 7836869c55dcd685f4f6eb1f9cf098cfdc48156c..7e6cb7015896c74d472dc53be0bc1f5eb4cd4954 100644 (file)
@@ -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
 
index 680d16d547c421907a1d614588c7ee51d135934a..8e86830e61be0a7a4211ae21fb35e63429809e7b 100644 (file)
@@ -1,7 +1,6 @@
 #ifndef __CONFIG_H
 #define __CONFIG_H
 
-#define CONFIG_CPU_SH7751      1
 #define __LITTLE_ENDIAN__      1
 
 /* SCIF */
index 0587bf3d1aed8db42588d993f97cf2f9016b0c33..880937e227601f98389c0a71cd687c0b37e13232 100644 (file)
@@ -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