diff options
author | Aaron Durbin <adurbin@chromium.org> | 2015-05-12 16:46:27 -0500 |
---|---|---|
committer | Aaron Durbin <adurbin@chromium.org> | 2015-05-13 15:39:54 +0200 |
commit | 0a50d9b35334d03f13b38e21497ba0aae8b16712 (patch) | |
tree | 492dcd3274147e794f6fb6386b6c951d5821bf33 /src/superio/smsc | |
parent | 1f04e94b7915ce599e49a71fd38cb72523c9c887 (diff) |
libpayload: x86: correct types used for IO
libpayload on x86 defines u32 and uint32_t as typedefs of
unsigned int. However, the readl/writel routines use long.
With alias checking this throws type punning errors. Align
the readl/writel/inl/outl types with the 32-bit fixed width
ones that are exposed.
Change-Id: Ie51cff8af4596948f6132e3cb743f1bc4ea8f204
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: http://review.coreboot.org/10186
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'src/superio/smsc')
0 files changed, 0 insertions, 0 deletions