summaryrefslogtreecommitdiff
path: root/common/firmware_image.lds.S
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 /common/firmware_image.lds.S
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 'common/firmware_image.lds.S')
-rw-r--r--common/firmware_image.lds.S8
1 files changed, 4 insertions, 4 deletions
diff --git a/common/firmware_image.lds.S b/common/firmware_image.lds.S
index cd095f9634..15e784f45d 100644
--- a/common/firmware_image.lds.S
+++ b/common/firmware_image.lds.S
@@ -19,14 +19,14 @@ SECTIONS
*(.image.RO)
} > FLASH =0xff
. = ALIGN(CONFIG_FLASH_BANK_SIZE);
- .image.A : AT(CONFIG_FLASH_BASE + CONFIG_SECTION_A_OFF) {
- *(.image.A)
+ .image.RW : AT(CONFIG_FLASH_BASE + CONFIG_SECTION_RW_OFF) {
+ *(.image.RW)
BYTE(0xEA) /* Mark end explicitly */
} > FLASH =0xff
#ifdef CONFIG_RW_B
. = ALIGN(CONFIG_FLASH_BANK_SIZE);
- .image.B : AT(CONFIG_FLASH_BASE + CONFIG_SECTION_B_OFF) {
- *(.image.B)
+ .image.RW_B : AT(CONFIG_FLASH_BASE + CONFIG_SECTION_RW_B_OFF) {
+ *(.image.RW_B)
BYTE(0xEB) /* Mark end explicitly */
} > FLASH =0xff
#endif