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

its big endian

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/linux/universal/linux-4.9/drivers/mtd/devices/spiflash_selfmap.c

    r31630 r31646  
    767767            {
    768768//          printk(KERN_EMERG "[0x%08X]\n",offset);
    769             if (*((__u32 *) buf) == SQUASHFS_MAGIC)
     769            if (*((__u32 *) buf) == SQUASHFS_MAGIC_SWAP)
    770770                {
    771771                printk(KERN_EMERG "\nfound squashfs at %X\n",offset);
Note: See TracChangeset for help on using the changeset viewer.