Author: kaloz Date: 2015-02-05 12:29:56 +0100 (Thu, 05 Feb 2015) New Revision: 44265
Added: trunk/target/linux/mvebu/patches-3.18/207-armada-385-rd-mtd-partitions.patch trunk/target/linux/mvebu/patches-3.19/207-armada-385-rd-mtd-partitions.patch Modified: trunk/target/linux/mvebu/image/Makefile Log: mvebu: add the Armada 385 Reference Design support Signed-off-by: Maxime Ripard <[email protected]> Signed-off-by: Imre Kaloz <[email protected]> Modified: trunk/target/linux/mvebu/image/Makefile =================================================================== --- trunk/target/linux/mvebu/image/Makefile 2015-02-05 11:26:17 UTC (rev 44264) +++ trunk/target/linux/mvebu/image/Makefile 2015-02-05 11:29:56 UTC (rev 44265) @@ -138,6 +138,9 @@ # Boards with large NOR, where we want to use UBI $(eval $(call UBINORProfile,OpenBlocks-AX-3-4,armada-xp-openblocks-ax3-4,128KiB)) +# Boards with small NOR, where UBI doesn't make sense +$(eval $(call NORProfile,385-RD,armada-385-rd,256KiB)) + define Image/Build/Profile/Mamba/squashfs $(call Image/Build/UbinizeImage,armada-xp-mamba,,squashfs, -p 128KiB -m 2048 -s 512) ( \ Added: trunk/target/linux/mvebu/patches-3.18/207-armada-385-rd-mtd-partitions.patch =================================================================== --- trunk/target/linux/mvebu/patches-3.18/207-armada-385-rd-mtd-partitions.patch (rev 0) +++ trunk/target/linux/mvebu/patches-3.18/207-armada-385-rd-mtd-partitions.patch 2015-02-05 11:29:56 UTC (rev 44265) @@ -0,0 +1,19 @@ +--- a/arch/arm/boot/dts/armada-385-rd.dts ++++ b/arch/arm/boot/dts/armada-385-rd.dts +@@ -42,6 +42,16 @@ + compatible = "st,m25p128"; + reg = <0>; /* Chip select 0 */ + spi-max-frequency = <108000000>; ++ ++ partition@0 { ++ label = "uboot"; ++ reg = <0 0x400000>; ++ }; ++ ++ partition@1 { ++ label = "firmware"; ++ reg = <0x400000 0xc00000>; ++ }; + }; + }; + Added: trunk/target/linux/mvebu/patches-3.19/207-armada-385-rd-mtd-partitions.patch =================================================================== --- trunk/target/linux/mvebu/patches-3.19/207-armada-385-rd-mtd-partitions.patch (rev 0) +++ trunk/target/linux/mvebu/patches-3.19/207-armada-385-rd-mtd-partitions.patch 2015-02-05 11:29:56 UTC (rev 44265) @@ -0,0 +1,19 @@ +--- a/arch/arm/boot/dts/armada-385-rd.dts ++++ b/arch/arm/boot/dts/armada-385-rd.dts +@@ -42,6 +42,16 @@ + compatible = "st,m25p128"; + reg = <0>; /* Chip select 0 */ + spi-max-frequency = <108000000>; ++ ++ partition@0 { ++ label = "uboot"; ++ reg = <0 0x400000>; ++ }; ++ ++ partition@1 { ++ label = "firmware"; ++ reg = <0x400000 0xc00000>; ++ }; + }; + }; + _______________________________________________ openwrt-commits mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits
