diff options
author | Werner Zeh <werner.zeh@siemens.com> | 2016-04-26 09:26:14 +0200 |
---|---|---|
committer | Werner Zeh <werner.zeh@siemens.com> | 2016-04-28 08:25:23 +0200 |
commit | 608d991cf8032bbacf67961a15905621ec2034f3 (patch) | |
tree | 1131ac59598c2e0757c5124cdbc7579a7d222789 /src/mainboard | |
parent | bf13d3f567795324a587af745c71e58ce680ab3f (diff) | |
download | coreboot-608d991cf8032bbacf67961a15905621ec2034f3.tar.xz |
drivers/intel/i210: Use uint8_t and friends instead of u8
Switch all types to uint8_t and the like instead of u8.
Change-Id: Ia12c4ee9e21e2d3166c2f895c819357fa2ed9a94
Signed-off-by: Werner Zeh <werner.zeh@siemens.com>
Reviewed-on: https://review.coreboot.org/14515
Tested-by: build bot (Jenkins)
Reviewed-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/mainboard')
-rw-r--r-- | src/mainboard/siemens/mc_tcu3/mainboard.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mainboard/siemens/mc_tcu3/mainboard.c b/src/mainboard/siemens/mc_tcu3/mainboard.c index e9c29a07b5..009c34da54 100644 --- a/src/mainboard/siemens/mc_tcu3/mainboard.c +++ b/src/mainboard/siemens/mc_tcu3/mainboard.c @@ -39,10 +39,11 @@ * @param mac buffer where to store the MAC address * @return cb_err CB_ERR or CB_SUCCESS */ -enum cb_err mainboard_get_mac_address(u16 bus, u8 devfn, u8 mac[6]) +enum cb_err mainboard_get_mac_address(uint16_t bus, uint8_t devfn, + uint8_t mac[6]) { uint8_t mac_adr[6]; - u32 i; + uint32_t i; /* Open main hwinfo block */ if (hwilib_find_blocks("hwinfo.hex") != CB_SUCCESS) |