Convert CONFIG_CF_DSPI to Kconfig

This converts the following to Kconfig:
   CONFIG_CF_DSPI

Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
Tom Rini 2022-03-23 17:19:48 -04:00
parent c3cdca48df
commit f88e9f5ab8
2 changed files with 5 additions and 1 deletions

View file

@ -113,6 +113,10 @@ config M54418
bool bool
select MCF5441x select MCF5441x
# peripherals
config CF_DSPI
bool
choice choice
prompt "Target select" prompt "Target select"
optional optional
@ -176,6 +180,7 @@ config TARGET_AMCORE
config TARGET_STMARK2 config TARGET_STMARK2
bool "Support stmark2" bool "Support stmark2"
select CF_DSPI
select M54418 select M54418
endchoice endchoice

View file

@ -43,7 +43,6 @@
#define CONFIG_MCFTMR #define CONFIG_MCFTMR
/* DSPI and Serial Flash */ /* DSPI and Serial Flash */
#define CONFIG_CF_DSPI
#define CONFIG_SERIAL_FLASH #define CONFIG_SERIAL_FLASH
#define CONFIG_SYS_SBFHDR_SIZE 0x7 #define CONFIG_SYS_SBFHDR_SIZE 0x7