summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/southbridge/nvidia/mcp55/mcp55_early_setup_car.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/southbridge/nvidia/mcp55/mcp55_early_setup_car.c b/src/southbridge/nvidia/mcp55/mcp55_early_setup_car.c
index 835a9298db..773ad7154f 100644
--- a/src/southbridge/nvidia/mcp55/mcp55_early_setup_car.c
+++ b/src/southbridge/nvidia/mcp55/mcp55_early_setup_car.c
@@ -363,9 +363,9 @@ static void mcp55_early_setup(unsigned mcp55_num, unsigned *busn, unsigned *devn
static int mcp55_early_setup_x(void)
{
/*find out how many mcp55 we have */
- unsigned busn[HT_CHAIN_NUM_MAX];
- unsigned devn[HT_CHAIN_NUM_MAX];
- unsigned io_base[HT_CHAIN_NUM_MAX];
+ unsigned busn[HT_CHAIN_NUM_MAX] = {0};
+ unsigned devn[HT_CHAIN_NUM_MAX] = {0};
+ unsigned io_base[HT_CHAIN_NUM_MAX] = {0};
/*
FIXME: May have problem if there is different MCP55 HTX card with different PCI_E lane allocation
Need to use same trick about pci1234 to verify node/link connection