diff options
author | Sol Boucher <solb@chromium.org> | 2015-05-07 16:41:46 -0700 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2015-05-08 19:45:55 +0200 |
commit | fa7a45524f7504646557902bff2c431bc26119ab (patch) | |
tree | 3a1e545dec692dd01bfb699af9593ea2aab9f16c /util/cbfstool/flashmap/fmap.h | |
parent | 65d9520e15d6ade6b80778536937af5cdb8dfb6d (diff) |
cbfstool: Fix strange flashmap whitespace
This is being fixed in a separate commit so we can diff against the
library as it existed in its own repo.
Change-Id: Id87cd8f4e015a5ed7dd8a19302cc22ab744fefe8
Signed-off-by: Sol Boucher <solb@chromium.org>
Reviewed-on: http://review.coreboot.org/10141
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'util/cbfstool/flashmap/fmap.h')
-rw-r--r-- | util/cbfstool/flashmap/fmap.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/util/cbfstool/flashmap/fmap.h b/util/cbfstool/flashmap/fmap.h index 9cea22d37a..677576ab7d 100644 --- a/util/cbfstool/flashmap/fmap.h +++ b/util/cbfstool/flashmap/fmap.h @@ -54,10 +54,10 @@ enum fmap_flags { /* Mapping of volatile and static regions in firmware binary */ struct fmap_area { - uint32_t offset; /* offset relative to base */ - uint32_t size; /* size in bytes */ - uint8_t name[FMAP_STRLEN]; /* descriptive name */ - uint16_t flags; /* flags for this area */ + uint32_t offset; /* offset relative to base */ + uint32_t size; /* size in bytes */ + uint8_t name[FMAP_STRLEN]; /* descriptive name */ + uint16_t flags; /* flags for this area */ } __attribute__((packed)); struct fmap { @@ -111,7 +111,7 @@ extern int fmap_print(const struct fmap *map); * returns <0 to indicate error */ extern int fmap_get_csum(const uint8_t *image, - unsigned int image_len, uint8_t **digest); + unsigned int image_len, uint8_t **digest); /* @@ -144,7 +144,7 @@ char *fmap_flags_to_string(uint16_t flags); * returns NULL to indicate failure */ extern struct fmap *fmap_create(uint64_t base, - uint32_t size, uint8_t *name); + uint32_t size, uint8_t *name); /* free memory used by an fmap structure */ extern void fmap_destroy(struct fmap *fmap); @@ -172,8 +172,8 @@ extern int fmap_size(struct fmap *fmap); * returns <0 to indicate failure */ extern int fmap_append_area(struct fmap **fmap, - uint32_t offset, uint32_t size, - const uint8_t *name, uint16_t flags); + uint32_t offset, uint32_t size, + const uint8_t *name, uint16_t flags); /* * fmap_find_area - find an fmap_area entry (by name) and return pointer to it |