mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2024-12-15 19:34:49 +00:00
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 <lynxis@fe80.eu>
This commit is contained in:
parent
b232669d45
commit
b7864453f6
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user