mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-08 08:31:52 +00:00
Treat SYSTEM_IMAGE_RW_B also as RW copy
SYSTEM_IMAGE_RW_B hasn't been globally treated as a RW copy. This change makes EC treat it also as a RW copy. BUG=none BRANCH=none TEST=make buildall Change-Id: Iae5a9090cdf30f980014daca44cdf8f2a65ea1f2 Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/656337 Reviewed-by: Randall Spangler <rspangler@chromium.org>
This commit is contained in:
committed by
chrome-bot
parent
103108ec21
commit
5da63f4ea2
@@ -313,7 +313,7 @@ static int test_overwrite_other(void)
|
||||
uint32_t offset, size;
|
||||
|
||||
/* Test that we can overwrite the other image */
|
||||
if (system_get_image_copy() == SYSTEM_IMAGE_RW) {
|
||||
if (system_is_in_rw()) {
|
||||
offset = CONFIG_RO_STORAGE_OFF;
|
||||
size = CONFIG_RO_SIZE;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user