summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcychiang <cychiang@chromium.org>2012-08-27 11:35:15 +0800
committerYung-Chieh Lo <yjlou@chromium.org>2012-08-26 21:34:06 -0700
commit3a5c4ee4bfc2f24fe2dbc6df109b541bd03986bf (patch)
tree1ab517843bd6f6881033aaff368da0b1d70ee6e4
parent263fb4746492fe1971e0f35cfa6b604216f2ed88 (diff)
downloadvboot-3a5c4ee4bfc2f24fe2dbc6df109b541bd03986bf.tar.gz
Searching for __FMAP__ header in 64-byte aligned address
BUG=chrome-os-partner:13134,11728 TEST=dump_fmap a firmware image, it will not find fmap of ec image. Change-Id: I48681843a42689271a8c04ced191cd8458d56224 Reviewed-on: https://gerrit.chromium.org/gerrit/31436 Reviewed-by: Yung-Chieh Lo <yjlou@chromium.org> Tested-by: Yung-Chieh Lo <yjlou@chromium.org>
-rw-r--r--host/include/fmap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/include/fmap.h b/host/include/fmap.h
index 7da2dd90..e8ab9998 100644
--- a/host/include/fmap.h
+++ b/host/include/fmap.h
@@ -14,7 +14,7 @@
#define FMAP_NAMELEN 32
#define FMAP_SIGNATURE "__FMAP__"
#define FMAP_SIGNATURE_SIZE 8
-#define FMAP_SEARCH_STRIDE 4
+#define FMAP_SEARCH_STRIDE 64
typedef struct _FmapHeader {
char fmap_signature[FMAP_SIGNATURE_SIZE]; /* avoiding endian issues */
uint8_t fmap_ver_major;