deleted cfg directory which is not needed for gcc
This commit is contained in:
@@ -1,57 +0,0 @@
|
|||||||
; This is the board specific initialization file used in CodeWarrior Embedded product for ColdFire architecture
|
|
||||||
; $RCSfile: M5475EVB.cfg,v $
|
|
||||||
; $Revision: 1.4 $ $Date: 2008/01/09 11:46:41 $
|
|
||||||
; Please do NOT modifiy this file. If you wish to modify this file, please keep a backup copy of this file.
|
|
||||||
|
|
||||||
ResetHalt
|
|
||||||
|
|
||||||
;Set VBR - debugger must know this in order
|
|
||||||
; to do exception capture
|
|
||||||
writecontrolreg 0x0801 0x00000000
|
|
||||||
|
|
||||||
; If MBAR changes all following writes must change
|
|
||||||
; and if a memory configuration file is used,
|
|
||||||
; the reserved areas in the register block must
|
|
||||||
; change also.
|
|
||||||
;Turn on MBAR at 0xFF00_0000
|
|
||||||
writecontrolreg 0x0C0F 0xFF000000
|
|
||||||
|
|
||||||
;Turn on RAMBAR0 at address FF10_0000
|
|
||||||
writecontrolreg 0x0C04 0xFF100035
|
|
||||||
|
|
||||||
;Turn on RAMBAR1 at address FF10_1000
|
|
||||||
writecontrolreg 0x0C05 0xFF101035
|
|
||||||
|
|
||||||
;Init CS0 (BootFLASH @ E000_0000 - E07F_FFFF 8Mbytes)
|
|
||||||
writemem.l 0xFF000500 0xE0000000;
|
|
||||||
writemem.l 0xFF000508 0x00101980; 16-bit port
|
|
||||||
writemem.l 0xFF000504 0x007F0001;
|
|
||||||
|
|
||||||
;SDRAM Initialization @ 0000_0000 - 1FFF_FFFF 512Mbytes
|
|
||||||
writemem.l 0xFF000004 0x000002AA; SDRAMDS configuration
|
|
||||||
writemem.l 0xFF000020 0x0000001A; SDRAM CS0 configuration (128Mbytes 0000_0000 - 07FF_FFFF)
|
|
||||||
writemem.l 0xFF000024 0x0800001A; SDRAM CS1 configuration (128Mbytes 0800_0000 - 0FFF_FFFF)
|
|
||||||
writemem.l 0xFF000028 0x1000001A; SDRAM CS2 configuration (128Mbytes 1000_0000 - 07FF_FFFF)
|
|
||||||
writemem.l 0xFF00002C 0x1800001A; SDRAM CS3 configuration (128Mbytes 1800_0000 - 1FFF_FFFF)
|
|
||||||
;writemem.l 0xFF000108 0x73611730; SDCFG1
|
|
||||||
writemem.l 0xFF000108 0x53611730; SDCFG1
|
|
||||||
;writemem.l 0xFF00010C 0x46770000; SDCFG2
|
|
||||||
writemem.l 0xFF00010C 0x24730000; SDCFG2
|
|
||||||
|
|
||||||
;writemem.l 0xFF000104 0xE10D0002; SDCR + IPALL
|
|
||||||
writemem.l 0xFF000104 0xE10F0002; SDCR + IPALL
|
|
||||||
writemem.l 0xFF000100 0x40010000; SDMR (write to LEMR)
|
|
||||||
;writemem.l 0xFF000100 0x048D0000; SDMR (write to LMR)
|
|
||||||
writemem.l 0xFF000100 0x04890000; SDMR (write to LMR)
|
|
||||||
;writemem.l 0xFF000104 0xE10D0002; SDCR + IPALL
|
|
||||||
writemem.l 0xFF000104 0xE10F0002; SDCR + IPALL
|
|
||||||
;writemem.l 0xFF000104 0xE10D0004; SDCR + IREF (first refresh)
|
|
||||||
writemem.l 0xFF000104 0xE10F0004; SDCR + IREF (first refresh)
|
|
||||||
;writemem.l 0xFF000104 0xE10D0004; SDCR + IREF (second refresh)
|
|
||||||
writemem.l 0xFF000104 0xE10F0004; SDCR + IREF (first refresh)
|
|
||||||
;writemem.l 0xFF000100 0x008D0000; SDMR (write to LMR)
|
|
||||||
writemem.l 0xFF000100 0x00890000; SDMR (write to LMR)
|
|
||||||
;writemem.l 0xFF000104 0x71100F00; SDCR (lock SDMR and enable refresh)
|
|
||||||
writemem.l 0xFF000104 0x71100F00; SDCR (lock SDMR and enable refresh)
|
|
||||||
|
|
||||||
delay 1000
|
|
||||||
@@ -1,47 +0,0 @@
|
|||||||
// Memory Configuration File
|
|
||||||
//
|
|
||||||
// Description:
|
|
||||||
// A memory configuration file contains commands that define the legally accessible
|
|
||||||
// areas of memory for your specific board. Useful for example when the debugger
|
|
||||||
// tries to display the content of a "char *" variable, that has not yet been initialized.
|
|
||||||
// In this case the debugger may try to read from a bogus address, which could cause a
|
|
||||||
// bus error.
|
|
||||||
//
|
|
||||||
// Board:
|
|
||||||
// LogicPD COLDARI1
|
|
||||||
//
|
|
||||||
// Reference:
|
|
||||||
// MCF5475RM.pdf
|
|
||||||
|
|
||||||
|
|
||||||
// All reserved ranges read back 0xBABA...
|
|
||||||
reservedchar 0xBA
|
|
||||||
|
|
||||||
address MBAR_BASE 0xFF000000
|
|
||||||
address MMUBAR_BASE 0xFF040000
|
|
||||||
|
|
||||||
usederivative "MCF5475"
|
|
||||||
|
|
||||||
// Memory Map:
|
|
||||||
// ----------------------------------------------------------------------
|
|
||||||
range 0x00000000 0x1FFFFFFF 4 ReadWrite // 512MB DDR SDRAM
|
|
||||||
reserved 0x20000000 0x5FFFFFFF
|
|
||||||
|
|
||||||
range 0x60000000 0x7FFFFFFF 4 ReadWrite
|
|
||||||
|
|
||||||
range 0x80000000 0xCFFFFFFF 4 ReadWrite
|
|
||||||
|
|
||||||
range 0xD0000000 0xFBFFFFFF 4 ReadWrite
|
|
||||||
|
|
||||||
reserved 0xFC000000 $MBAR_BASE-1
|
|
||||||
|
|
||||||
$MBAR_BASE $MBAR_BASE+0x3FFFF // Memory Mapped Registers
|
|
||||||
range $MBAR_BASE+0x10000 $MBAR_BASE+0x17FFC 4 ReadWrite // 32K Internal SRAM
|
|
||||||
|
|
||||||
range $MMUBAR_BASE $MMUBAR_BASE+0xFFFF
|
|
||||||
reserved $MMUBAR_BASE+1x0000 0xFF0FFFFF // Added to fill gap in MMR
|
|
||||||
|
|
||||||
range 0xFF100000 0xFF100FFF 4 ReadWrite // 4K SRAM0 (RAMBAR0)
|
|
||||||
range 0xFF101000 0xFFFFFFFF 4 ReadWrite // 4K SRAM1 (RAMBAR1)
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
; This is the board specific initialization file used in CodeWarrior Embedded product for ColdFire architecture
|
|
||||||
; $RCSfile: M5475EVB.cfg,v $
|
|
||||||
; $Revision: 1.4 $ $Date: 2008/01/09 11:46:41 $
|
|
||||||
; Please do NOT modifiy this file. If you wish to modify this file, please keep a backup copy of this file.
|
|
||||||
|
|
||||||
|
|
||||||
;Init CS0 (BootFLASH @ FE00_0000 - FE7F_FFFF 8Mbytes)
|
|
||||||
writemem.l 0xFF000500 0xFE000000;
|
|
||||||
writemem.l 0xFF000508 0x00101980; 16-bit port
|
|
||||||
writemem.l 0xFF000504 0x007F0001;
|
|
||||||
|
|
||||||
@@ -1,48 +0,0 @@
|
|||||||
; This is the board specific initialization file used in CodeWarrior Embedded product for ColdFire architecture
|
|
||||||
; $RCSfile: M5475EVB.cfg,v $
|
|
||||||
; $Revision: 1.4 $ $Date: 2008/01/09 11:46:41 $
|
|
||||||
; Please do NOT modifiy this file. If you wish to modify this file, please keep a backup copy of this file.
|
|
||||||
|
|
||||||
ResetHalt
|
|
||||||
|
|
||||||
;Set VBR - debugger must know this in order
|
|
||||||
; to do exception capture
|
|
||||||
writecontrolreg 0x0801 0x00000000
|
|
||||||
|
|
||||||
; If MBAR changes all following writes must change
|
|
||||||
; and if a memory configuration file is used,
|
|
||||||
; the reserved areas in the register block must
|
|
||||||
; change also.
|
|
||||||
;Turn on MBAR at 0xFF00_0000
|
|
||||||
writecontrolreg 0x0C0F 0xFF000000
|
|
||||||
|
|
||||||
;Turn on RAMBAR0 at address FF10_0000
|
|
||||||
writecontrolreg 0x0C04 0xFF100035
|
|
||||||
|
|
||||||
;Turn on RAMBAR1 at address FF10_1000
|
|
||||||
writecontrolreg 0x0C05 0xFF101035
|
|
||||||
|
|
||||||
;Init CS0 (BootFLASH @ E000_0000 - E07F_FFFF 8Mbytes)
|
|
||||||
writemem.l 0xFF000500 0xE0000000;
|
|
||||||
writemem.l 0xFF000508 0x00001180; 16-bit port
|
|
||||||
writemem.l 0xFF000504 0x007F0001;
|
|
||||||
|
|
||||||
;SDRAM Initialization @ 0000_0000 - 1FFF_FFFF 512Mbytes
|
|
||||||
writemem.l 0xFF000004 0x000002AA; SDRAMDS configuration
|
|
||||||
writemem.l 0xFF000020 0x0000001A; SDRAM CS0 configuration (128Mbytes 0000_0000 - 07FF_FFFF)
|
|
||||||
writemem.l 0xFF000024 0x0800001A; SDRAM CS1 configuration (128Mbytes 0800_0000 - 0FFF_FFFF)
|
|
||||||
writemem.l 0xFF000028 0x1000001A; SDRAM CS2 configuration (128Mbytes 1000_0000 - 17FF_FFFF)
|
|
||||||
writemem.l 0xFF00002C 0x1800001A; SDRAM CS3 configuration (128Mbytes 1800_0000 - 1FFF_FFFF)
|
|
||||||
writemem.l 0xFF000108 0x53722938; SDCFG1
|
|
||||||
writemem.l 0xFF00010C 0x24330000; SDCFG2
|
|
||||||
|
|
||||||
writemem.l 0xFF000104 0xE10F0002; SDCR + IPALL
|
|
||||||
writemem.l 0xFF000100 0x40010000; SDMR (write to LEMR)
|
|
||||||
writemem.l 0xFF000100 0x05890000; SDRM (write to LMR)
|
|
||||||
writemem.l 0xFF000104 0xE10F0002; SDCR + IPALL
|
|
||||||
writemem.l 0xFF000104 0xE10F0004; SDCR + IREF (first refresh)
|
|
||||||
writemem.l 0xFF000104 0xE10F0004; SDCR + IREF (second refresh)
|
|
||||||
writemem.l 0xFF000100 0x01890000; SDMR (write to LMR)
|
|
||||||
writemem.l 0xFF000104 0x710F0F00; SDCR (lock SDMR and enable refresh)
|
|
||||||
|
|
||||||
delay 1000
|
|
||||||
@@ -1,38 +0,0 @@
|
|||||||
// Memory Configuration File
|
|
||||||
//
|
|
||||||
// Description:
|
|
||||||
// A memory configuration file contains commands that define the legally accessible
|
|
||||||
// areas of memory for your specific board. Useful for example when the debugger
|
|
||||||
// tries to display the content of a "char *" variable, that has not yet been initialized.
|
|
||||||
// In this case the debugger may try to read from a bogus address, which could cause a
|
|
||||||
// bus error.
|
|
||||||
//
|
|
||||||
// Board:
|
|
||||||
// LogicPD COLDARI1
|
|
||||||
//
|
|
||||||
// Reference:
|
|
||||||
// MCF5475RM.pdf
|
|
||||||
|
|
||||||
|
|
||||||
// All reserved ranges read back 0xBABA...
|
|
||||||
reservedchar 0xBA
|
|
||||||
|
|
||||||
address MBAR_BASE 0xFF000000
|
|
||||||
address MMUBAR_BASE 0xFF040000
|
|
||||||
|
|
||||||
usederivative "MCF5475"
|
|
||||||
|
|
||||||
// Memory Map:
|
|
||||||
// ----------------------------------------------------------------------
|
|
||||||
range 0x00000000 0x1FFFFFFF 4 ReadWrite // 512MB DDR SDRAM
|
|
||||||
reserved 0x20000000 $MBAR_BASE-1
|
|
||||||
|
|
||||||
$MBAR_BASE $MBAR_BASE+0x3FFFF 4 ReadWrite // Memory Mapped Registers
|
|
||||||
range $MBAR_BASE+0x10000 $MBAR_BASE+0x17FFC 4 ReadWrite // 32K Internal SRAM
|
|
||||||
reserved $MBAR_BASE+0x17FFD $MBAR_BASE+0x1FFBF
|
|
||||||
|
|
||||||
$MMUBAR_BASE $MMUBAR_BASE+0x001B
|
|
||||||
reserved $MMUBAR_BASE+0x001C 0xFF0FFFFF
|
|
||||||
|
|
||||||
range 0xFF100000 0xFF100FFF 4 ReadWrite // 4K SRAM0 (RAMBAR0)
|
|
||||||
range 0xFF101000 0xFF101FFF 4 ReadWrite // 4K SRAM1 (RAMBAR1)
|
|
||||||
Reference in New Issue
Block a user