brcm63xx: merge DSL-274X-F1 profiles

The only difference is a field in the image tag header, so just define
two images for it instead of treating them as separate devices.

Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
This commit is contained in:
Jonas Gorski 2016-06-18 13:38:46 +02:00
parent a89f5e795a
commit d61d82e3d3

View File

@ -485,29 +485,19 @@ define Device/DSL274XB-C3
endef endef
TARGET_DEVICES += DSL274XB-C3 TARGET_DEVICES += DSL274XB-C3
define Device/DSL274XB-F1-AU define Device/DSL274XB-F1
$(Device/bcm63xx) $(Device/bcm63xx)
DEVICE_TITLE := D-Link DSL-2740B/DSL-2741B rev F1 (AU) DEVICE_TITLE := D-Link DSL-2740B/DSL-2741B rev F1
DEVICE_DTS := dsl-274xb-f DEVICE_DTS := dsl-274xb-f
CFE_BOARD_ID := AW4339U CFE_BOARD_ID := AW4339U
CFE_CHIP_ID := 6328 CFE_CHIP_ID := 6328
CFE_EXTRAS := --signature2 "4.06.01.AUF1" --pad 4 IMAGES := cfe-EU.bin cfe-AU.bin
IMAGE/cfe-AU.bin := cfe-bin --signature2 "4.06.01.AUF1" --pad 4
IMAGE/cfe-EU.bin := cfe-bin --signature2 "4.06.01.EUF1" --pad 4
DEVICE_PACKAGES := \ DEVICE_PACKAGES := \
$(ATH9K_PACKAGES) $(ATH9K_PACKAGES)
endef endef
TARGET_DEVICES += DSL274XB-F1-AU TARGET_DEVICES += DSL274XB-F1
define Device/DSL274XB-F1-EU
$(Device/bcm63xx)
DEVICE_TITLE := D-Link DSL-2740B/DSL-2741B rev F1 (EU)
DEVICE_DTS := dsl-274xb-f
CFE_BOARD_ID := AW4339U
CFE_CHIP_ID := 6328
CFE_EXTRAS := --signature2 "4.06.01.EUF1" --pad 4
DEVICE_PACKAGES := \
$(ATH9K_PACKAGES)
endef
TARGET_DEVICES += DSL274XB-F1-EU
define Device/DSL275XB-D1 define Device/DSL275XB-D1
$(Device/bcm63xx) $(Device/bcm63xx)