[U-Boot] [PATCH 1/2] defconfig: ls1021aqds_sdcard_qspi: Enable SPI-NOR

york sun york.sun at nxp.com
Wed Mar 9 17:59:47 CET 2016


On 03/08/2016 07:04 PM, Alison Wang wrote:
> As QSPI driver is supported in ls1021aqds_sdcard_qspi_defconfig, SPI-NOR
> with MTD uclass, CONFIG_MTD_DATAFLASH and new flash vendor config
> CONFIG_SPI_NOR_SPANSION need be enabled.
> 
> Signed-off-by: Alison Wang <alison.wang at nxp.com>
> ---
>  configs/ls1021aqds_sdcard_qspi_defconfig | 7 +++++--
>  1 file changed, 5 insertions(+), 2 deletions(-)
> 
> diff --git a/configs/ls1021aqds_sdcard_qspi_defconfig b/configs/ls1021aqds_sdcard_qspi_defconfig
> index cd75af6..25ab3ee 100644
> --- a/configs/ls1021aqds_sdcard_qspi_defconfig
> +++ b/configs/ls1021aqds_sdcard_qspi_defconfig
> @@ -7,8 +7,11 @@ CONFIG_DEFAULT_DEVICE_TREE="ls1021a-qds-duart"
>  # CONFIG_CMD_SETEXPR is not set
>  CONFIG_OF_CONTROL=y
>  CONFIG_DM=y
> -CONFIG_SPI_FLASH=y
> -CONFIG_SPI_FLASH_SPANSION=y
> +CONFIG_MTD=y
> +CONFIG_MTD_SPI_NOR=y
> +CONFIG_MTD_M25P80=y
> +CONFIG_MTD_DATAFLASH=y
> +CONFIG_SPI_NOR_SPANSION=y
>  CONFIG_NETDEVICES=y
>  CONFIG_E1000=y
>  CONFIG_SYS_NS16550=y
> 

Put a note for myself, this patch is on top of spi-nor patchset Jagan is working on.

York


More information about the U-Boot mailing list