diff mbox series

[01/22] Convert CONFIG_CF_DSPI to Kconfig

Message ID 20220323212009.1066483-1-trini@konsulko.com
State Accepted
Commit f88e9f5ab89d6404347083c9c0d02f7ad5f21ce2
Delegated to: Tom Rini
Headers show
Series [01/22] Convert CONFIG_CF_DSPI to Kconfig | expand

Commit Message

Tom Rini March 23, 2022, 9:19 p.m. UTC
This converts the following to Kconfig:
   CONFIG_CF_DSPI

Signed-off-by: Tom Rini <trini@konsulko.com>
---
 arch/m68k/Kconfig         | 5 +++++
 include/configs/stmark2.h | 1 -
 2 files changed, 5 insertions(+), 1 deletion(-)

Comments

Tom Rini April 1, 2022, 6:45 p.m. UTC | #1
On Wed, Mar 23, 2022 at 05:19:48PM -0400, Tom Rini wrote:

> This converts the following to Kconfig:
>    CONFIG_CF_DSPI
> 
> Signed-off-by: Tom Rini <trini@konsulko.com>

For the whole of the series, applied to u-boot/next, thanks!
diff mbox series

Patch

diff --git a/arch/m68k/Kconfig b/arch/m68k/Kconfig
index 97c0b7b834e7..ae8d26d671dd 100644
--- a/arch/m68k/Kconfig
+++ b/arch/m68k/Kconfig
@@ -113,6 +113,10 @@  config M54418
 	bool
 	select MCF5441x
 
+# peripherals
+config CF_DSPI
+	bool
+
 choice
 	prompt "Target select"
 	optional
@@ -176,6 +180,7 @@  config TARGET_AMCORE
 
 config TARGET_STMARK2
         bool "Support stmark2"
+        select CF_DSPI
         select M54418
 
 endchoice
diff --git a/include/configs/stmark2.h b/include/configs/stmark2.h
index 781dba542bde..78b8f1d4420d 100644
--- a/include/configs/stmark2.h
+++ b/include/configs/stmark2.h
@@ -43,7 +43,6 @@ 
 #define CONFIG_MCFTMR
 
 /* DSPI and Serial Flash */
-#define CONFIG_CF_DSPI
 #define CONFIG_SERIAL_FLASH
 
 #define CONFIG_SYS_SBFHDR_SIZE		0x7