From 1e0ddf6f1fc5a99325155626c02351c388b91101 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Fri, 2 Nov 2012 17:26:33 +0100 Subject: Fix some issues with new "reference" toolchain Unfortunately the reference tool chain was updated without ever even testing it on an abuild run. This broke a number of ports. This change gets coreboot at least compiling again for all supported systems. Change-Id: I92c7cbc834de6d792fdab86b75df339e2874c52e Signed-off-by: Stefan Reinauer Reviewed-on: http://review.coreboot.org/1670 Reviewed-by: Ronald G. Minnich Tested-by: build bot (Jenkins) --- src/southbridge/nvidia/ck804/nic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/southbridge/nvidia/ck804') diff --git a/src/southbridge/nvidia/ck804/nic.c b/src/southbridge/nvidia/ck804/nic.c index c62728addd..42f5e30cd0 100644 --- a/src/southbridge/nvidia/ck804/nic.c +++ b/src/southbridge/nvidia/ck804/nic.c @@ -29,7 +29,7 @@ static void nic_init(struct device *dev) { - u32 dword, old, mac_h, mac_l; + u32 dword, old, mac_h = 0, mac_l = 0; int eeprom_valid = 0; struct southbridge_nvidia_ck804_config *conf; static u32 nic_index = 0; -- cgit v1.2.3