source: rtems/bsps/m68k/genmcf548x/start/linkcmds.m5484FireEngine.flash @ 98e43e83

Last change on this file since 98e43e83 was 98e43e83, checked in by Christian Mauderer <christian.mauderer@…>, on 03/02/22 at 10:15:55

bsps/m68k: Manual file header clean up

Updates #4625.

  • Property mode set to 100644
File size: 2.5 KB
Line 
1/*
2 * RTEMS generic mcf548x BSP
3 *
4 * The file contains the linker directives for the generic MCF548x
5 * BSP to be used with an m5484FireEngine EVB to load and execute
6 * code in the boot FLASH.
7 *
8 * Parts of the code has been derived from the "dBUG source code"
9 * package Freescale is providing for M548X EVBs. The usage of
10 * the modified or unmodified code and it's integration into the
11 * generic mcf548x BSP has been done according to the Freescale
12 * license terms.
13 *
14 * The Freescale license terms can be reviewed in the file
15 *
16 *    Freescale_license.txt
17 *
18 * The generic mcf548x BSP has been developed on the basic
19 * structures and modules of the av5282 BSP.
20 */
21
22/*
23 * Copyright (c) 2007 embedded brains GmbH. All rights reserved.
24 *
25 * The license and distribution terms for this file may be
26 * found in the file LICENSE in this distribution or at
27 * http://www.rtems.org/license/LICENSE.
28 */
29
30/*
31 * Location and size of on-chip devices
32 */
33_SdramBase     = DEFINED(_SdramBase)      ? _SdramBase     : 0x00000000;
34_SdramSize     = DEFINED(_SdramSize)      ? _SdramSize     : (64 * 1024 * 1024);
35_SysSramBase   = DEFINED(_SysSramBase)    ? _SysSramBase   : __MBAR + 0x00010000;
36_SysSramSize   = DEFINED(_SysSramSize)    ? _SysSramSize   : (32 * 1024);
37_McdapiBase    = DEFINED(_McdapiBase)     ? _McdapiBase    : _SysSramBase;                 
38_McdapiSize    = DEFINED(_McdapiSize)     ? _McdapiSize    : (12 * 1024);                 
39_CoreSramBase0 = DEFINED(_CoreSramBase0)  ? _CoreSramBase0 : 0x20000000;
40_CoreSramBase1 = DEFINED(_CoreSramBase1)  ? _CoreSramBase1 : 0x20001000;
41_CoreSramSize0 = DEFINED(_CoreSramSize0)  ? _CoreSramSize0 : (4 * 1024);
42_CoreSramSize1 = DEFINED(_CoreSramSize1)  ? _CoreSramSize1 : (4 * 1024);
43_BootFlashBase = DEFINED(_BootFlashBase)  ? _BootFlashBase : 0xFF800000;
44_BootFlashSize = DEFINED(_BootFlashSize)  ? _BootFlashSize : (2 * 1024 * 1024);
45_CodeFlashBase = DEFINED(_CodeFlashBase)  ? _CodeFlashBase : 0xE0000000;
46_CodeFlashSize = DEFINED(_CodeFlashSize)  ? _CodeFlashSize : (16 * 1024 * 1024);
47
48_VBR            = DEFINED(_VBR)            ? _VBR       : _SdramBase;
49
50__MBAR          = DEFINED(__MBAR)          ? __MBAR     : 0x10000000;
51
52MEMORY
53{
54    sdram      : ORIGIN = 0x00000000, LENGTH = 64M
55    code_flash : ORIGIN = 0xE0000000, LENGTH = 16M
56    boot_flash : ORIGIN = 0xFF800000, LENGTH = 2M
57}
58
59REGION_ALIAS ("REGION_TEXT", boot_flash);
60REGION_ALIAS ("REGION_TEXT_LOAD", boot_flash);
61REGION_ALIAS ("REGION_DATA", sdram);
62REGION_ALIAS ("REGION_DATA_LOAD", boot_flash);
63
64INCLUDE linkcmds.base
Note: See TracBrowser for help on using the repository browser.