From: Fabio Estevam Date: Thu, 22 Mar 2012 14:29:03 +0000 (+0000) Subject: mx28evk: Provide default values for SPI bus and chip select X-Git-Tag: v2012.04-rc1~19^2~93 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=1fc3bbd17a9812998a7d7c2a3990b0fe2e605a2c;p=u-boot mx28evk: Provide default values for SPI bus and chip select Provide default values for SPI bus and chip select. This allows the command "sf probe" to work without passing SPI bus and chip select numbers as arguments. Signed-off-by: Fabio Estevam Acked-by: Marek Vasut --- diff --git a/include/configs/mx28evk.h b/include/configs/mx28evk.h index 04967d7d2c..30814c6c0c 100644 --- a/include/configs/mx28evk.h +++ b/include/configs/mx28evk.h @@ -186,6 +186,8 @@ /* SPI Flash */ #ifdef CONFIG_CMD_SF #define CONFIG_SPI_FLASH +#define CONFIG_SF_DEFAULT_BUS 2 +#define CONFIG_SF_DEFAULT_CS 0 /* this may vary and depends on the installed chip */ #define CONFIG_SPI_FLASH_SST #define CONFIG_SF_DEFAULT_MODE SPI_MODE_0