From fa7a45524f7504646557902bff2c431bc26119ab Mon Sep 17 00:00:00 2001 From: Sol Boucher Date: Thu, 7 May 2015 16:41:46 -0700 Subject: 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 Reviewed-on: http://review.coreboot.org/10141 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel Reviewed-by: Patrick Georgi --- util/cbfstool/flashmap/fmap.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'util/cbfstool/flashmap/fmap.h') 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 -- cgit v1.2.3