Tweaks to SPI flash implementation to accomodate small RAM amount.