Files
OpenCellular/board
Aseda Aboagye 9015087c90 cr50: Always read LONG_LIFE_SCRATCH1 for brdprop.
The `brdprop` command simply returned board_properties, however,
board_properties is just a cache of the properties from init time.  When
the `brdprop` command was issued, it would only return the cached value.

This commit changes the functionality of the `brdprop` command to always
query the LONG_LIFE_SCRATCH1 register.

BUG=b:63456150
BRANCH=cr50
TEST=Flash bob.  Unplug and plug in battery, verify that
BOARD_WP_ASSERTED is set when running the `brdprop` command.

Change-Id: I0a7feb5e63f3e528b554ed0820924ac0705f5517
Signed-off-by: Aseda Aboagye <aaboagye@google.com>
Reviewed-on: https://chromium-review.googlesource.com/566240
Commit-Ready: Aseda Aboagye <aaboagye@chromium.org>
Tested-by: Aseda Aboagye <aaboagye@chromium.org>
Reviewed-by: Vadim Bendebury <vbendeb@chromium.org>
Reviewed-by: Mary Ruthven <mruthven@chromium.org>
2017-07-11 17:48:04 -07:00
..
2017-03-16 11:25:50 -07:00
2017-07-11 17:48:02 -07:00
2017-03-16 11:25:50 -07:00
2017-03-16 11:25:50 -07:00
2017-07-03 04:30:00 -07:00
2017-06-16 17:24:28 -07:00
2017-07-10 15:27:23 -07:00
2017-05-18 06:03:52 -07:00
2017-05-03 03:31:30 -07:00
2017-03-16 11:25:50 -07:00
2016-05-04 16:15:02 -07:00
2014-04-02 19:58:53 +00:00
2017-05-16 07:47:05 -07:00