summaryrefslogtreecommitdiff
path: root/cmd/Kconfig
diff options
context:
space:
mode:
authorPatrick Delaunay <patrick.delaunay@st.com>2019-02-27 17:20:37 +0300
committerTom Rini <trini@konsulko.com>2019-03-26 00:36:53 +0300
commitc95e632de4a474d89fa733a83a39c66236960edf (patch)
treea774eabc71e5ff5d13ae2e16673bd18f18b2fe55 /cmd/Kconfig
parent14453fbfadc2f98ca35d6033140466c7a4b4947a (diff)
downloadu-boot-c95e632de4a474d89fa733a83a39c66236960edf.tar.xz
Convert CONFIG_DEFAULT_SPI_* to Kconfig
This converts the following to Kconfig: CONFIG_DEFAULT_SPI_BUS CONFIG_DEFAULT_SPI_MODE Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Diffstat (limited to 'cmd/Kconfig')
-rw-r--r--cmd/Kconfig12
1 files changed, 11 insertions, 1 deletions
diff --git a/cmd/Kconfig b/cmd/Kconfig
index 4bcc5c4557..0b07b3b9d7 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -1040,10 +1040,20 @@ config CMD_SF_TEST
everything is working properly.
config CMD_SPI
- bool "sspi"
+ bool "sspi - Command to access spi device"
help
SPI utility command.
+config DEFAULT_SPI_BUS
+ int "default spi bus used by sspi command"
+ depends on CMD_SPI
+ default 0
+
+config DEFAULT_SPI_MODE
+ hex "default spi mode used by sspi command (see include/spi.h)"
+ depends on CMD_SPI
+ default 0
+
config CMD_TSI148
bool "tsi148 - Command to access tsi148 device"
help