obmc-flash-bmc: Set boot env variables with info of new image
When an image is updated, update the env variables to indicate
u-boot and kernel the ubi information to find the new image.
Store their current values to the alternate env variable before
updating in case the there chips switch due to a failure,
there is a pointer to an existing version.
Update the env variable if the volume was succesfully updated,
create the ubiblock after the successful volume update.
Change-Id: Ia6e3eb133a6535b5de6ecbba4af262c63f2dc140
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
1 file changed