summaryrefslogtreecommitdiff
path: root/cmd/spi.c
diff options
context:
space:
mode:
authorPatrick Delaunay <patrick.delaunay@st.com>2019-02-27 15:20:37 +0100
committerTom Rini <trini@konsulko.com>2019-03-25 17:36:53 -0400
commitc95e632de4a474d89fa733a83a39c66236960edf (patch)
treea774eabc71e5ff5d13ae2e16673bd18f18b2fe55 /cmd/spi.c
parent14453fbfadc2f98ca35d6033140466c7a4b4947a (diff)
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/spi.c')
-rw-r--r--cmd/spi.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/cmd/spi.c b/cmd/spi.c
index 9a2edcff65..75226fd368 100644
--- a/cmd/spi.c
+++ b/cmd/spi.c
@@ -22,13 +22,6 @@
# define MAX_SPI_BYTES 32 /* Maximum number of bytes we can handle */
#endif
-#ifndef CONFIG_DEFAULT_SPI_BUS
-# define CONFIG_DEFAULT_SPI_BUS 0
-#endif
-#ifndef CONFIG_DEFAULT_SPI_MODE
-# define CONFIG_DEFAULT_SPI_MODE SPI_MODE_0
-#endif
-
/*
* Values from last command.
*/