[U-Boot] [PATCH 01/18] spl: improve spi configuration

Marek Vasut marex at denx.de
Sun Aug 3 15:44:08 CEST 2014


On Sunday, August 03, 2014 at 09:34:31 AM, Nikita Kiryanov wrote:
> Currently we can define CONFIG_SPL_SPI_<any parameter except SPI MODE>.
> Define CONFIG_SPL_SPI_MODE option, and provide a default value for
> backwards compatibility.
> Default values are also provided for the rest of the spi_flash_probe
> parameters (like we do in cmd_sf), to help with config file brevity.
> 
> Cc: Jagannadha Sutradharudu Teki <jagannadh.teki at gmail.com>
> Cc: Tom Rini <trini at ti.com>
> Signed-off-by: Nikita Kiryanov <nikita at compulab.co.il>

You might actually be even more bold and check if you cannot fall back to the 
CONFIG_DEFAULT_SPI_MODE etc. What do you think ?

Best regards,
Marek Vasut


More information about the U-Boot mailing list