diff options
Diffstat (limited to 'common/fmap.c')
-rw-r--r-- | common/fmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/fmap.c b/common/fmap.c index 289883abce..47fa75f0e9 100644 --- a/common/fmap.c +++ b/common/fmap.c @@ -101,7 +101,7 @@ const struct _ec_fmap { .fmap_ver_major = FMAP_VER_MAJOR, .fmap_ver_minor = FMAP_VER_MINOR, .fmap_base = CONFIG_PROGRAM_MEMORY_BASE, - .fmap_size = CONFIG_FLASH_SIZE, + .fmap_size = CONFIG_FLASH_SIZE_BYTES, /* Used to distinguish the EC FMAP from other FMAPs */ .fmap_name = "EC_FMAP", .fmap_nareas = NUM_EC_FMAP_AREAS, |