diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2012-03-22 14:29:03 +0000 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2012-03-27 09:41:17 +0200 |
commit | 1fc3bbd17a9812998a7d7c2a3990b0fe2e605a2c (patch) | |
tree | d0a0b7b1e987e1f6302873d9015443f0a02b01b7 /include | |
parent | 522b2a02e6569970e18f539577f4fd6ce81bbc42 (diff) | |
download | u-boot-imx-1fc3bbd17a9812998a7d7c2a3990b0fe2e605a2c.zip u-boot-imx-1fc3bbd17a9812998a7d7c2a3990b0fe2e605a2c.tar.gz u-boot-imx-1fc3bbd17a9812998a7d7c2a3990b0fe2e605a2c.tar.bz2 |
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 <fabio.estevam@freescale.com>
Acked-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/configs/mx28evk.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/configs/mx28evk.h b/include/configs/mx28evk.h index 04967d7..30814c6 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 |