Exemplo n.º 1
0
static void __init htcleo_map_io(void)
{
	msm_map_common_io();
	htcleo_allocate_memory_regions();
	msm_clock_init();
	
#if defined(CONFIG_VERY_EARLY_CONSOLE)
// Init our consoles _really_ early
#if defined(CONFIG_HTC_FB_CONSOLE)
	htc_fb_console_init();
#endif
#if defined(CONFIG_ANDROID_RAM_CONSOLE_EARLY_INIT)
	ram_console_early_init();
#endif
#endif

}
static void __init htcleo_map_io(void)
{
	msm_map_qsd8x50_io();
	if (socinfo_init() < 0)
		printk(KERN_ERR "%s: socinfo_init() failed!\n",__func__);
	
#if defined(CONFIG_VERY_EARLY_CONSOLE)
// Init our consoles _really_ early
#if defined(CONFIG_HTC_FB_CONSOLE)
	htc_fb_console_init();
#endif
#if defined(CONFIG_ANDROID_RAM_CONSOLE_EARLY_INIT)
	ram_console_early_init();
#endif
#endif
	printk(KERN_ERR "%s: ramconsole init done!\n",__func__);
//	*(uint32_t*)0xF800380C |= 0x20;
}
static void __init htcleo_map_io(void)
{
	msm_map_qsd8x50_io();
	htcleo_allocate_memory_regions();
	// clock init taken from bravo board
	msm_clock_init(msm_clocks_8x50, msm_num_clocks_8x50);
	
#if defined(CONFIG_VERY_EARLY_CONSOLE)
// Init our consoles _really_ early
#if defined(CONFIG_HTC_FB_CONSOLE)
	htc_fb_console_init();
#endif
#if defined(CONFIG_ANDROID_RAM_CONSOLE_EARLY_INIT)
	ram_console_early_init();
#endif
#endif

}