[U-Boot] [PATCH 1/4] arm: mvebu: solidrun-microsom: update SPI flash compatible

Dennis Gilmore dennis at ausil.us
Thu Jun 14 19:10:31 UTC 2018


running sf probe on one of my clearfogs with this set of patches
applied I got 

SF: unrecognized JEDEC id bytes: ff, ff, ff
Failed to initialize SPI flash at 1:0 (error -2)


Dennis


On Thu, 2018-06-14 at 18:17 +0300, Baruch Siach wrote:
> Add the "spi-flash" compatible string so that the generic sf_probe
> driver can probe the SPI flash on the SolidRun SOM.
> 
> Signed-off-by: Baruch Siach <baruch at tkos.co.il>
> ---
>  arch/arm/dts/armada-38x-solidrun-microsom.dtsi | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm/dts/armada-38x-solidrun-microsom.dtsi
> b/arch/arm/dts/armada-38x-solidrun-microsom.dtsi
> index a2627223ce3b..74f58de85c43 100644
> --- a/arch/arm/dts/armada-38x-solidrun-microsom.dtsi
> +++ b/arch/arm/dts/armada-38x-solidrun-microsom.dtsi
> @@ -86,7 +86,7 @@
>  	w25q32: spi-flash at 0 {
>  		#address-cells = <1>;
>  		#size-cells = <1>;
> -		compatible = "w25q32", "jedec,spi-nor";
> +		compatible = "w25q32", "jedec,spi-nor", "spi-flash";
>  		reg = <0>; /* Chip select 0 */
>  		spi-max-frequency = <3000000>;
>  		status = "disabled";


More information about the U-Boot mailing list