aboutsummaryrefslogtreecommitdiff
path: root/include/configs/km
diff options
context:
space:
mode:
authorPatrick Delaunay2019-02-27 15:20:36 +0100
committerTom Rini2019-03-25 17:36:53 -0400
commit14453fbfadc2f98ca35d6033140466c7a4b4947a (patch)
tree3a5274a43080b63d9233357ed3f5fd25c2b08f5b /include/configs/km
parent9309aad084bba4cb86f61d4108c4e6152ef6cf7d (diff)
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/configs/km')
-rw-r--r--include/configs/km/km_arm.h2
-rw-r--r--include/configs/km/kmp204x-common.h2
2 files changed, 0 insertions, 4 deletions
diff --git a/include/configs/km/km_arm.h b/include/configs/km/km_arm.h
index 0de83f6723c..f93629ecc9a 100644
--- a/include/configs/km/km_arm.h
+++ b/include/configs/km/km_arm.h
@@ -33,8 +33,6 @@
#include "keymile-common.h"
/* SPI NOR Flash default params, used by sf commands */
-#define CONFIG_SF_DEFAULT_SPEED 8100000
-#define CONFIG_SF_DEFAULT_MODE SPI_MODE_3
#if defined CONFIG_KM_ENV_IS_IN_SPI_NOR
#define CONFIG_ENV_SPI_BUS 0
diff --git a/include/configs/km/kmp204x-common.h b/include/configs/km/kmp204x-common.h
index d4da9dd213d..37b9abc7b27 100644
--- a/include/configs/km/kmp204x-common.h
+++ b/include/configs/km/kmp204x-common.h
@@ -252,8 +252,6 @@ int get_scl(void);
/*
* eSPI - Enhanced SPI
*/
-#define CONFIG_SF_DEFAULT_SPEED 20000000
-#define CONFIG_SF_DEFAULT_MODE 0
/*
* General PCI