diff options
author | Shawn Nematbakhsh <shawnn@chromium.org> | 2015-09-22 18:44:13 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2015-09-24 18:07:01 -0700 |
commit | 854d5a6e7fa47e44797891e6fad392a344003b46 (patch) | |
tree | 5a2fd4137eb9660ef5c4d459b88d20f987498fd7 /core/cortex-m | |
parent | 324d6b807f18c456c16dad534f88ef22da34fdc5 (diff) | |
download | chrome-ec-854d5a6e7fa47e44797891e6fad392a344003b46.tar.gz |
cleanup: Remove CONFIG_FW_IMAGE_SIZE
Since CONFIG_RO_SIZE and CONFIG_RW_SIZE now exist (which may
theoretically be different sizes), it is no longer useful to globally
define the size of an image.
BUG=chromium:535027
BRANCH=None
TEST=`make buildall -j`. Also, verify glados / glados_pd continue to
function as expected.
Signed-off-by: Shawn Nematbakhsh <shawnn@chromium.org>
Change-Id: Ie29959923bc5d02b4d7d6d507ff2191bcb7d24c8
Reviewed-on: https://chromium-review.googlesource.com/301743
Commit-Ready: Shawn N <shawnn@chromium.org>
Tested-by: Shawn N <shawnn@chromium.org>
Reviewed-by: Bill Richardson <wfrichar@chromium.org>
Diffstat (limited to 'core/cortex-m')
-rw-r--r-- | core/cortex-m/mpu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/cortex-m/mpu.c b/core/cortex-m/mpu.c index 8cdf4c9194..e49a8d533d 100644 --- a/core/cortex-m/mpu.c +++ b/core/cortex-m/mpu.c @@ -141,7 +141,7 @@ int mpu_protect_ram(void) int mpu_lock_ro_flash(void) { return mpu_lock_region(REGION_FLASH_MEMORY, CONFIG_RO_MEM_OFF, - CONFIG_FW_IMAGE_SIZE, MPU_ATTR_FLASH_MEMORY); + CONFIG_RO_SIZE, MPU_ATTR_FLASH_MEMORY); } int mpu_lock_rw_flash(void) |