Bootrom: image validataion: Invalid IMS now causes boot failure
Bootrom: image validataion: Invalid IMS now causes boot failure

The results of the IMS validity test were being masked by the next-higher
software layer. Bad IMS values now cause a boot failure as expected.

Testing Done: Had found the bug by noting that the boot succeeded and no
error was reported by the test framework when the preloaded IMS e-Fuse
value was invalid (non-zero and containing equal numbers of 1's and 0s).
After the fix, observed that the invalid IMS caused the expected error
report and that the boot failed as expected.
Bug Number: SW-982
Review URL: https://reviews.leaflabs.com/r/1498/
Reviewed by: Jun Li

Signed-off-by:  Morgan Girling <980e61e2e2b82c453db57c2e8646c01fbd3318cd@bsquare.com>

gregkh/bootrom,projectara/bootrom