firmware-utils/mktplinkfw: add support for the TL-MR3220 v1
authorGabor Juhos <juhosg@openwrt.org>
Fri, 10 Dec 2010 17:57:43 +0000 (17:57 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Fri, 10 Dec 2010 17:57:43 +0000 (17:57 +0000)
SVN-Revision: 24438

tools/firmware-utils/src/mktplinkfw.c

index ced79e1cc0cd97a0257db21714e1ee4c116dfdaf..aea7e3595a3bd12445b2120676dc240d9f56374e 100644 (file)
@@ -33,6 +33,7 @@
 #endif
 
 #define HEADER_VERSION_V1      0x01000000
+#define HWID_TL_MR3220_V1      0x32200001
 #define HWID_TL_MR3420_V1      0x34200001
 #define HWID_TL_WA901ND_V1     0x09010001
 #define HWID_TL_WR741ND_V1     0x07410001
@@ -118,6 +119,14 @@ char md5salt_boot[MD5SUM_LEN] = {
 
 static struct board_info boards[] = {
        {
+               .id             = "TL-MR3220v1",
+               .hw_id          = HWID_TL_MR3220_V1,
+               .hw_rev         = 1,
+               .fw_max_len     = 0x3c0000,
+               .kernel_la      = 0x80060000,
+               .kernel_ep      = 0x80060000,
+               .rootfs_ofs     = 0x140000,
+       }, {
                .id             = "TL-MR3420v1",
                .hw_id          = HWID_TL_MR3420_V1,
                .hw_rev         = 1,