[OpenWrt-Devel] [PATCH 8/9] mvebu: Add the Armada 385 Reference Design support
Maxime Ripard
maxime.ripard at free-electrons.com
Tue Jan 13 10:56:45 EST 2015
Signed-off-by: Maxime Ripard <maxime.ripard at free-electrons.com>
---
target/linux/mvebu/image/Makefile | 1 +
.../020-armada-385-rd-mtd-partitions.patch | 24 ++++++++++++++++++++++
2 files changed, 25 insertions(+)
create mode 100644 target/linux/mvebu/patches-3.18/020-armada-385-rd-mtd-partitions.patch
diff --git a/target/linux/mvebu/image/Makefile b/target/linux/mvebu/image/Makefile
index a10e1f052fbe..6d9b0afc0511 100644
--- a/target/linux/mvebu/image/Makefile
+++ b/target/linux/mvebu/image/Makefile
@@ -115,6 +115,7 @@ $(eval $(call NANDProfile,XP-GP,armada-xp-gp,512KiB,4096))
$(eval $(call NANDProfile,Mamba,armada-xp-mamba,128KiB,2048,512))
# Boards with NOR
+$(eval $(call NORProfile,385-RD,armada-385-rd,256KiB))
$(eval $(call NORProfile,OpenBlocks-AX-3-4,armada-xp-openblocks-ax3-4,128KiB))
define Image/Build/Profile/Mamba/squashfs
diff --git a/target/linux/mvebu/patches-3.18/020-armada-385-rd-mtd-partitions.patch b/target/linux/mvebu/patches-3.18/020-armada-385-rd-mtd-partitions.patch
new file mode 100644
index 000000000000..8a1eac449ffe
--- /dev/null
+++ b/target/linux/mvebu/patches-3.18/020-armada-385-rd-mtd-partitions.patch
@@ -0,0 +1,24 @@
+--- a/arch/arm/boot/dts/armada-385-rd.dts
++++ b/arch/arm/boot/dts/armada-385-rd.dts
+@@ -42,6 +42,21 @@
+ compatible = "st,m25p128";
+ reg = <0>; /* Chip select 0 */
+ spi-max-frequency = <108000000>;
++
++ partition at 0 {
++ label = "uboot";
++ reg = <0 0x400000>;
++ };
++
++ partition at 1 {
++ label = "kernel";
++ reg = <0x400000 0x200000>;
++ };
++
++ partition at 2 {
++ label = "data";
++ reg = <0x600000 0xa00000>;
++ };
+ };
+ };
+
--
2.2.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