diff options
author | Randall Spangler <rspangler@chromium.org> | 2012-07-17 09:35:48 -0700 |
---|---|---|
committer | Gerrit <chrome-bot@google.com> | 2012-07-17 10:50:30 -0700 |
commit | c44c17890c2fbda1edc74361b0174fed405f9eee (patch) | |
tree | 5aef62d95ede8a41b26e763ef58d4dc045ed8842 /common/vboot_hash.c | |
parent | dae19428a6124300dc91ad4167ed3093d3dc3e07 (diff) | |
download | chrome-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 'common/vboot_hash.c')
-rw-r--r-- | common/vboot_hash.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/common/vboot_hash.c b/common/vboot_hash.c index 6feba42229..d6b37fda28 100644 --- a/common/vboot_hash.c +++ b/common/vboot_hash.c @@ -113,8 +113,8 @@ static void vboot_hash_init(void) data_size = tag->size; } else { /* Start computing the hash of firmware A */ - vboot_hash_start(CONFIG_FW_A_OFF - CONFIG_FLASH_BASE, - CONFIG_FW_A_SIZE, NULL, 0); + vboot_hash_start(CONFIG_FW_RW_OFF - CONFIG_FLASH_BASE, + CONFIG_FW_RW_SIZE, NULL, 0); } } @@ -187,8 +187,8 @@ DECLARE_HOOK(HOOK_SYSJUMP, vboot_hash_preserve_state, HOOK_PRIO_DEFAULT); static int command_hash(int argc, char **argv) { - uint32_t offset = CONFIG_FW_A_OFF - CONFIG_FLASH_BASE; - uint32_t size = CONFIG_FW_A_SIZE; + uint32_t offset = CONFIG_FW_RW_OFF - CONFIG_FLASH_BASE; + uint32_t size = CONFIG_FW_RW_SIZE; char *e; if (argc == 2 && !strcasecmp(argv[1], "abort")) { |