diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-09-16 19:03:28 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-09-16 19:03:28 +0000 |
commit | b1ded2405d3da9f9c53e670d9ba42460e289eec6 (patch) | |
tree | 3ae0441806d98e8895a27997d463cfaee92965f2 /c/src/lib/libbsp/m68k/av5282/startup/bspstart.c | |
parent | 2008-09-16 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-b1ded2405d3da9f9c53e670d9ba42460e289eec6.tar.bz2 |
2008-09-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac, startup/bspstart.c, startup/linkcmds,
startup/linkcmdsflash, startup/linkcmdsram: Add use of
bsp_get_work_area() in its own file and rely on BSP Framework to
perform more initialization. Remove unnecessary includes of
rtems/libio.h and rtems/libcsupport.h.
Diffstat (limited to '')
-rw-r--r-- | c/src/lib/libbsp/m68k/av5282/startup/bspstart.c | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/c/src/lib/libbsp/m68k/av5282/startup/bspstart.c b/c/src/lib/libbsp/m68k/av5282/startup/bspstart.c index 2478d5ee72..1edcf42b63 100644 --- a/c/src/lib/libbsp/m68k/av5282/startup/bspstart.c +++ b/c/src/lib/libbsp/m68k/av5282/startup/bspstart.c @@ -22,17 +22,9 @@ */ #include <bsp.h> -#include <rtems/libio.h> -#include <rtems/libcsupport.h> #include <string.h> /* - * Location of 'VME' access - */ -#define VME_ONE_BASE 0x30000000 -#define VME_TWO_BASE 0x31000000 - -/* * Cacheable areas */ #define SDRAM_BASE 0 @@ -142,37 +134,12 @@ void _CPU_cache_invalidate_1_data_line(const void *addr) } /* - * These are used by bsp_start - */ -extern char _WorkspaceBase[]; -extern char _RamSize[]; -extern unsigned long _M68k_Ramsize; - -/* * bsp_start * * This routine does the bulk of the system initialisation. */ void bsp_start( void ) { - _M68k_Ramsize = (unsigned long)_RamSize; /* RAM size set in linker script */ - - /* - * Allocate the memory for the RTEMS Work Space. This can come from - * a variety of places: hard coded address, malloc'ed from outside - * RTEMS world (e.g. simulator or primitive memory manager), or (as - * typically done by stock BSPs) by subtracting the required amount - * of work space from the last physical address on the CPU board. - */ - - /* - * Need to "allocate" the memory for the RTEMS Workspace and - * tell the RTEMS configuration where it is. This memory is - * not malloc'ed. It is just "pulled from the air". - */ - - Configuration.work_space_start = (void *)_WorkspaceBase; - /* * Invalidate the cache and disable it */ |