diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2007-10-18 07:40:01 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2007-10-18 07:40:01 +0000 |
commit | ffee907666624b9189e8f92bfb3258e32e82663e (patch) | |
tree | e2030b36aaf559c75bd5463799f869ddad37c3e6 /tools/firmware-utils | |
parent | b9d4c5eca70160ef771fd764eccba95b44378ab4 (diff) | |
download | upstream-ffee907666624b9189e8f92bfb3258e32e82663e.tar.gz upstream-ffee907666624b9189e8f92bfb3258e32e82663e.tar.bz2 upstream-ffee907666624b9189e8f92bfb3258e32e82663e.zip |
[adm5120] add ids for Edimax BR-6104Wg boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9342 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'tools/firmware-utils')
-rw-r--r-- | tools/firmware-utils/src/csysimg.h | 11 | ||||
-rw-r--r-- | tools/firmware-utils/src/mkcsysimg.c | 1 |
2 files changed, 7 insertions, 5 deletions
diff --git a/tools/firmware-utils/src/csysimg.h b/tools/firmware-utils/src/csysimg.h index 807c867132..740a7b8910 100644 --- a/tools/firmware-utils/src/csysimg.h +++ b/tools/firmware-utils/src/csysimg.h @@ -3,7 +3,7 @@ * * Copyright (C) 2007 Gabor Juhos <juhosg at openwrt.org> * - * This program was based on the code found in various Linux + * This program was based on the code found in various Linux * source tarballs released by Edimax for it's devices. * Original author: David Hsu <davidhsu@realtek.com.tw> * @@ -33,18 +33,19 @@ #define ADM_BOOT_SIG "\x00\x60\x1A\x40" -/* +/* * Generic signatures */ #define SIG_CSYS "CSYS" #define SIG_CONF "HS\x00\x00" #define SIG_BOOT_RTL "\x00\x00\x40\x21" -/* +/* * Web page signatures */ #define SIG_BR6104K "WB4K" #define SIG_BR6104KP "WBKP" +#define SIG_BR6104Wg "WBGW" #define SIG_BR6104IPC "WBIP" #define SIG_BR6114WG SIG_BR6104IPC #define SIG_BR6524K "2-K-" @@ -66,8 +67,8 @@ #define SIG_XRT401D SIG_BR6104K #define SIG_XRT402D SIG_BR6524K -/* - * CSYS image file header +/* + * CSYS image file header */ struct csys_header { unsigned char sig[SIG_LEN]; diff --git a/tools/firmware-utils/src/mkcsysimg.c b/tools/firmware-utils/src/mkcsysimg.c index a1f9b742d8..7df27c48eb 100644 --- a/tools/firmware-utils/src/mkcsysimg.c +++ b/tools/firmware-utils/src/mkcsysimg.c @@ -152,6 +152,7 @@ static struct board_info boards[] = { /* The original Edimax products */ BOARD_ADM("BR-6104K", "Edimax BR-6104K", 2, SIG_BR6104K), BOARD_ADM("BR-6104KP", "Edimax BR-6104KP", 2, SIG_BR6104KP), + BOARD_ADM("BR-6104Wg", "Edimax BR-6104Wg", 2, SIG_BR6104Wg), BOARD_ADM("BR-6114WG", "Edimax BR-6114WG", 2, SIG_BR6114WG), BOARD_ADM("BR-6524K", "Edimax BR-6524K", 2, SIG_BR6524K), BOARD_ADM("BR-6524KP", "Edimax BR-6524KP", 2, SIG_BR6524KP), |