Fixed SPI flash support.
Added a chipdef for M25P40 SPI flash.
Added loading .bin as well as .hex.