/*! * Board specific initialization. */ static void __init mxc_board_init(void) { mxc_cpu_common_init(); mxc_register_gpios(); mxc_init_devices(); if (!board_is_rev(BOARD_REV_2)) mx35_3stack_fixup_for_board_v1(); mx35_3stack_gpio_init(); mxc_init_enet(); mxc_init_nor_mtd(); mxc_init_nand_mtd(); mx35_3stack_init_mc13892(); mx35_3stack_init_mc9s08dz60(); mxc_init_lcd(); mxc_init_fb(); mxc_init_bl(); mxc_init_sgtl5000(); mxc_init_ak4647(); i2c_register_board_info(0, mxc_i2c_board_info, ARRAY_SIZE(mxc_i2c_board_info)); spi_register_board_info(mxc_spi_board_info, ARRAY_SIZE(mxc_spi_board_info)); mxc_init_mmc(); mxc_init_pata(); mxc_init_bluetooth(); mxc_init_gps(); mxc_init_mlb(); mxc_init_fec(); }
/*! * Board specific initialization. */ static void __init mxc_board_init(void) { int err; mxc_cpu_common_init(); mxc_gpio_init(); mx51_3stack_io_init(); early_console_setup(saved_command_line); mxc_init_devices(); mxc_expio_init(); mxc_init_enet(); mxc_init_pata(); mxc_init_fb(); mxc_init_bl(); mxc_init_keypad(); mxc_init_nand_mtd(); mxc_init_mmc(); mxc_init_sim(); mxc_init_srpgconfig(); mx51_3stack_init_mc13892(); #if defined(CONFIG_I2C_MXC) || defined(CONFIG_I2C_MXC_MODULE) #ifdef CONFIG_I2C_MXC_SELECT1 i2c_register_board_info(0, mxc_i2c0_board_info, ARRAY_SIZE(mxc_i2c0_board_info)); #endif #ifdef CONFIG_I2C_MXC_SELECT2 i2c_register_board_info(1, mxc_i2c1_board_info, ARRAY_SIZE(mxc_i2c1_board_info)); #endif #if defined(CONFIG_I2C_MXC_HS) || defined(CONFIG_I2C_MXC_HS_MODULE) i2c_register_board_info(3, mxc_i2c_hs_board_info, ARRAY_SIZE(mxc_i2c_hs_board_info)); #endif #endif mxc_init_touchscreen(); mxc_init_wm8903(); mxc_init_sgtl5000(); mxc_init_bluetooth(); mxc_init_gps(); err = mxc_request_iomux(MX51_PIN_EIM_D19, IOMUX_CONFIG_GPIO); if (err) printk(KERN_ERR "Error: bt reset request gpio failed!\n"); else mxc_set_gpio_direction(MX51_PIN_EIM_D19, 0); }
/*! * Board specific initialization. */ static void __init mxc_board_init(void) { pr_info("AIPS1 VA base: 0x%x\n", IO_ADDRESS(AIPS1_BASE_ADDR)); mxc_cpu_common_init(); mxc_gpio_init(); mx25_3stack_gpio_init(); early_console_setup(saved_command_line); mxc_init_keypad(); #ifdef CONFIG_I2C i2c_register_board_info(0, mxc_i2c_board_info, ARRAY_SIZE(mxc_i2c_board_info)); #endif spi_register_board_info(mxc_spi_board_info, ARRAY_SIZE(mxc_spi_board_info)); mx25_3stack_init_mc34704(); mxc_init_fb(); mxc_init_bl(); mxc_init_nand_mtd(); mxc_init_sgtl5000(); mxc_init_mmc(); }
/*! * Board specific initialization. */ static void __init mxc_board_init(void) { mxc_cpu_common_init(); mxc_gpio_init(); early_console_setup(saved_command_line); mxc_init_devices(); if (!board_is_mx37(BOARD_REV_2)) mx37_3stack_fixup_for_board_v1(); i2c_register_board_info(0, mxc_i2c0_board_info, ARRAY_SIZE(mxc_i2c0_board_info)); i2c_register_board_info(1, mxc_i2c1_board_info, ARRAY_SIZE(mxc_i2c1_board_info)); spi_register_board_info(mxc_spi_board_info, ARRAY_SIZE(mxc_spi_board_info)); mxc_init_nand_mtd(); mxc_init_mmc(); mxc_init_pata(); mxc_init_fb(); mxc_init_bl(); mxc_init_bluetooth(); mxc_init_gps(); mxc_init_sgtl5000(); }