From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jagan Teki Date: Wed, 30 Aug 2017 12:07:36 +0530 Subject: [U-Boot] [PATCH] ARM: mvebu: add "spi-flash" compatible string In-Reply-To: <20170829083754.8363-1-judge.packham@gmail.com> References: <20170829083754.8363-1-judge.packham@gmail.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tue, Aug 29, 2017 at 2:07 PM, Chris Packham wrote: > U-boots spi-nor support is currently considered a work in progress. For > now to avoid issues it is necessary to add a "spi-flash" compatible > string. Eventually the "jedec,spi-nor" will be sufficient when the core > U-boot code is updated to support it. > > Signed-off-by: Chris Packham > --- > This is an alternative to > https://lists.denx.de/pipermail/u-boot/2017-August/301816.html. Using > the u-boot specific "spi-flash" is Jagan's preference while the spi-nor > support is still a WIP and works for getting the db-88f6820-amc working > for me so I'm happy. > > arch/arm/dts/armada-385-amc.dts | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/arm/dts/armada-385-amc.dts b/arch/arm/dts/armada-385-amc.dts > index 4649c910c7b0..5e1588d57438 100644 > --- a/arch/arm/dts/armada-385-amc.dts > +++ b/arch/arm/dts/armada-385-amc.dts > @@ -154,7 +154,7 @@ > u-boot,dm-pre-reloc; > #address-cells = <1>; > #size-cells = <1>; > - compatible = "st,m25p128", "jedec,spi-nor"; > + compatible = "st,m25p128", "jedec,spi-nor", "spi-flash"; Reviewed-by: Jagan Teki