All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: armada-385-linksys: fix usage with newer devices
@ 2020-12-05  0:54 Rosen Penev
  2021-01-29 15:23 ` Gregory CLEMENT
  0 siblings, 1 reply; 2+ messages in thread
From: Rosen Penev @ 2020-12-05  0:54 UTC (permalink / raw)
  To: linux-arm-kernel; +Cc: andrew, gregory.clement, sebastian.hesselbarth

Newer Linksys boards might come with a Winbond W29N02GV which can be
configured in different ways. Make sure we configure it the same way
as the older chips so everything keeps working.

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
Signed-off-by: Rosen Penev <rosenp@gmail.com>
---
 arch/arm/boot/dts/armada-385-linksys.dtsi | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/boot/dts/armada-385-linksys.dtsi b/arch/arm/boot/dts/armada-385-linksys.dtsi
index 827e82be2201..fb9c8a0b241c 100644
--- a/arch/arm/boot/dts/armada-385-linksys.dtsi
+++ b/arch/arm/boot/dts/armada-385-linksys.dtsi
@@ -148,6 +148,8 @@ nand: nand@0 {
 		reg = <0>;
 		label = "pxa3xx_nand-0";
 		nand-rb = <0>;
+		nand-ecc-strength = <4>;
+		nand-ecc-step-size = <512>;
 		marvell,nand-keep-config;
 		nand-on-flash-bbt;
 	};
-- 
2.28.0


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] ARM: dts: armada-385-linksys: fix usage with newer devices
  2020-12-05  0:54 [PATCH] ARM: dts: armada-385-linksys: fix usage with newer devices Rosen Penev
@ 2021-01-29 15:23 ` Gregory CLEMENT
  0 siblings, 0 replies; 2+ messages in thread
From: Gregory CLEMENT @ 2021-01-29 15:23 UTC (permalink / raw)
  To: Rosen Penev, linux-arm-kernel; +Cc: andrew, sebastian.hesselbarth

Hi Rosen,

> Newer Linksys boards might come with a Winbond W29N02GV which can be
> configured in different ways. Make sure we configure it the same way
> as the older chips so everything keeps working.
>
> Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
> Signed-off-by: Rosen Penev <rosenp@gmail.com>

Applied on mvebu/dt

Thanks,

Gregory

> ---
>  arch/arm/boot/dts/armada-385-linksys.dtsi | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/arch/arm/boot/dts/armada-385-linksys.dtsi b/arch/arm/boot/dts/armada-385-linksys.dtsi
> index 827e82be2201..fb9c8a0b241c 100644
> --- a/arch/arm/boot/dts/armada-385-linksys.dtsi
> +++ b/arch/arm/boot/dts/armada-385-linksys.dtsi
> @@ -148,6 +148,8 @@ nand: nand@0 {
>  		reg = <0>;
>  		label = "pxa3xx_nand-0";
>  		nand-rb = <0>;
> +		nand-ecc-strength = <4>;
> +		nand-ecc-step-size = <512>;
>  		marvell,nand-keep-config;
>  		nand-on-flash-bbt;
>  	};
> -- 
> 2.28.0
>

-- 
Gregory Clement, Bootlin
Embedded Linux and Kernel engineering
http://bootlin.com

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-01-29 15:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-05  0:54 [PATCH] ARM: dts: armada-385-linksys: fix usage with newer devices Rosen Penev
2021-01-29 15:23 ` Gregory CLEMENT

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.