summaryrefslogtreecommitdiff
path: root/host/lib/include/flashrom.h
diff options
context:
space:
mode:
Diffstat (limited to 'host/lib/include/flashrom.h')
-rw-r--r--host/lib/include/flashrom.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/host/lib/include/flashrom.h b/host/lib/include/flashrom.h
index 4a16b194..0a4f885b 100644
--- a/host/lib/include/flashrom.h
+++ b/host/lib/include/flashrom.h
@@ -8,6 +8,7 @@
#include <stdint.h>
#include "2return_codes.h"
+#include "fmap.h"
#define FLASHROM_PROGRAMMER_INTERNAL_AP "host"
#define FLASHROM_PROGRAMMER_INTERNAL_EC "ec"
@@ -23,14 +24,9 @@ struct firmware_image {
const char *programmer;
uint32_t size; /* buffer size. */
uint8_t *data; /* data allocated buffer to read/write with. */
- /*
- * TODO(quasisec b/207808292): Merge with other instance in vboot_ref
- * such that the code becomes common.
- *
char *file_name;
char *ro_version, *rw_version_a, *rw_version_b;
FmapHeader *fmap_header;
- */
};
/**