diff options
author | Edward O'Callaghan <quasisec@google.com> | 2022-02-10 10:57:56 +1100 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2022-02-19 07:19:14 +0000 |
commit | 6e537e8cefffafabddb323b58fa1fb2a605ea195 (patch) | |
tree | f51a4b5ff8b66b246f311584a3b9acdbcea57c07 /host | |
parent | 9fadc6f589796f502044fdb812d9da296a64c4d2 (diff) | |
download | vboot-6e537e8cefffafabddb323b58fa1fb2a605ea195.tar.gz |
vboot_ref: merge struct firmware_image;
BUG=b:207808292
BRANCH=none
TEST=none
Signed-off-by: Edward O'Callaghan <quasisec@google.com>
Change-Id: I49bd29dcfe12ad9845213d07bc6bee71980a8cd1
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/3461092
Tested-by: Edward O'Callaghan <quasisec@chromium.org>
Auto-Submit: Edward O'Callaghan <quasisec@chromium.org>
Reviewed-by: Nikolai Artemiev <nartemiev@google.com>
Reviewed-by: Sam McNally <sammc@chromium.org>
Commit-Queue: Edward O'Callaghan <quasisec@chromium.org>
Diffstat (limited to 'host')
-rw-r--r-- | host/lib/include/flashrom.h | 6 |
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; - */ }; /** |