aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorPiotr Dymacz <pepe2k@gmail.com>2017-07-07 18:51:26 +0200
committerPiotr Dymacz <pepe2k@gmail.com>2017-07-09 23:46:53 +0200
commit9d07d2dc56a45ac0deb02a3b6ec7cceaaec89091 (patch)
tree0eb1bebd51590c718f06e93a097603a4c23a7dd5 /target/linux
parentafcf5f69bec5da1f0cff2029cb524da8b8adaab1 (diff)
downloadupstream-9d07d2dc56a45ac0deb02a3b6ec7cceaaec89091.tar.gz
upstream-9d07d2dc56a45ac0deb02a3b6ec7cceaaec89091.tar.bz2
upstream-9d07d2dc56a45ac0deb02a3b6ec7cceaaec89091.zip
ar71xx: image: simplify Meraki MR16 device definition
Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/ar71xx/image/generic.mk12
1 files changed, 2 insertions, 10 deletions
diff --git a/target/linux/ar71xx/image/generic.mk b/target/linux/ar71xx/image/generic.mk
index 5a7a509fbd..3f1486ed63 100644
--- a/target/linux/ar71xx/image/generic.mk
+++ b/target/linux/ar71xx/image/generic.mk
@@ -286,21 +286,13 @@ define Device/mr12
IMAGE/sysupgrade.bin := append-rootfs | pad-rootfs | pad-to $$$$(ROOTFS_SIZE) | append-kernel | check-size $$$$(IMAGE_SIZE)
IMAGES := kernel.bin rootfs.bin sysupgrade.bin
endef
-TARGET_DEVICES += mr12
define Device/mr16
+ $(Device/mr12)
DEVICE_TITLE := Meraki MR16
- DEVICE_PACKAGES := kmod-spi-gpio
BOARDNAME := MR16
- ROOTFS_SIZE := 13440k
- IMAGE_SIZE := 15680k
- MTDPARTS := spi0.0:256k(u-boot)ro,256k(u-boot-env)ro,13440k(rootfs),2240k(kernel),64k(mac),128k(art)ro,15680k@0x80000(firmware)
- IMAGE/kernel.bin := append-kernel
- IMAGE/rootfs.bin := append-rootfs | pad-rootfs
- IMAGE/sysupgrade.bin := append-rootfs | pad-rootfs | pad-to $$$$(ROOTFS_SIZE) | append-kernel | check-size $$$$(IMAGE_SIZE)
- IMAGES := kernel.bin rootfs.bin sysupgrade.bin
endef
-TARGET_DEVICES += mr16
+TARGET_DEVICES += mr12 mr16
define Device/dr344
DEVICE_TITLE := Wallys DR344