diff options
author | Mary Ruthven <mruthven@chromium.org> | 2016-01-26 15:41:54 -0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2016-02-08 13:47:49 -0800 |
commit | 89424bfbedba6c06f4a4ef9e444a2c4d0575883a (patch) | |
tree | 56bcb8c496283832316e1ad06b1630a9d55a00ad | |
parent | e68019e3492a62980d5303cecb9cc29cf96cc170 (diff) | |
download | chrome-ec-89424bfbedba6c06f4a4ef9e444a2c4d0575883a.tar.gz |
fmap: note fmap_name dependency
fmap_decode now checks the fmap name to determine if the fmap it is
decoding is the correct one. This change puts a comment in the ec fmap
header to note the use.
BUG=none
BRANCH=none
TEST=make buildall -j
CQ-DEPEND=CL:322262
Change-Id: Icdd56eef5474b51cb178b6ba37c530c2357341b2
Signed-off-by: Mary Ruthven <mruthven@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/326450
Reviewed-by: David Hendricks <dhendrix@chromium.org>
-rw-r--r-- | common/fmap.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/common/fmap.c b/common/fmap.c index 2402484b52..c76b6621d3 100644 --- a/common/fmap.c +++ b/common/fmap.c @@ -74,6 +74,7 @@ const struct _ec_fmap { .fmap_ver_minor = FMAP_VER_MINOR, .fmap_base = CONFIG_PROGRAM_MEMORY_BASE, .fmap_size = CONFIG_FLASH_SIZE, + /* Used to distinguish the EC FMAP from other FMAPs */ .fmap_name = "EC_FMAP", .fmap_nareas = NUM_EC_FMAP_AREAS, }, |