g: update rollback info map for both RO and RW sections
g: update rollback info map for both RO and RW sections

Both RO and RW sections have their respective rollback spaces in
INFO1, but until now Cr50 code did not honor the RO binaries' headers
rollback maps and did not update the appropriate iNFO1 space.

With this patch both RO and RW info maps are updated to the lowest
level of the two images found in the flash when invoked during
board_init() or to match the currently active RO/RW when invoked
through vendor command indicating successful OS startup.

BRANCH=cr50, cr50-mp
BUG=b:136284186
TEST=tried the new image on a chip with freshly erased INFO1 space:
  first running a DBG image, which does not touch INFO1 maps:
  > vers
  ...
  RO_A:  * 0.0.11/bc74f7dc
  RO_B:    0.0.11/4d655eab
  RW_A:  * 0.4.24/DBG/cr50_v2.0.2744-d79516a9d
  RW_B:    0.4.24/DBG/cr50_v2.0.2744-d79516a9d
  ..
  > sysinfo
  ...
  Rollback:    0/1/1 0/128/128
  ...

  Then running an image with debug extensions disabled:

  > vers
  ...
  RO_A:  * 0.0.11/bc74f7dc
  RO_B:    0.0.11/4d655eab
  RW_A:    0.4.24/DBG/cr50_v2.0.2744-d79516a9d
  RW_B:  * 0.4.24/cr50_v2.0.2744-d79516a9d
  ...
  > sysinfo
  ...
  Rollback:    1/1/1 2/128/2
  ...

Change-Id: I259a3f46c03199633ca85389872449d667f172fb
Signed-off-by: Vadim Bendebury <5515d6d2d0829cbe0dd0dcf2094aaded06d58514@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1949548
Reviewed-by: Mary Ruthven <81380f3403fed74252e92df3ed012a1819ec6296@chromium.org>

coreboot/chrome-ec,coreboot/chrome-ec,coreboot/chrome-ec,coreboot/chrome-ec,coreboot/chrome-ec,coreboot/chrome-ec