diff options
author | Daniel Cederman <cederman@gaisler.com> | 2017-07-14 14:12:07 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2017-07-17 07:43:20 +0200 |
commit | 4debaca6d2d6248f97bf3fbbd39a8afca0ab4beb (patch) | |
tree | 562703be35c45ab8b1c21fd2674093ff7044a77e /c/src/lib/libbsp/sparc/leon3/startup/linkcmds.gr712rc | |
parent | sparc: Add assembly workaround for LEON3FT B2BST errata (diff) | |
download | rtems-4debaca6d2d6248f97bf3fbbd39a8afca0ab4beb.tar.bz2 |
bsps/sparc: Add leon3 BSP variants
Rename NGMP to GR740 and add configs for UT699, UT700, and GR712RC
The UT699 requires -mcpu=leon as it does not support the CAS instruction
provided by -mcpu=leon3. It also requires -mfix-ut699 for errata fixes.
UT700 and GR712RC requires the -mfix-ut700 and -mfix-gr712rc flags that
have been recently added to GCC's master and 7-branch.
Remove -msoft-float from the leon3 config to make the more common case
of using the FPU the default.
Update #3057.
Diffstat (limited to 'c/src/lib/libbsp/sparc/leon3/startup/linkcmds.gr712rc')
-rw-r--r-- | c/src/lib/libbsp/sparc/leon3/startup/linkcmds.gr712rc | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/sparc/leon3/startup/linkcmds.gr712rc b/c/src/lib/libbsp/sparc/leon3/startup/linkcmds.gr712rc new file mode 100644 index 0000000000..30f2b68bb9 --- /dev/null +++ b/c/src/lib/libbsp/sparc/leon3/startup/linkcmds.gr712rc @@ -0,0 +1,20 @@ +/* linkcmds + */ + +/* Default values, can be overridden */ + +_PROM_SIZE = DEFINED (_PROM_SIZE) ? _PROM_SIZE : 2M; +_PROM_START = DEFINED (_PROM_START) ? _PROM_START : 0x00000000; + +_RAM_SIZE = DEFINED (_RAM_SIZE) ? _RAM_SIZE : 4M; +_RAM_START = DEFINED (_RAM_START) ? _RAM_START : 0x40000000; + +/* these are the maximum values */ + +MEMORY +{ + rom : ORIGIN = 0x00000000, LENGTH = 256M + ram : ORIGIN = 0x40000000, LENGTH = 1024M +} + +INCLUDE linkcmds.base |