From 2858939a2ccb3cf1918dadd9cda1fd1d8ab5a9ef Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Wed, 9 Dec 2015 12:03:49 +0100 Subject: bsps: Delete superfluous bsp_pretasking_hook() Use the bsp_predriver_hook() instead. Update #2408. --- c/src/lib/libbsp/shared/bootcard.c | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'c/src/lib/libbsp/shared/bootcard.c') diff --git a/c/src/lib/libbsp/shared/bootcard.c b/c/src/lib/libbsp/shared/bootcard.c index cbeb7b2686..7d51e9f089 100644 --- a/c/src/lib/libbsp/shared/bootcard.c +++ b/c/src/lib/libbsp/shared/bootcard.c @@ -17,7 +17,6 @@ * + rtems_initialize_data_structures * + allocate memory to C Program Heap * + initialize C Library and C Program Heap - * + bsp_pretasking_hook * + rtems_initialize_before_drivers * + bsp_predriver_hook * + rtems_initialize_device_drivers @@ -95,16 +94,6 @@ void boot_card( */ bsp_libc_init(); - /* - * Let the BSP do any required initialization now that RTEMS - * data structures are initialized. In older BSPs or those - * which do not use the shared framework, this is the typical - * time when the C Library is initialized so malloc() - * can be called by device drivers. For BSPs using the shared - * framework, this routine can be empty. - */ - bsp_pretasking_hook(); - /* * Let RTEMS perform initialization it requires before drivers * are allowed to be initialized. -- cgit v1.2.3