mcf5235: Simplify bsp_specs

Updates #3520.
This commit is contained in:
Joel Sherrill
2017-12-19 11:04:07 -06:00
parent ddeca060a6
commit b7e4837c37
4 changed files with 8 additions and 5 deletions

View File

@@ -1,13 +1,10 @@
%rename endfile old_endfile %rename endfile old_endfile
%rename startfile old_startfile %rename startfile old_startfile
%rename link old_link
*startfile: *startfile:
%{!qrtems: %(old_startfile)} \ %{!qrtems: %(old_startfile)} \
%{!nostdlib: %{qrtems: start.o%s crti.o%s crtbegin.o%s -e start}} %{!nostdlib: %{qrtems: crti.o%s crtbegin.o%s}}
*link:
%{!qrtems: %(old_link)} %{qrtems: -dc -dp -N}
*endfile: *endfile:
%{!qrtems: %(old_endfile)} %{qrtems: crtend.o%s crtn.o%s} %{!qrtems: %(old_endfile)} %{qrtems: crtend.o%s crtn.o%s}

View File

@@ -38,6 +38,8 @@ __SRAMBASE = DEFINED(__SRAMBASE) ? __SRAMBASE : 0x20000000 ;
_VBR = 0x0; _VBR = 0x0;
ENTRY(start) ENTRY(start)
STARTUP(start.o)
MEMORY MEMORY
{ {
dram : ORIGIN = 0, LENGTH = 16M dram : ORIGIN = 0, LENGTH = 16M

View File

@@ -38,6 +38,8 @@ __SRAMBASE = DEFINED(__SRAMBASE) ? __SRAMBASE : 0x20000000 ;
_VBR = 0x0; _VBR = 0x0;
ENTRY(start) ENTRY(start)
STARTUP(start.o)
/* /*
* NOTE: If loading to flash with dBUG remember to change the origin to 0xFFF00000 because that's where user flash is * NOTE: If loading to flash with dBUG remember to change the origin to 0xFFF00000 because that's where user flash is
* located. * located.

View File

@@ -38,6 +38,8 @@ __SRAMBASE = DEFINED(__SRAMBASE) ? __SRAMBASE : 0x20000000 ;
_VBR = 0x0; _VBR = 0x0;
ENTRY(start) ENTRY(start)
STARTUP(start.o)
MEMORY MEMORY
{ {
ram : ORIGIN = 0, LENGTH = 16M ram : ORIGIN = 0, LENGTH = 16M