openwrtv4/package/system/mtd/src
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
2015-06-05 09:00:02 +00:00
..
crc32.c
crc32.h
fis.c
fis.h
imagetag.c package: mtd: move bcm963xx_tag definition into source code 2015-02-27 17:38:25 +00:00
jffs2.c mtd: add support for bad blocks in NAND flash 2014-03-26 10:50:09 +00:00
jffs2.h
Makefile bcm53xx: add fixtrx 2014-09-21 21:56:31 +00:00
md5.c
md5.h
mtd.c mtd: fix md5sum error checking 2015-03-05 20:25:02 +00:00
mtd.h mtd: add support for bad blocks in NAND flash 2014-03-26 10:50:09 +00:00
seama.c
seama.h
trx.c mtd: add missing <endian.h> include 2015-06-05 09:00:02 +00:00