Added support for small devices without FlexRAM.

It looks a bit messy with the if statements checking for flexram, but most of those are for statement that pad the data with 0xFF to the sector size. I don't know if this is needed for K20 devices, can you just call program_section with the data size being less than a sector?