/* * pcm027_init - breath some life into the board */ static void __init pcm027_init(void) { /* system bus arbiter setting * - Core_Park * - LCD_wt:DMA_wt:CORE_Wt = 2:3:4 */ ARB_CNTRL = ARB_CORE_PARK | 0x234; pxa2xx_mfp_config(pcm027_pin_config, ARRAY_SIZE(pcm027_pin_config)); platform_add_devices(devices, ARRAY_SIZE(devices)); /* at last call the baseboard to initialize itself */ #ifdef CONFIG_MACH_PCM990_BASEBOARD pcm990_baseboard_init(); #endif pxa2xx_set_spi_info(1, &pxa_ssp_master_info); spi_register_board_info(spi_board_info, ARRAY_SIZE(spi_board_info)); }
/* * pcm027_init - breath some life into the board */ static void __init pcm027_init(void) { /* system bus arbiter setting * - Core_Park * - LCD_wt:DMA_wt:CORE_Wt = 2:3:4 */ ARB_CNTRL = ARB_CORE_PARK | 0x234; platform_add_devices(devices, ARRAY_SIZE(devices)); /* LEDs (on demand only) */ #ifdef CONFIG_LEDS_GPIO pxa_gpio_mode(PCM027_LED_CPU | GPIO_OUT); pxa_gpio_mode(PCM027_LED_HEARD_BEAT | GPIO_OUT); #endif /* CONFIG_LEDS_GPIO */ /* at last call the baseboard to initialize itself */ #ifdef CONFIG_MACH_PCM990_BASEBOARD pcm990_baseboard_init(); #endif }