On 02-Mar-19 1:15 PM, Chris Packham wrote:
> This board uses Micron N25Q256A SPI flash. Enable SPI_FLASH_BAR to allow
> us to access the whole chip.
> 
> Signed-off-by: Chris Packham <judge.pack...@gmail.com>
> Cc: Vignesh R <vigne...@ti.com>
> ---
> 

Could add imply SPI_FLASH_BAR to KIRKWOOD_SPI instead? So that we don't
have to fix every defconfig that using kirkwood_spi.c.

Looks like kernel driver does support 3/4 byte addressing, but U-Boot
version of the driver doesn't.

>  configs/db-88f6820-amc_defconfig | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/configs/db-88f6820-amc_defconfig 
> b/configs/db-88f6820-amc_defconfig
> index f5d35229d11c..319d9dbd9c3f 100644
> --- a/configs/db-88f6820-amc_defconfig
> +++ b/configs/db-88f6820-amc_defconfig
> @@ -53,6 +53,7 @@ CONFIG_SYS_I2C_MVTWSI=y
>  CONFIG_NAND=y
>  CONFIG_NAND_PXA3XX=y
>  CONFIG_SPI_FLASH=y
> +CONFIG_SPI_FLASH_BAR=y
>  CONFIG_SPI_FLASH_MACRONIX=y
>  CONFIG_SPI_FLASH_STMICRO=y
>  CONFIG_PHY_MARVELL=y
> 
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to