Skip to content

Commit

Permalink
ar71xx: add BR region code to wr940n v4
Browse files Browse the repository at this point in the history
Signed-off-by: Henryk Heisig <hyniu@o2.pl>
  • Loading branch information
heinzek committed Dec 7, 2017
1 parent a39ddff commit 4de3ccd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion target/linux/ar71xx/image/tp-link.mk
Original file line number Diff line number Diff line change
Expand Up @@ -1077,9 +1077,10 @@ define Device/tl-wr940n-v4
BOARDNAME := TL-WR940N-v4
DEVICE_PROFILE := TLWR941
TPLINK_HWID := 0x09400004
IMAGES += factory-us.bin factory-eu.bin
IMAGES += factory-us.bin factory-eu.bin factory-br.bin
IMAGE/factory-us.bin := append-rootfs | mktplinkfw factory -C US
IMAGE/factory-eu.bin := append-rootfs | mktplinkfw factory -C EU
IMAGE/factory-br.bin := append-rootfs | mktplinkfw factory -C BR
endef

define Device/tl-wr941nd-v2
Expand Down
1 change: 1 addition & 0 deletions tools/firmware-utils/src/mktplinkfw.c
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ static const struct fw_region regions[] = {
/* Default region (universal) uses code 0 as well */
{"US", 1},
{"EU", 0},
{"BR", 0},
};

static const struct fw_region * find_region(const char *country) {
Expand Down

0 comments on commit 4de3ccd

Please sign in to comment.