]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Convert CONFIG_CF_DSPI to Kconfig
authorTom Rini <trini@konsulko.com>
Wed, 23 Mar 2022 21:19:48 +0000 (17:19 -0400)
committerTom Rini <trini@konsulko.com>
Fri, 1 Apr 2022 14:28:46 +0000 (10:28 -0400)
This converts the following to Kconfig:
   CONFIG_CF_DSPI

Signed-off-by: Tom Rini <trini@konsulko.com>
arch/m68k/Kconfig
include/configs/stmark2.h

index 97c0b7b834e7ff60309f5ad5e0cb2521a19cfbad..ae8d26d671dda173294e6f1737bf1eb0623b29f1 100644 (file)
@@ -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
index 781dba542bdefa5d922f74228ca1353193ca7e9d..78b8f1d4420d580c19805b730c33c48cc162e4f0 100644 (file)
@@ -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