mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-12-27 18:25:05 +00:00
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>
This commit is contained in:
@@ -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,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user