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 /chip/mec1322/config_flash_layout.h | |
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 'chip/mec1322/config_flash_layout.h')
-rw-r--r-- | chip/mec1322/config_flash_layout.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/chip/mec1322/config_flash_layout.h b/chip/mec1322/config_flash_layout.h index 4822329ae3..e79dd8b70e 100644 --- a/chip/mec1322/config_flash_layout.h +++ b/chip/mec1322/config_flash_layout.h @@ -26,12 +26,6 @@ #define CONFIG_EC_WRITABLE_STORAGE_OFF (CONFIG_FLASH_SIZE - 0x40000) #define CONFIG_EC_WRITABLE_STORAGE_SIZE 0x20000 - -/* Size of one firmware image in flash */ -#ifndef CONFIG_FW_IMAGE_SIZE -#define CONFIG_FW_IMAGE_SIZE (96 * 1024) -#endif - /* Loader resides at the beginning of program memory */ #define CONFIG_LOADER_MEM_OFF 0 #define CONFIG_LOADER_SIZE 0x1000 @@ -50,7 +44,7 @@ */ #define CONFIG_RO_MEM_OFF (CONFIG_LOADER_MEM_OFF + \ CONFIG_LOADER_SIZE) -#define CONFIG_RO_SIZE CONFIG_FW_IMAGE_SIZE +#define CONFIG_RO_SIZE (96 * 1024) #define CONFIG_RW_MEM_OFF CONFIG_RO_MEM_OFF #define CONFIG_RW_SIZE CONFIG_RO_SIZE |