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 /chip/stm32/config-stm32l15x.h | |
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 'chip/stm32/config-stm32l15x.h')
-rw-r--r-- | chip/stm32/config-stm32l15x.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/chip/stm32/config-stm32l15x.h b/chip/stm32/config-stm32l15x.h index 8e40b9778f..c9482e7950 100644 --- a/chip/stm32/config-stm32l15x.h +++ b/chip/stm32/config-stm32l15x.h @@ -13,24 +13,24 @@ /* Size of one firmware image in flash */ #define CONFIG_FW_IMAGE_SIZE (64 * 1024) -#define CONFIG_FW_RO_OFF 0 -#define CONFIG_FW_RO_SIZE CONFIG_FW_IMAGE_SIZE -#define CONFIG_FW_A_OFF CONFIG_FW_IMAGE_SIZE -#define CONFIG_FW_A_SIZE CONFIG_FW_IMAGE_SIZE -#define CONFIG_FW_B_OFF (2 * CONFIG_FW_IMAGE_SIZE) -#define CONFIG_FW_B_SIZE CONFIG_FW_IMAGE_SIZE +#define CONFIG_FW_RO_OFF 0 +#define CONFIG_FW_RO_SIZE CONFIG_FW_IMAGE_SIZE +#define CONFIG_FW_RW_OFF CONFIG_FW_IMAGE_SIZE +#define CONFIG_FW_RW_SIZE CONFIG_FW_IMAGE_SIZE +#define CONFIG_FW_RW_B_OFF (2 * CONFIG_FW_IMAGE_SIZE) +#define CONFIG_FW_RW_B_SIZE CONFIG_FW_IMAGE_SIZE -#define CONFIG_SECTION_RO_OFF CONFIG_FW_RO_OFF -#define CONFIG_SECTION_RO_SIZE CONFIG_FW_RO_SIZE -#define CONFIG_SECTION_A_OFF CONFIG_FW_A_OFF -#define CONFIG_SECTION_A_SIZE CONFIG_FW_A_SIZE -#define CONFIG_SECTION_B_OFF CONFIG_FW_B_OFF -#define CONFIG_SECTION_B_SIZE CONFIG_FW_B_SIZE +#define CONFIG_SECTION_RO_OFF CONFIG_FW_RO_OFF +#define CONFIG_SECTION_RO_SIZE CONFIG_FW_RO_SIZE +#define CONFIG_SECTION_RW_OFF CONFIG_FW_RW_OFF +#define CONFIG_SECTION_RW_SIZE CONFIG_FW_RW_SIZE +#define CONFIG_SECTION_RW_B_OFF CONFIG_FW_RW_B_OFF +#define CONFIG_SECTION_RW_B_SIZE CONFIG_FW_RW_B_SIZE /* no keys for now */ #define CONFIG_VBOOT_ROOTKEY_OFF (CONFIG_FW_RO_OFF + CONFIG_FW_RO_SIZE) -#define CONFIG_VBLOCK_A_OFF (CONFIG_FW_A_OFF + CONFIG_FW_A_SIZE) -#define CONFIG_VBLOCK_B_OFF (CONFIG_FW_B_OFF + CONFIG_FW_B_SIZE) +#define CONFIG_VBLOCK_RW_OFF (CONFIG_FW_RW_OFF + CONFIG_FW_RW_SIZE) +#define CONFIG_VBLOCK_RW_B_OFF (CONFIG_FW_RW_B_OFF + CONFIG_FW_RW_B_SIZE) #define CONFIG_VBOOT_ROOTKEY_SIZE 0 #define CONFIG_VBLOCK_SIZE 0 |