obmc-flash-bmc: Remove existing image before updating

Delete any existing non-current image on the requested mtd
device before updating a new one to make space.

Resolves openbmc/openbmc#2114

Change-Id: I4dd4a3881bc5c3fb65a753e043fd1e6187967808
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
1 file changed
tree: 4cf7a8471a53b1a807dc6139f6aee08a1741f310
  1. classes/
  2. common/
  3. conf/
  4. COPYING.apache-2.0
  5. COPYING.MIT
  6. LICENSE