diff options
author | Mathias Kresin <dev@kresin.me> | 2018-07-05 22:53:16 +0200 |
---|---|---|
committer | Mathias Kresin <dev@kresin.me> | 2018-07-07 21:07:40 +0200 |
commit | b908c82f49c5049274f36345cfedbd21c0e5c938 (patch) | |
tree | 99e74d7bd91fb40af4ac7f12602b7cedbe0236d9 /target/linux | |
parent | a0ec632f8d17cf75e2eca44ac3b3ede6d297f7fa (diff) | |
download | upstream-b908c82f49c5049274f36345cfedbd21c0e5c938.tar.gz upstream-b908c82f49c5049274f36345cfedbd21c0e5c938.tar.bz2 upstream-b908c82f49c5049274f36345cfedbd21c0e5c938.zip |
ar71xx: drop unnecessary LOADER_TYPE variables
Drop the LOADER_TYPE variables in case no loader is used at all or move
the variable to devices which are using a loader.
Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'target/linux')
-rw-r--r-- | target/linux/ar71xx/image/generic-tp-link.mk | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/target/linux/ar71xx/image/generic-tp-link.mk b/target/linux/ar71xx/image/generic-tp-link.mk index d78abfbba7..2788253c75 100644 --- a/target/linux/ar71xx/image/generic-tp-link.mk +++ b/target/linux/ar71xx/image/generic-tp-link.mk @@ -17,7 +17,6 @@ define Device/archer-c25-v1 TPLINK_BOARD_ID := ARCHER-C25-V1 DEVICE_PROFILE := ARCHERC25V1 IMAGE_SIZE := 7808k - LOADER_TYPE := elf MTDPARTS := spi0.0:128k(factory-uboot)ro,64k(u-boot)ro,1536k(kernel),6272k(rootfs),128k(config)ro,64k(art)ro,7808k@0x30000(firmware) SUPPORTED_DEVICES := archer-c25-v1 endef @@ -135,7 +134,6 @@ define Device/archer-c7-v4 BOARDNAME := ARCHER-C7-V4 TPLINK_BOARD_ID := ARCHER-C7-V4 IMAGE_SIZE := 15104k - LOADER_TYPE := elf MTDPARTS := spi0.0:128k(factory-uboot)ro,128k(u-boot)ro,1536k(kernel),13568k(rootfs),960k(config)ro,64k(art)ro,15104k@0x40000(firmware) SUPPORTED_DEVICES := archer-c7-v4 endef @@ -157,7 +155,6 @@ define Device/cpexxx MTDPARTS := spi0.0:128k(u-boot)ro,64k(partition-table)ro,64k(product-info)ro,1792k(kernel),5888k(rootfs),192k(config)ro,64k(ART)ro,7680k@0x40000(firmware) IMAGE_SIZE := 7680k DEVICE_PROFILE := CPE510 - LOADER_TYPE := elf IMAGES := sysupgrade.bin factory.bin IMAGE/sysupgrade.bin := append-rootfs | tplink-safeloader sysupgrade IMAGE/factory.bin := append-rootfs | tplink-safeloader factory @@ -168,6 +165,7 @@ define Device/cpe510-520-v1 DEVICE_TITLE := TP-LINK CPE510/520 v1 BOARDNAME := CPE510 TPLINK_BOARD_ID := CPE510 + LOADER_TYPE := elf LOADER_FLASH_OFFS := 0x43000 COMPILE := loader-$(1).elf COMPILE/loader-$(1).elf := loader-okli-compile @@ -234,7 +232,6 @@ define Device/re355-v1 BOARDNAME := RE355 TPLINK_BOARD_ID := RE355 DEVICE_PROFILE := RE355 - LOADER_TYPE := elf TPLINK_HWID := 0x0 TPLINK_HWREV := 0 TPLINK_HEADER_VERSION := 1 @@ -253,7 +250,6 @@ define Device/re450-v1 BOARDNAME := RE450 TPLINK_BOARD_ID := RE450 DEVICE_PROFILE := RE450 - LOADER_TYPE := elf TPLINK_HWID := 0x0 TPLINK_HWREV := 0 TPLINK_HEADER_VERSION := 1 |