X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/0840c2ef25cbbe1634b050ba5c8bc1b036129d83..612cc293e11afc7abde8057c8ccf4210e1a0b460:/tools/firmware-utils/src/csysimg.h diff --git a/tools/firmware-utils/src/csysimg.h b/tools/firmware-utils/src/csysimg.h index f22a22f55..19dfbd433 100644 --- a/tools/firmware-utils/src/csysimg.h +++ b/tools/firmware-utils/src/csysimg.h @@ -1,9 +1,8 @@ /* - * $Id$ * - * Copyright (C) 2007 Gabor Juhos + * Copyright (C) 2007,2009 Gabor Juhos * - * 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 * @@ -33,18 +32,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-" @@ -54,10 +54,13 @@ #define SIG_BR6541K "4--K" #define SIG_BR6541KP "4-KP" /* FIXME: valid? */ #define SIG_BR6541WP "4-WP" /* FIXME: valid? */ +#define SIG_C54BSR4 SIG_BR6104IPC #define SIG_EW7207APg "EWAS" #define SIG_PS1205UWg "4000" #define SIG_PS3205U "5010" #define SIG_PS3205UWg "5011" +#define SIG_RALINK "RNRA" +#define SIG_5GXI "5GXI" /* fake signature */ #define SIG_H2BR4 SIG_BR6524K #define SIG_H2WR54G SIG_BR6524WG @@ -65,14 +68,11 @@ #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]; uint32_t addr; uint32_t size; }; - - -