Logo Search packages:      
Sourcecode: linux version File versions

static void __init mxc_board_init ( void   )  [static]

Board specific initialization.

Definition at line 553 of file mx51_babbage.c.

References early_console_setup(), and mxc_gpio_init().

{
      struct regulator *regulator;

      mxc_cpu_common_init();
      mxc_gpio_init();
      mx51_babbage_io_init();
      early_console_setup(saved_command_line);

      mxc_init_devices();

      mxc_init_fb();
      mxc_init_bl();
      mxc_init_mmc();
      mxc_init_gpio_button();
      mx51_babbage_init_mc13892();

      spi_register_board_info(mxc_spi_board_info,
                        ARRAY_SIZE(mxc_spi_board_info));

#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
      pm_power_off = mxc_power_off;
      mxc_init_sgtl5000();
}


Generated by  Doxygen 1.6.0   Back to index