static void __init stargate2_init(void) { /* This is probably a board specific hack as this must be set prior to connecting the MFP stuff up. */ MECR &= ~MECR_NOS; pxa2xx_mfp_config(ARRAY_AND_SIZE(stargate2_pin_config)); pxa_set_ffuart_info(NULL); pxa_set_btuart_info(NULL); pxa_set_stuart_info(NULL); platform_add_devices(ARRAY_AND_SIZE(stargate2_devices)); pxa2xx_set_spi_info(1, &pxa_ssp_master_0_info); pxa2xx_set_spi_info(2, &pxa_ssp_master_1_info); pxa2xx_set_spi_info(3, &pxa_ssp_master_2_info); spi_register_board_info(spi_board_info, ARRAY_SIZE(spi_board_info)); i2c_register_board_info(0, ARRAY_AND_SIZE(stargate2_i2c_board_info)); i2c_register_board_info(1, ARRAY_AND_SIZE(stargate2_pwr_i2c_board_info)); pxa27x_set_i2c_power_info(&i2c_pwr_pdata); pxa_set_i2c_info(&i2c_pdata); pxa_set_mci_info(&stargate2_mci_platform_data); pxa_set_udc_info(&stargate2_udc_info); stargate2_reset_bluetooth(); }
static void __init stargate2_init(void) { /* This is probably a board specific hack as this must be set prior to connecting the MFP stuff up. */ __raw_writel(__raw_readl(MECR) & ~MECR_NOS, MECR); pxa2xx_mfp_config(ARRAY_AND_SIZE(stargate2_pin_config)); imote2_stargate2_init(); platform_add_devices(ARRAY_AND_SIZE(stargate2_devices)); i2c_register_board_info(0, ARRAY_AND_SIZE(stargate2_i2c_board_info)); i2c_register_board_info(1, stargate2_pwr_i2c_board_info, ARRAY_SIZE(stargate2_pwr_i2c_board_info)); pxa_set_mci_info(&stargate2_mci_platform_data); pxa_set_udc_info(&stargate2_udc_info); stargate2_reset_bluetooth(); }