From: Alexander Couzens Date: Sun, 29 May 2016 00:02:19 +0000 (+0200) Subject: ar71xx: switch ordering and template to improve readability X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=b7864453f6df9e7f4c927eaea04fdd64fa40abdc;p=openwrt%2Fstaging%2Fthess.git ar71xx: switch ordering and template to improve readability The CPE210's ancestor is the CPE510 not the other way around. The device profile is also named after the CPE510. Signed-off-by: Alexander Couzens --- diff --git a/target/linux/ar71xx/image/tp-link.mk b/target/linux/ar71xx/image/tp-link.mk index 145fa0f0cd..140123a4d8 100644 --- a/target/linux/ar71xx/image/tp-link.mk +++ b/target/linux/ar71xx/image/tp-link.mk @@ -85,10 +85,10 @@ $(Device/tplink) IMAGE_SIZE := 15872k endef -define Device/cpe210-220 +define Device/cpe510-520 MTDPARTS := spi0.0:128k(u-boot)ro,64k(pation-table)ro,64k(product-info)ro,1536k(kernel),6144k(rootfs),192k(config)ro,64k(ART)ro,7680k@0x40000(firmware) IMAGE_SIZE := 7680k - BOARDNAME := CPE210 + BOARDNAME := CPE510 TPLINK_BOARD_NAME := CPE510 DEVICE_PROFILE := CPE510 LOADER_TYPE := elf @@ -98,9 +98,9 @@ define Device/cpe210-220 IMAGE/factory.bin := append-rootfs | tplink-safeloader factory endef -define Device/cpe510-520 -$(Device/cpe210-220) - BOARDNAME := CPE510 +define Device/cpe210-220 +$(Device/cpe510-520) + BOARDNAME := CPE210 endef TARGET_DEVICES += cpe210-220 cpe510-520