[U-Boot] [PATCH] imx: mx6ulevk: add CONFIG_SPI_FLASH_STMICRO

Stefano Babic sbabic at denx.de
Tue Jan 19 09:53:43 CET 2016


On 19/01/2016 08:13, Peng Fan wrote:
> From: Peng Fan <peng.fan at nxp.com>
> 
> Add CONFIG_SPI_FLASH_STMICRO to let qspi driver can detect the
> qspi chips.
> "
> => sf probe
> SF: Detected N25Q256 with page size 256 Bytes, erase size 64 KiB, total 32 MiB
> "
> 
> Signed-off-by: Peng Fan <peng.fan at nxp.com>
> Cc: Jagan Teki <jteki at openedev.com>
> Cc: Stefano Babic <sbabic at denx.de>
> ---
>  include/configs/mx6ul_14x14_evk.h | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/include/configs/mx6ul_14x14_evk.h b/include/configs/mx6ul_14x14_evk.h
> index c946176..319cb6c 100644
> --- a/include/configs/mx6ul_14x14_evk.h
> +++ b/include/configs/mx6ul_14x14_evk.h
> @@ -203,6 +203,7 @@
>  #define CONFIG_SF_DEFAULT_CS		0
>  #define CONFIG_SF_DEFAULT_SPEED	40000000
>  #define CONFIG_SF_DEFAULT_MODE		SPI_MODE_0
> +#define CONFIG_SPI_FLASH_STMICRO
>  #define FSL_QSPI_FLASH_NUM		1
>  #define FSL_QSPI_FLASH_SIZE		SZ_32M
>  #endif
> 

Reviewed-by: Stefano Babic <sbabic at denx.de>

Best regards,
Stefano Babic

-- 
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================


More information about the U-Boot mailing list