tplink-safeloader: support Archer C6v3.0 (BR)
[project/firmware-utils.git] / src / csysimg.h
index d6b9d0a4da12c91102addebfdf2f1452d4a6d64b..1214c7dee426d6736e3a65eac96083632221a1d5 100644 (file)
@@ -1,25 +1,11 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
- *  Copyright (C) 2007 Gabor Juhos <juhosg at openwrt.org>
+ *  Copyright (C) 2007,2009 Gabor Juhos <juhosg@openwrt.org>
  *
  *  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>
- *
- *  This program is free software; you can redistribute it and/or
- *  modify it under the terms of the GNU General Public License
- *  as published by the Free Software Foundation; either version 2
- *  of the License, or (at your option) any later version.
- *
- *  This program is distributed in the hope that it will be useful,
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *  GNU General Public License for more details.
- *
- *  You should have received a copy of the GNU General Public License
- *  along with this program; if not, write to the
- *  Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- *  Boston, MA  02110-1301, USA.
  */
 
 #define SIG_LEN                4
@@ -49,6 +35,7 @@
 #define SIG_BR6114WG   SIG_BR6104IPC
 #define SIG_BR6524K    "2-K-"
 #define SIG_BR6524KP   "2-KP"  /* FIXME: valid? */
+#define SIG_BR6524N    "WNRA"
 #define SIG_BR6524WG   "2-WG"  /* FIXME: valid? */
 #define SIG_BR6524WP   "2-WP"  /* FIXME: valid? */
 #define SIG_BR6541K    "4--K"
@@ -60,6 +47,7 @@
 #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
@@ -75,6 +63,3 @@ struct csys_header {
        uint32_t addr;
        uint32_t size;
 };
-
-
-