diff mbox

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

Message ID 20160529000220.29098-1-lynxis@fe80.eu
State Accepted
Headers show

Commit Message

Alexander 'lynxis' Couzens May 29, 2016, 12:02 a.m. UTC
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@fe80.eu>
---
 target/linux/ar71xx/image/tp-link.mk | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
diff mbox

Patch

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@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