From b7864453f6df9e7f4c927eaea04fdd64fa40abdc Mon Sep 17 00:00:00 2001 From: Alexander Couzens Date: Sun, 29 May 2016 02:02:19 +0200 Subject: [PATCH] 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 --- 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 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 -- 2.30.2