mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
[brcm63xx] add support for the Pirelli AG226G board (#5337)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17190 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -219,6 +219,10 @@ int tagfile(const char *kernel, const char *rootfs, const char *bin,
|
||||
fseek(binfile, rootfsoff + rootfslen - fwaddr, SEEK_SET);
|
||||
fwrite(&deadcode, sizeof(uint32_t), 1, binfile);
|
||||
|
||||
/* Flush the binfile buffer so that when we read from file, it contains
|
||||
* everything in the buffer
|
||||
*/
|
||||
fflush(binfile);
|
||||
|
||||
/* Choose and compute the CRC32 that should be inserted in the tag */
|
||||
if ( tagid && ( (strncmp(tagid, "bccfe", TAGID_LEN) == 0)) || ( strncmp(tagid, "bc300", TAGID_LEN) == 0)) {
|
||||
|
||||
Reference in New Issue
Block a user