[LEDE-DEV] [PATCH 1/2] ar71xx/cpe510/cpe210: switch ordering and template to improve readability

Alexander Couzens lynxis at fe80.eu
Sat May 28 17:02:19 PDT 2016


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 <lynxis at fe80.eu>
---
 target/linux/ar71xx/image/tp-link.mk | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/target/linux/ar71xx/image/tp-link.mk b/target/linux/ar71xx/image/tp-link.mk
index a3af519..92bf55c 100644
--- a/target/linux/ar71xx/image/tp-link.mk
+++ b/target/linux/ar71xx/image/tp-link.mk
@@ -97,10 +97,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 at 0x40000(firmware)
   IMAGE_SIZE := 7680k
-  BOARDNAME := CPE210
+  BOARDNAME := CPE510
   TPLINK_BOARD_NAME := CPE510
   DEVICE_PROFILE := CPE510
   LOADER_TYPE := elf
@@ -110,9 +110,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
 
-- 
2.8.3




More information about the Lede-dev mailing list