tools: kwbimage: Mark all BootROM structures __packed
authorPali Rohár <pali@kernel.org>
Fri, 23 Jul 2021 09:14:14 +0000 (11:14 +0200)
committerStefan Roese <sr@denx.de>
Sat, 31 Jul 2021 07:49:31 +0000 (09:49 +0200)
commita107c61b4180fb5bfe7d0044a25d6db829b8b00f
treefdc688f515b5f29cbc6d2c42b3b48c54d3533e61
parentb4f3cc2c42d97967a3a3c8796c340f6b07ecccac
tools: kwbimage: Mark all BootROM structures __packed

These structures must have specific size without padding, so mark them as
packed via the de-facto standard macro __packed. Also replace PACKED
macro.

Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Marek Behún <marek.behun@nic.cz>
Reviewed-by: Stefan Roese <sr@denx.de>
tools/kwbimage.h
tools/kwboot.c