/* Initialize the GPIO Alternative Functions of the LPC178x/7x.  */
void __init lpc178x_iomux_init(void)
/* Initialize the GPIO Alternative Functions of the LPC178x/7x.  */
void __init lpc178x_iomux_init(void)
{
	int platform;
	lpc178x_periph_enable(LPC178X_SCC_PCONP_PCGPIO_MSK, 1);
	platform = lpc178x_platform_get();
	switch (platform) {
	case PLATFORM_LPC178X_EA_LPC1788:
		lpc178x_gpio_config_table(
			ea_lpc1788_gpio, ARRAY_SIZE(ea_lpc1788_gpio));
		break;
	case PLATFORM_LPC178X_LNX_EVB:
		lpc178x_gpio_config_table(
			lpc_lnx_evb_gpio, ARRAY_SIZE(lpc_lnx_evb_gpio));
		break;
	default:
		printk(KERN_WARNING "%s: unsupported platform %d\n", __func__,
			platform);
		break;
	}
}