bcm63xx: Move the OpenWrt rootfs length field
[openwrt/openwrt.git] / target / linux / brcm63xx / files / arch / mips / include / asm / mach-bcm63xx / bcm_tag.h
index 89650d1ea31a742e3c4220061a48dd077513cd28..2730edc9ad993febc5894dfb337e00172a431fec 100644 (file)
@@ -61,8 +61,8 @@ struct bcm_tag {
        char imageCRC[CRC_LEN];                // 216-219: CRC32 of image less imagetag (kernel for Alice Gate)
         char rootfsCRC[CRC_LEN];               // 220-223: CRC32 of rootfs partition
         char kernelCRC[CRC_LEN];               // 224-227: CRC32 of kernel partition
-     char rootLength[4];                        // 228-231: steal from reserved1 to keep the real root length so we can use in the flash map even after we have change the rootLength to 0 to satisfy devices that check CRC on every boot
-        char reserved1[4];                     // 232-235: Unused at present
+        char imageSequence[4];                // 228-231: Image sequence number
+        char rootLength[4];                    // 232-235: steal from reserved1 to keep the real root length so we can use in the flash map even after we have change the rootLength to 0 to satisfy devices that check CRC on every boot
         char headerCRC[CRC_LEN];               // 236-239: CRC32 of header excluding tagVersion
         char reserved2[16];                    // 240-255: Unused at present
 };