Merge changes Ibff1f74e,Ic82595cf,If4e01cab

* changes:
  fastboot: Added tos as an optional image
  fastboot: Fixed optional entries
  fastboot: allow format on devices with small buffers