aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/files/include/asm-mips/mach-bcm63xx
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2009-04-19 13:18:48 +0000
committerFlorian Fainelli <florian@openwrt.org>2009-04-19 13:18:48 +0000
commitfb6c465ea7f41f44e452d0080b77f4267ecff8dc (patch)
tree24c36cd0b8c1a791fc511888dd30f4c3a86da947 /target/linux/brcm63xx/files/include/asm-mips/mach-bcm63xx
parenta45fd8ec4d72a5b039ff7422f6596a1517751276 (diff)
downloadupstream-fb6c465ea7f41f44e452d0080b77f4267ecff8dc.tar.gz
upstream-fb6c465ea7f41f44e452d0080b77f4267ecff8dc.tar.bz2
upstream-fb6c465ea7f41f44e452d0080b77f4267ecff8dc.zip
[brcm63xx] make images that can be flashed using the stock firmware web interface, thanks to Anselmo Luginbuhl and Daniel Dickinson (#4909, #4943)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15253 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm63xx/files/include/asm-mips/mach-bcm63xx')
-rw-r--r--target/linux/brcm63xx/files/include/asm-mips/mach-bcm63xx/bcm_tag.h14
1 files changed, 9 insertions, 5 deletions
diff --git a/target/linux/brcm63xx/files/include/asm-mips/mach-bcm63xx/bcm_tag.h b/target/linux/brcm63xx/files/include/asm-mips/mach-bcm63xx/bcm_tag.h
index efc4f02ba2..7c170c05d9 100644
--- a/target/linux/brcm63xx/files/include/asm-mips/mach-bcm63xx/bcm_tag.h
+++ b/target/linux/brcm63xx/files/include/asm-mips/mach-bcm63xx/bcm_tag.h
@@ -14,17 +14,21 @@ struct bcm_tag {
unsigned char totalLength[IMAGE_LEN]; //Total length of image
unsigned char cfeAddress[ADDRESS_LEN]; // Address in memory of CFE
unsigned char cfeLength[IMAGE_LEN]; // Size of CFE
- unsigned char rootAddress[ADDRESS_LEN]; // Address in memory of rootfs
- unsigned char rootLength[IMAGE_LEN]; // Size of rootfs
+ unsigned char cfeRootAddress[ADDRESS_LEN]; // Address in memory of rootfs
+ unsigned char cfeRootLength[IMAGE_LEN]; // Size of rootfs
unsigned char kernelAddress[ADDRESS_LEN]; // Address in memory of kernel
unsigned char kernelLength[IMAGE_LEN]; // Size of kernel
unsigned char dualImage[2]; // Unused at present
unsigned char inactiveFlag[2]; // Unused at present
unsigned char reserved1[74]; // Reserved area not in use
unsigned char imageCRC[4]; // CRC32 of images
- unsigned char reserved2[16]; // Unused at present
- unsigned char headerCRC[4]; // CRC32 of header excluding tagVersion
- unsigned char reserved3[16]; // Unused at present
+// unsigned char reserved2[16]; // Unused at present
+ unsigned char reserved2[4]; //Unused
+ unsigned char rootAddress[ADDRESS_LEN]; // Address in memory of rootfs
+ unsigned char headerCRC[4]; // CRC32 of header excluding tagVersion
+// unsigned char reserved3[16]; // Unused at present
+ unsigned char reserved3[6]; // Unused at present
+ unsigned char rootLength[IMAGE_LEN]; // Size of rootfs
};
#endif /* __BCM63XX_TAG_H */