Update Luton DT and defconfig to use the new MSCC SPI flash driver. Signed-off-by: Horatiu Vultur <horatiu.vul...@microchip.com> --- arch/mips/dts/luton_pcb090.dts | 3 ++- arch/mips/dts/luton_pcb091.dts | 3 ++- configs/mscc_luton_defconfig | 1 + 3 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/arch/mips/dts/luton_pcb090.dts b/arch/mips/dts/luton_pcb090.dts index 951d8da..55cf609 100644 --- a/arch/mips/dts/luton_pcb090.dts +++ b/arch/mips/dts/luton_pcb090.dts @@ -48,7 +48,8 @@ &spi0 { status = "okay"; spi-flash@0 { - compatible = "spi-flash"; + compatible = "mscc,luton-spi-flash", "spi-flash"; + memory-map = <0x40000000 0x2000000>; spi-max-frequency = <18000000>; /* input clock */ reg = <0>; /* CS0 */ spi-cs-high; diff --git a/arch/mips/dts/luton_pcb091.dts b/arch/mips/dts/luton_pcb091.dts index bf638b2..fe1d332 100644 --- a/arch/mips/dts/luton_pcb091.dts +++ b/arch/mips/dts/luton_pcb091.dts @@ -54,7 +54,8 @@ &spi0 { status = "okay"; spi-flash@0 { - compatible = "spi-flash"; + compatible = "mscc,luton-spi-flash", "spi-flash"; + memory-map = <0x40000000 0x2000000>; spi-max-frequency = <18000000>; /* input clock */ reg = <0>; /* CS0 */ spi-cs-high; diff --git a/configs/mscc_luton_defconfig b/configs/mscc_luton_defconfig index 7154e97..9e3efa1 100644 --- a/configs/mscc_luton_defconfig +++ b/configs/mscc_luton_defconfig @@ -69,3 +69,4 @@ CONFIG_SPI=y CONFIG_DM_SPI=y CONFIG_MSCC_BB_SPI=y CONFIG_LZMA=y +CONFIG_MSCC_SPI_FLASH=y -- 2.7.4 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot