• Shaka Huang's avatar
    Fix error parsing MTK boot.img · 968e6237
    Shaka Huang authored
    Should be copy & paste error:
    
    1. boot->r_fmt should be re-checked instead of boot->k_fmt once MTK header was found in ramdisk.
    
    2. ramdisk_size should be restored instead of kernel_size when uncompressed ramdisk was found.
    
    3. Correct header of ramdisk
    Signed-off-by: 's avatarShaka Huang <shakalaca@gmail.com>
    968e6237
bootimg.c 12.2 KB