summaryrefslogtreecommitdiff
path: root/include/spi_flash.h
diff options
context:
space:
mode:
authorPatrick Delaunay <patrick.delaunay@st.com>2019-02-27 15:20:36 +0100
committerTom Rini <trini@konsulko.com>2019-03-25 17:36:53 -0400
commit14453fbfadc2f98ca35d6033140466c7a4b4947a (patch)
tree3a5274a43080b63d9233357ed3f5fd25c2b08f5b /include/spi_flash.h
parent9309aad084bba4cb86f61d4108c4e6152ef6cf7d (diff)
downloadu-boot-14453fbfadc2f98ca35d6033140466c7a4b4947a.tar.gz
u-boot-14453fbfadc2f98ca35d6033140466c7a4b4947a.tar.bz2
u-boot-14453fbfadc2f98ca35d6033140466c7a4b4947a.zip
Convert CONFIG_SF_DEFAULT_* to Kconfig
This converts the following to Kconfig: CONFIG_SF_DEFAULT_BUS CONFIG_SF_DEFAULT_CS CONFIG_SF_DEFAULT_MODE CONFIG_SF_DEFAULT_SPEED I use moveconfig script and then manual check on generated u-boot.cfg to solve the remaining issue. Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Diffstat (limited to 'include/spi_flash.h')
-rw-r--r--include/spi_flash.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/include/spi_flash.h b/include/spi_flash.h
index 7f691e8559..97ec2b3e58 100644
--- a/include/spi_flash.h
+++ b/include/spi_flash.h
@@ -13,19 +13,6 @@
#include <linux/types.h>
#include <linux/mtd/spi-nor.h>
-#ifndef CONFIG_SF_DEFAULT_SPEED
-# define CONFIG_SF_DEFAULT_SPEED 1000000
-#endif
-#ifndef CONFIG_SF_DEFAULT_MODE
-# define CONFIG_SF_DEFAULT_MODE SPI_MODE_3
-#endif
-#ifndef CONFIG_SF_DEFAULT_CS
-# define CONFIG_SF_DEFAULT_CS 0
-#endif
-#ifndef CONFIG_SF_DEFAULT_BUS
-# define CONFIG_SF_DEFAULT_BUS 0
-#endif
-
struct spi_slave;
struct dm_spi_flash_ops {