[U-Boot] [PATCH 1/3] configs: kirkwood: Convert Allied Telesis boards to DM_SPI

Stefan Roese sr at denx.de
Thu Nov 22 08:37:27 UTC 2018


On 21.11.18 10:22, Chris Packham wrote:
> Enable CONFIG_DM_SPI=y and CONFIG_DM_SPI_FLASH=y in the defconfig.
> 
> Signed-off-by: Chris Packham <judge.packham at gmail.com>
> ---
> 
>   configs/SBx81LIFKW_defconfig   | 2 ++
>   configs/SBx81LIFXCAT_defconfig | 2 ++
>   2 files changed, 4 insertions(+)
> 
> diff --git a/configs/SBx81LIFKW_defconfig b/configs/SBx81LIFKW_defconfig
> index 99526c185e20..e0ce1595c5ee 100644
> --- a/configs/SBx81LIFKW_defconfig
> +++ b/configs/SBx81LIFKW_defconfig
> @@ -28,6 +28,7 @@ CONFIG_SYS_I2C_MVTWSI=y
>   CONFIG_I2C_MUX=y
>   CONFIG_I2C_MUX_PCA954x=y
>   # CONFIG_MMC is not set
> +CONFIG_DM_SPI_FLASH=y
>   CONFIG_SPI_FLASH=y
>   CONFIG_SPI_FLASH_STMICRO=y
>   # CONFIG_SPI_FLASH_USE_4K_SECTORS is not set
> @@ -40,4 +41,5 @@ CONFIG_MII=y
>   CONFIG_DM_RTC=y
>   CONFIG_RTC_MV=y
>   CONFIG_SPI=y
> +CONFIG_DM_SPI=y
>   CONFIG_KIRKWOOD_SPI=y
> diff --git a/configs/SBx81LIFXCAT_defconfig b/configs/SBx81LIFXCAT_defconfig
> index a0abe23ed328..4a6e05844fec 100644
> --- a/configs/SBx81LIFXCAT_defconfig
> +++ b/configs/SBx81LIFXCAT_defconfig
> @@ -32,6 +32,7 @@ CONFIG_I2C_MUX_PCA954x=y
>   CONFIG_LED=y
>   CONFIG_LED_GPIO=y
>   # CONFIG_MMC is not set
> +CONFIG_DM_SPI_FLASH=y
>   CONFIG_SPI_FLASH=y
>   CONFIG_SPI_FLASH_STMICRO=y
>   # CONFIG_SPI_FLASH_USE_4K_SECTORS is not set
> @@ -42,4 +43,5 @@ CONFIG_MV88E61XX_PHY_PORTS=0x003
>   CONFIG_MV88E61XX_FIXED_PORTS=0x300
>   CONFIG_MII=y
>   CONFIG_SPI=y
> +CONFIG_DM_SPI=y
>   CONFIG_KIRKWOOD_SPI=y
> 

Reviewed-by: Stefan Roese <sr at denx.de>

Thanks,
Stefan


More information about the U-Boot mailing list