mvebu: fix portability issues in the image makefile code
[openwrt/openwrt.git] / target / linux / mvebu / patches-4.1 / 022-ARM-mvebu-A385-AP-Enable-the-NAND-controller.patch
1 From 7eb1f09ec8e25aa2fc3f6fc5fc9405d9f917d503 Mon Sep 17 00:00:00 2001
2 From: Maxime Ripard <maxime.ripard@free-electrons.com>
3 Date: Thu, 11 Dec 2014 14:14:58 +0100
4 Subject: [PATCH 1/2] ARM: mvebu: A385-AP: Enable the NAND controller
5
6 The A385 AP has a 1GB NAND chip. Enable it.
7
8 Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 ---
10 arch/arm/boot/dts/armada-385-db-ap.dts | 13 +++++++++++++
11 1 file changed, 13 insertions(+)
12
13 --- a/arch/arm/boot/dts/armada-385-db-ap.dts
14 +++ b/arch/arm/boot/dts/armada-385-db-ap.dts
15 @@ -174,6 +174,19 @@
16 status = "okay";
17 usb-phy = <&usb3_phy>;
18 };
19 +
20 + nfc: flash@d0000 {
21 + status = "okay";
22 + #address-cells = <1>;
23 + #size-cells = <1>;
24 +
25 + num-cs = <1>;
26 + nand-ecc-strength = <4>;
27 + nand-ecc-step-size = <512>;
28 + marvell,nand-keep-config;
29 + marvell,nand-enable-arbiter;
30 + nand-on-flash-bbt;
31 + };
32 };
33
34 pcie-controller {