Ignore:
Timestamp:
Mar 13, 2017, 11:28:42 AM (2 weeks ago)
Author:
brainslayer
Message:

its big endian

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/linux/universal/linux-4.9/drivers/mtd/maps/eoc5610_flash.c

    r31630 r31646  
    175175                        unsigned char *buf = (unsigned char *)0xbe000000;
    176176                        while ((offset + mymtd->erasesize) < mymtd->size) {
    177                                 if (*((__u32 *)buf) == SQUASHFS_MAGIC) {
     177                                if (*((__u32 *)buf) == SQUASHFS_MAGIC_SWAP) {
    178178                                        printk(KERN_EMERG
    179179                                               "\nfound squashfs at %X\n",
Note: See TracChangeset for help on using the changeset viewer.