• Johny Mattsson's avatar
    Improved flash size detection. · 2b454abf
    Johny Mattsson authored
    With the recent flash layout changes, it became very possible to misdetect the
    flash size. We're now using the partition table as the guard marker, since
    that really shouldn't be all 0xff. Also, we now don't clobber the flash
    device id (and keep block/sector/page/mask values).
    2b454abf
platform_flash.c 6 KB