summaryrefslogtreecommitdiff
path: root/src/southbridge/nvidia/mcp55
diff options
context:
space:
mode:
authorStefan Reinauer <stefan.reinauer@coreboot.org>2012-11-02 17:26:33 +0100
committerStefan Reinauer <stefan.reinauer@coreboot.org>2012-11-02 18:06:49 +0100
commit1e0ddf6f1fc5a99325155626c02351c388b91101 (patch)
tree459033ab623fc0cd92614a5db57ab38b563054c4 /src/southbridge/nvidia/mcp55
parent335ad93965f9c796e105ebd0e004d7185354ffb2 (diff)
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 <reinauer@google.com> Reviewed-on: http://review.coreboot.org/1670 Reviewed-by: Ronald G. Minnich <rminnich@gmail.com> Tested-by: build bot (Jenkins)
Diffstat (limited to 'src/southbridge/nvidia/mcp55')
-rw-r--r--src/southbridge/nvidia/mcp55/nic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/southbridge/nvidia/mcp55/nic.c b/src/southbridge/nvidia/mcp55/nic.c
index 0521b891aa..4d17b423ce 100644
--- a/src/southbridge/nvidia/mcp55/nic.c
+++ b/src/southbridge/nvidia/mcp55/nic.c
@@ -103,7 +103,7 @@ static void phy_detect(u32 base)
static void nic_init(struct device *dev)
{
- u32 mac_h, mac_l, base;
+ u32 mac_h = 0, mac_l = 0, base;
int eeprom_valid = 0;
struct southbridge_nvidia_mcp55_config *conf;
static u32 nic_index = 0;