[OpenWrt-Devel] [PATCH] lantiq: BTHOMEHUBV5A - explicit select the flash device

Mathias Kresin openwrt at kresin.me
Tue Feb 2 17:32:35 EST 2016


The stock u-boot doesn't disable unused flash banks. Therefore, the nand
driver tries to initialize a not connected NOR flash and the device
hangs on boot.

Workaround the issue by selecting the second flash bank (NAND).

Signed-off-by: Mathias Kresin <openwrt at kresin.me>
---
 target/linux/lantiq/dts/BTHOMEHUBV5A.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/linux/lantiq/dts/BTHOMEHUBV5A.dts b/target/linux/lantiq/dts/BTHOMEHUBV5A.dts
index 414d4bb..9283f62 100644
--- a/target/linux/lantiq/dts/BTHOMEHUBV5A.dts
+++ b/target/linux/lantiq/dts/BTHOMEHUBV5A.dts
@@ -28,7 +28,7 @@
 				compatible = "gen_nand", "lantiq,nand-xway";
 				lantiq,cs = <1>;
 				bank-width = <2>;
-				reg = <0 0x0 0x2000000>;
+				reg = <0x1 0x0 0x2000000>;
 				#address-cells = <1>;
 				#size-cells = <1>;
 
-- 
1.9.1
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list