ar71xx: Add Support for the Bitmain Antminer S1
[15.05/openwrt.git] / tools / firmware-utils / src / mktplinkfw.c
index 80db8f8..87340db 100644 (file)
@@ -30,6 +30,7 @@
 #define ALIGN(x,a) ({ typeof(a) __a = (a); (((x) + __a - 1) & ~(__a - 1)); })
 
 #define HEADER_VERSION_V1      0x01000000
+#define HWID_ANTMINER_S1       0x04440001
 #define HWID_GL_INET_V1                0x08000001
 #define HWID_GS_OOLITE_V1      0x3C000101
 #define HWID_TL_MR10U_V1       0x00100101
@@ -412,6 +413,11 @@ static struct board_info boards[] = {
                .hw_rev         = 1,
                .layout_id      = "16Mlzma",
        }, {
+               .id             = "ANTMINER-S1",
+               .hw_id          = HWID_ANTMINER_S1,
+               .hw_rev         = 1,
+               .layout_id      = "8Mlzma",
+       }, {
                /* terminating entry */
        }
 };