kirkwood: fix calls to kirkwood_mpp_conf

With the new second save argument introduced by the previous patch, all
the calls to the function had to be fixed.

Signed-off-by: Valentin Longchamp <valentin.longchamp@keymile.com>
cc: Holger Brunck <holger.brunck@keymile.com>
cc: Prafulla Wadaskar <prafulla@marvell.com>
This commit is contained in:
Valentin Longchamp 2012-06-01 01:31:00 +00:00 committed by Albert ARIBAUD
parent 8f5d7a0398
commit 846836386f
13 changed files with 15 additions and 15 deletions

View File

@ -75,7 +75,7 @@ int board_early_init_f(void)
0
};
kirkwood_mpp_conf(kwmpp_config);
kirkwood_mpp_conf(kwmpp_config, NULL);
return 0;
}

View File

@ -73,7 +73,7 @@ int board_early_init_f(void)
MPP33_GPIO, /* Fan speed (bit 2) */
0
};
kirkwood_mpp_conf(kwmpp_config);
kirkwood_mpp_conf(kwmpp_config, NULL);
return 0;
}

View File

@ -99,7 +99,7 @@ int board_early_init_f(void)
MPP49_GPIO, /* Wifi AP LED */
0
};
kirkwood_mpp_conf(kwmpp_config);
kirkwood_mpp_conf(kwmpp_config, NULL);
return 0;
}

View File

@ -96,7 +96,7 @@ int board_early_init_f(void)
MPP49_GPIO, /* B_GLED */
0
};
kirkwood_mpp_conf(kwmpp_config);
kirkwood_mpp_conf(kwmpp_config, NULL);
return 0;
}

View File

@ -98,7 +98,7 @@ int board_early_init_f(void)
MPP49_GPIO,
0
};
kirkwood_mpp_conf(kwmpp_config);
kirkwood_mpp_conf(kwmpp_config, NULL);
return 0;
}

View File

@ -102,7 +102,7 @@ int board_early_init_f(void)
0
};
kirkwood_mpp_conf(kwmpp_config);
kirkwood_mpp_conf(kwmpp_config, NULL);
return 0;
}

View File

@ -97,7 +97,7 @@ int board_early_init_f(void)
MPP49_GPIO,
0
};
kirkwood_mpp_conf(kwmpp_config);
kirkwood_mpp_conf(kwmpp_config, NULL);
return 0;
}

View File

@ -96,7 +96,7 @@ int board_early_init_f(void)
MPP49_GPIO,
0
};
kirkwood_mpp_conf(kwmpp_config);
kirkwood_mpp_conf(kwmpp_config, NULL);
return 0;
}

View File

@ -100,7 +100,7 @@ int board_early_init_f(void)
MPP49_GPIO,
0
};
kirkwood_mpp_conf(kwmpp_config);
kirkwood_mpp_conf(kwmpp_config, NULL);
return 0;
}

View File

@ -71,7 +71,7 @@ int board_early_init_f(void)
MPP49_GPIO, /* LED orange */
0
};
kirkwood_mpp_conf(kwmpp_config);
kirkwood_mpp_conf(kwmpp_config, NULL);
return 0;
}

View File

@ -97,7 +97,7 @@ int board_early_init_f(void)
MPP49_GPIO, /* thermal sensor */
0
};
kirkwood_mpp_conf(kwmpp_config);
kirkwood_mpp_conf(kwmpp_config, NULL);
kw_gpio_set_blink(DNS325_GPIO_LED_POWER , 1);

View File

@ -244,7 +244,7 @@ int board_early_init_f(void)
{
u32 tmp;
kirkwood_mpp_conf(kwmpp_config);
kirkwood_mpp_conf(kwmpp_config, NULL);
/*
* The FLASH_GPIO_PIN switches between using a
@ -299,7 +299,7 @@ int do_spi_toggle(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
kwmpp_config[2] = MPP2_NF_IO4;
kwmpp_config[3] = MPP3_NF_IO5;
kirkwood_mpp_conf(kwmpp_config);
kirkwood_mpp_conf(kwmpp_config, NULL);
tmp = readl(KW_GPIO0_BASE);
writel(tmp | FLASH_GPIO_PIN , KW_GPIO0_BASE);
} else if ((strcmp(argv[1], "on") == 0)) {
@ -310,7 +310,7 @@ int do_spi_toggle(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
kwmpp_config[2] = MPP2_SPI_SCK;
kwmpp_config[3] = MPP3_SPI_MISO;
kirkwood_mpp_conf(kwmpp_config);
kirkwood_mpp_conf(kwmpp_config, NULL);
tmp = readl(KW_GPIO0_BASE);
writel(tmp & (~FLASH_GPIO_PIN) , KW_GPIO0_BASE);
} else {

View File

@ -66,7 +66,7 @@ int board_early_init_f(void)
MPP29_GPIO, /* USB Copy button */
0
};
kirkwood_mpp_conf(kwmpp_config);
kirkwood_mpp_conf(kwmpp_config, NULL);
return 0;
}