image_types_phosphor: mmc: Fill empty image with zeros
There are errors seeing in the eMMC when the empty space of an
image is filled with 0xff like it's done for NOR chips instead of
0s. Create a function to create empty images with 0s.
Also create an empty image for u-boot of 1MB (twice its current
size) so if the u-boot image that is flashed on a system is
smaller than what the system has, there's no leftover data at
the end that can cause issues.
Tested: Booted the new image-u-boot file on HW.
Change-Id: Ifc08b4e6a61fc52bbb37f13a0b02b2741a359997
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
1 file changed