lantiq: BTHOMEHUBV5A - explicit select the flash device
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 8 Feb 2016 08:25:22 +0000 (08:25 +0000)
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 8 Feb 2016 08:25:22 +0000 (08:25 +0000)
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@kresin.me>
Acked-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48657 3c298f89-4303-0410-b956-a3cf2f4a3e73

target/linux/lantiq/dts/BTHOMEHUBV5A.dts

index 414d4bb..9283f62 100644 (file)
@@ -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>;