summaryrefslogtreecommitdiff
path: root/driver/accelgyro_lsm6ds0.c
diff options
context:
space:
mode:
authorScott Collyer <scollyer@google.com>2019-10-28 18:26:40 -0700
committerCommit Bot <commit-bot@chromium.org>2019-11-04 18:47:41 +0000
commitdc3d384f983c46285531c3e424d253133814ec3d (patch)
treea902310cb1a792281bdd2001e338e39245c01c82 /driver/accelgyro_lsm6ds0.c
parent3953a7e5e7fa22be68825300b1a7791a82c13818 (diff)
downloadchrome-ec-dc3d384f983c46285531c3e424d253133814ec3d.tar.gz
fmap: Remove CONFIG_RO_STORAGE_OFF from EC_RO offset
The value CONFIG_RO_STORAGE_OFF was being used to define the area_offset for EC_RO. This means that when flashing EC_RO from the DUT, the bootloader region is not being written. This is causing issues when doing RO updates (like in dogfood programs) as the full data section is not being loaded properly. In the case of npcx, the previous bootloader would be coupled with the new RO image, This CL removes CONFIG_RO_STORAGE_OFF from the area_offset field of EC_RO so that both the header and RO image are written. BUG=b:142907781 BRANCH=None TEST=Tested with a script that mimics auto update by writing an older version of FW to RO, then uses the DUT to flash just the RO with a new version and then compares the RO that was read to what was supposed to be written. This script would always fail before, but with this CL now passes multiple iterations. Change-Id: I3d7af7de0dc1dfd24d6d304a8271290e6c6eb94e Signed-off-by: Scott Collyer <scollyer@google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1885107 Reviewed-by: Shelley Chen <shchen@chromium.org> Reviewed-by: Jett Rink <jettrink@chromium.org> Tested-by: Shelley Chen <shchen@chromium.org> (cherry picked from commit 4cb953efdb5413b3ad5a3853fa4e6c70b149901f) Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1898032 Commit-Queue: Karthikeyan Ramasubramanian <kramasub@chromium.org> Tested-by: Karthikeyan Ramasubramanian <kramasub@chromium.org>
Diffstat (limited to 'driver/accelgyro_lsm6ds0.c')
0 files changed, 0 insertions, 0 deletions