[U-Boot] [PATCH] ARM: mvebu: db-88f6820-amc: enable SPI_FLASH_BAR

Vignesh Raghavendra vigneshr at ti.com
Sat Mar 2 08:36:54 UTC 2019



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.packham at gmail.com>
> Cc: Vignesh R <vigneshr at 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
> 


More information about the U-Boot mailing list