summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorRandall Spangler <rspangler@chromium.org>2012-07-17 09:35:48 -0700
committerGerrit <chrome-bot@google.com>2012-07-17 10:50:30 -0700
commitc44c17890c2fbda1edc74361b0174fed405f9eee (patch)
tree5aef62d95ede8a41b26e763ef58d4dc045ed8842 /util
parentdae19428a6124300dc91ad4167ed3093d3dc3e07 (diff)
downloadchrome-ec-c44c17890c2fbda1edc74361b0174fed405f9eee.tar.gz
Rename A and B images to RW and RW_B, part 1
All of our current EC configs have RO and a single RW image. Calling that image 'A' is confusing, particularly when combined with EC software sync (where the RW image is updated from either the A or B AP RW firmware). So, rename it. This changes all the build artifacts and constants. Internal EC commands and host commands still refer to A/B; that will be fixed in part 2. BUG=none TEST=build link, snow, bds Change-Id: Icfed4914745f0799bb71befb6a6563cfd8bc90ab Signed-off-by: Randall Spangler <rspangler@chromium.org> Reviewed-on: https://gerrit.chromium.org/gerrit/27649 Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'util')
-rw-r--r--util/burn_my_ec.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/util/burn_my_ec.c b/util/burn_my_ec.c
index afc14d3359..71fdfd740e 100644
--- a/util/burn_my_ec.c
+++ b/util/burn_my_ec.c
@@ -141,11 +141,11 @@ int main(int argc, char *argv[])
return -3;
#ifdef CONFIG_RW_B
- flash_partition(EC_IMAGE_RW_B, data + CONFIG_FW_B_OFF,
- CONFIG_FW_B_OFF, CONFIG_FW_B_SIZE);
+ flash_partition(EC_IMAGE_RW_B, data + CONFIG_FW_RW_B_OFF,
+ CONFIG_FW_RW_B_OFF, CONFIG_FW_RW_B_SIZE);
#endif /* CONFIG_RW_B */
- flash_partition(EC_IMAGE_RW_A, data + CONFIG_FW_A_OFF,
- CONFIG_FW_A_OFF, CONFIG_FW_A_SIZE);
+ flash_partition(EC_IMAGE_RW_A, data + CONFIG_FW_RW_OFF,
+ CONFIG_FW_RW_OFF, CONFIG_FW_RW_SIZE);
flash_partition(EC_IMAGE_RO, data + CONFIG_FW_RO_OFF,
CONFIG_FW_RO_OFF, CONFIG_FW_RO_SIZE);