summaryrefslogtreecommitdiffstats
path: root/common/cmd_sf.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/cmd_sf.c')
-rw-r--r--common/cmd_sf.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/common/cmd_sf.c b/common/cmd_sf.c
index b4ceb71466..c60e8d10df 100644
--- a/common/cmd_sf.c
+++ b/common/cmd_sf.c
@@ -13,19 +13,6 @@
#include <asm/io.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
-
static struct spi_flash *flash;
OpenPOWER on IntegriCloud