summaryrefslogtreecommitdiff
path: root/src/mainboard/siemens/mc_tcu3
diff options
context:
space:
mode:
authorWerner Zeh <werner.zeh@siemens.com>2016-04-26 09:26:14 +0200
committerWerner Zeh <werner.zeh@siemens.com>2016-04-28 08:25:23 +0200
commit608d991cf8032bbacf67961a15905621ec2034f3 (patch)
tree1131ac59598c2e0757c5124cdbc7579a7d222789 /src/mainboard/siemens/mc_tcu3
parentbf13d3f567795324a587af745c71e58ce680ab3f (diff)
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/siemens/mc_tcu3')
-rw-r--r--src/mainboard/siemens/mc_tcu3/mainboard.c5
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)