state: use packed attribute for on storage structs
These structs are used for on-storage data layouts. They should be not
affected by different integer precisions and alignment optimizations of
32bit or 64bit machines. Using the architecture independent integer data
types, like uint32_t, achieves the former, using the packed attribute
the later.

Signed-off-by: Stefan Lengfeld <s.lengfeld@phytec.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 7691495 commit c55e8e1a19fa37c1bc49a1a6ba666135bdc45d8a
@Sascha Hauer Sascha Hauer authored on 20 Mar 2017
Showing 3 changed files
View
src/barebox-state/backend_bucket_circular.c
View
src/barebox-state/backend_bucket_direct.c
View
src/barebox-state/backend_format_raw.c