X-Git-Url: https://git.kernelconcepts.de/?p=karo-tx-uboot.git;a=blobdiff_plain;f=common%2Fcmd_sf.c;h=42d89d4f0729c16a2c16536eb6cde9b76176bda8;hp=b4ceb71466389ab76120774170cfa7f1ac2ca10f;hb=ff0960f9a018952cbaab59c0d87b6e0338c8f04c;hpb=e97f9d817e600cd6f43d1d0da76f5787e33a5c56 diff --git a/common/cmd_sf.c b/common/cmd_sf.c index b4ceb71466..42d89d4f07 100644 --- a/common/cmd_sf.c +++ b/common/cmd_sf.c @@ -9,23 +9,11 @@ #include #include #include +#include #include #include -#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;