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
tree: 23c0bdee1fb572b5badd80293ea493167a7ffbe1
  1. classes/
  2. common/
  3. conf/
  4. COPYING.apache-2.0
  5. COPYING.MIT
  6. LICENSE