diff options
Diffstat (limited to 'c/src/lib/libbsp/powerpc/mpc8260ads/startup/bspstart.c')
-rw-r--r-- | c/src/lib/libbsp/powerpc/mpc8260ads/startup/bspstart.c | 23 |
1 files changed, 3 insertions, 20 deletions
diff --git a/c/src/lib/libbsp/powerpc/mpc8260ads/startup/bspstart.c b/c/src/lib/libbsp/powerpc/mpc8260ads/startup/bspstart.c index d94f4500ca..58c2ad6cf9 100644 --- a/c/src/lib/libbsp/powerpc/mpc8260ads/startup/bspstart.c +++ b/c/src/lib/libbsp/powerpc/mpc8260ads/startup/bspstart.c @@ -53,10 +53,6 @@ #include <string.h> -#ifdef STACK_CHECKER_ON -#include <stackchk.h> -#endif - SPR_RW(SPRG0) SPR_RW(SPRG1) @@ -187,23 +183,10 @@ bsp_pretasking_hook(void) * the kernel and the application can be linked and burned into ROM * independently of each other. */ - extern unsigned char _HeapStart; - extern unsigned char _HeapEnd; - - bsp_libc_init( &_HeapStart, &_HeapEnd - &_HeapStart, 0 ); + extern unsigned char _HeapStart; + extern unsigned char _HeapEnd; -#ifdef STACK_CHECKER_ON - /* - * Initialize the stack bounds checker - * We can either turn it on here or from the app. - */ - - Stack_check_Initialize(); -#endif - -#ifdef RTEMS_DEBUG - rtems_debug_enable( RTEMS_DEBUG_ALL_MASK ); -#endif + bsp_libc_init( &_HeapStart, &_HeapEnd - &_HeapStart, 0 ); } void bsp_start(void) |