[OpenWrt-Devel] [PATCH RFC 5/5] target: mvebu: Add a new board for the Mirabox

Maxime Ripard maxime.ripard at free-electrons.com
Fri Dec 12 10:21:05 EST 2014


The Mirabox has different NAND options than the one used in the generic board,
mostly because of its 512k page size.

Add a new board for it.

Signed-off-by: Maxime Ripard <maxime.ripard at free-electrons.com>
---
 target/linux/mvebu/boards/generic.mk |  1 -
 target/linux/mvebu/boards/mirabox.mk | 13 +++++++++++++
 2 files changed, 13 insertions(+), 1 deletion(-)
 create mode 100644 target/linux/mvebu/boards/mirabox.mk

diff --git a/target/linux/mvebu/boards/generic.mk b/target/linux/mvebu/boards/generic.mk
index e4ac20ecf473..3ec74c877d30 100644
--- a/target/linux/mvebu/boards/generic.mk
+++ b/target/linux/mvebu/boards/generic.mk
@@ -8,7 +8,6 @@
 GENERIC_UBI_OPTS = -m 2048 -p 128KiB -s 512 -O 2048
 GENERIC_DTB = \
 	armada-370-db \
-	armada-370-mirabox \
 	armada-370-rd \
 	armada-xp-db \
 	armada-xp-gp \
diff --git a/target/linux/mvebu/boards/mirabox.mk b/target/linux/mvebu/boards/mirabox.mk
new file mode 100644
index 000000000000..23b5bde78bc1
--- /dev/null
+++ b/target/linux/mvebu/boards/mirabox.mk
@@ -0,0 +1,13 @@
+#
+# Copyright (C) 2014 Maxime Ripard
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+MIRABOX_UBI_OPTS = -m 4096 -p 512KiB -O 4096
+
+MIRABOX_DTB = \
+	armada-370-mirabox
+
+$(eval $(call Board, MIRABOX))
-- 
2.2.0
_______________________________________________
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