[BSP] Remove rt_device_init_all() function invoking.

This commit is contained in:
bernard 2014-04-05 23:50:24 +08:00
parent 95f4228da1
commit db900ce5c0
15 changed files with 15 additions and 71 deletions

View File

@ -114,9 +114,6 @@ void rtthread_startup(void)
/* init scheduler system */
rt_system_scheduler_init();
/* init all devices */
rt_device_init_all();
/* init finsh */
#ifdef RT_USING_FINSH
finsh_system_init();

View File

@ -81,8 +81,6 @@ void rt_init_thread_entry(void *parameter)
/* init lcd */
rt_hw_lcd_init();
/* re-init device driver */
rt_device_init_all();
/* find lcd device */
lcd = rt_device_find("lcd");

View File

@ -67,11 +67,6 @@ void rtthread_startup(void)
/* init scheduler system */
rt_system_scheduler_init();
#ifdef RT_USING_DEVICE
/* init all device */
rt_device_init_all();
#endif
/* init application */
rt_application_init();

View File

@ -59,13 +59,9 @@ void rtthread_startup(void)
rt_system_scheduler_init();
#ifdef RT_USING_DEVICE
#ifdef RT_USING_DFS
#ifdef RT_USING_DFS_UFFS
#if defined(RT_USING_DFS) && defined(RT_USING_DFS_UFFS)
rt_hw_nand_init();
#endif
#endif
/* initialize all device */
rt_device_init_all();
#endif
/* initialize application */

View File

@ -152,9 +152,6 @@ void rt_init_thread_entry(void *parameter)
/* init keypad */
rt_hw_key_init();
/* re-init device driver */
rt_device_init_all();
/* find lcd device */
lcd = rt_device_find("lcd");
@ -175,9 +172,6 @@ void rt_init_thread_entry(void *parameter)
/* register ethernetif device */
rt_hw_dm9000_init();
/* re-init device driver */
rt_device_init_all();
/* init lwip system */
lwip_sys_init();
rt_kprintf("TCP/IP initialized!\n");
@ -197,9 +191,6 @@ void rt_init_thread_entry(void *parameter)
/* init keypad */
rt_hw_key_init();
/* re-init device driver */
rt_device_init_all();
/* create ftk thread */
ftk_thread = rt_thread_create("ftk",
rt_ftk_thread_entry, RT_NULL,

View File

@ -86,8 +86,6 @@ void rtthread_startup(void)
#ifdef RT_USING_DEVICE
/* init hardware serial device */
rt_hw_serial_init();
/* init all device */
rt_device_init_all();
#endif
/* init application */

View File

@ -116,9 +116,6 @@ void rtthread_startup(void)
#ifdef RT_USING_DFS
rt_hw_sdcard_init();
#endif
/*init all registed devices*/
rt_device_init_all();
#endif
/* init application */

View File

@ -58,10 +58,6 @@ void rtthread_startup(void)
/* init scheduler system */
rt_system_scheduler_init();
/* init all device */
#ifdef RT_USING_DEVICE
rt_device_init_all();
#endif
/* init application */
rt_application_init();

View File

@ -86,11 +86,6 @@ void rtthread_startup(void)
/* init scheduler system */
rt_system_scheduler_init();
#ifdef RT_USING_DEVICE
/* init all device */
rt_device_init_all();
#endif
/* init application */
rt_application_init();

View File

@ -81,9 +81,6 @@ void rtthread_startup(void)
/* init scheduler system */
rt_system_scheduler_init();
/* init all device */
rt_device_init_all();
/* init application */
rt_application_init();

View File

@ -70,9 +70,6 @@ void rt_init_thread_entry(void* parameter)
/* initialize eth interface */
rt_hw_stm32_eth_init();
/* re-init device driver */
rt_device_init_all();
/* init lwip system */
lwip_sys_init();
rt_kprintf("TCP/IP initialized!\n");

View File

@ -107,9 +107,6 @@ void rtthread_startup(void)
rt_hw_rtc_init();
/* init all device */
rt_device_init_all();
/* init application */
rt_application_init();

View File

@ -41,8 +41,6 @@ void rt_init_thread_entry(void* parameter)
eth_system_device_init();
rt_hw_stm32_eth_init();
/* re-init device driver */
rt_device_init_all();
/* init lwip system */
lwip_sys_init();

View File

@ -85,9 +85,6 @@ void rtthread_startup(void)
/* init scheduler system */
rt_system_scheduler_init();
/* init all device */
rt_device_init_all();
/* init application */
rt_application_init();

View File

@ -56,11 +56,6 @@ void rtthread_startup(void)
/* init scheduler system */
rt_system_scheduler_init();
#ifdef RT_USING_DEVICE
/* init all device */
rt_device_init_all();
#endif
/* init application */
rt_application_init();