You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Felix Fietkau 9e233fb241 mtd: add missing <endian.h> include
trx.c in mtd would not include endian.h, so on systems that do not have
this header implicitly included from the other headers (like musl), both
__BYTE_ORDER and __BIG_ENDIAN would be undefined and thus 0, leading to
it always presuming a big-endian system. this would lead to issues when
running mtd fixtrx on little-endian systems, as it would never recognize
the TRX magic as result of the broken STORE32_LE() macro.

Signed-off-by: Shiz <hi@shiz.me>
Tested-by: Shiz <hi@shiz.me>

SVN-Revision: 45896
9 years ago
..
Makefile bcm53xx: add fixtrx 10 years ago
crc32.c packages: clean up the package folder 11 years ago
crc32.h packages: clean up the package folder 11 years ago
fis.c packages: clean up the package folder 11 years ago
fis.h packages: clean up the package folder 11 years ago
imagetag.c package: mtd: move bcm963xx_tag definition into source code 9 years ago
jffs2.c mtd: add support for bad blocks in NAND flash 10 years ago
jffs2.h packages: clean up the package folder 11 years ago
md5.c packages: clean up the package folder 11 years ago
md5.h packages: clean up the package folder 11 years ago
mtd.c mtd: fix md5sum error checking 9 years ago
mtd.h mtd: add support for bad blocks in NAND flash 10 years ago
seama.c packages: clean up the package folder 11 years ago
seama.h packages: clean up the package folder 11 years ago
trx.c mtd: add missing <endian.h> include 9 years ago