diff options
Diffstat (limited to 'common/env_sf.c')
-rw-r--r-- | common/env_sf.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/common/env_sf.c b/common/env_sf.c index 273098ceb6..a41c0e89e3 100644 --- a/common/env_sf.c +++ b/common/env_sf.c | |||
@@ -19,16 +19,16 @@ | |||
19 | #include <dm/device-internal.h> | 19 | #include <dm/device-internal.h> |
20 | 20 | ||
21 | #ifndef CONFIG_ENV_SPI_BUS | 21 | #ifndef CONFIG_ENV_SPI_BUS |
22 | # define CONFIG_ENV_SPI_BUS 0 | 22 | # define CONFIG_ENV_SPI_BUS CONFIG_SF_DEFAULT_BUS |
23 | #endif | 23 | #endif |
24 | #ifndef CONFIG_ENV_SPI_CS | 24 | #ifndef CONFIG_ENV_SPI_CS |
25 | # define CONFIG_ENV_SPI_CS 0 | 25 | # define CONFIG_ENV_SPI_CS CONFIG_SF_DEFAULT_CS |
26 | #endif | 26 | #endif |
27 | #ifndef CONFIG_ENV_SPI_MAX_HZ | 27 | #ifndef CONFIG_ENV_SPI_MAX_HZ |
28 | # define CONFIG_ENV_SPI_MAX_HZ 1000000 | 28 | # define CONFIG_ENV_SPI_MAX_HZ CONFIG_SF_DEFAULT_SPEED |
29 | #endif | 29 | #endif |
30 | #ifndef CONFIG_ENV_SPI_MODE | 30 | #ifndef CONFIG_ENV_SPI_MODE |
31 | # define CONFIG_ENV_SPI_MODE SPI_MODE_3 | 31 | # define CONFIG_ENV_SPI_MODE CONFIG_SF_DEFAULT_MODE |
32 | #endif | 32 | #endif |
33 | 33 | ||
34 | #ifdef CONFIG_ENV_OFFSET_REDUND | 34 | #ifdef CONFIG_ENV_OFFSET_REDUND |