summaryrefslogtreecommitdiffstats
path: root/sim-scripts/ant5206.in
blob: 9560acc83bcec743a34a9430ed7447206aa6f04b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#
#  M68K-Coldfire/ant5206 Support 
#

##INSERT SKYEYE SUPPORT HERE

checkBSPFaults()
{
  bspExited_ARM
  return $?
}

bspLimit()
{
  testname=$1
  case ${testname} in
    *stackchk*)limit=5 ;;
    *fatal*)   limit=1 ;;
    *minimum*) limit=1 ;;
    *psxtime*) limit=180 ;;
    *)         limit=60 ;;
  esac
  echo ${limit}
}

bspGeneratesDeviceTree="yes"
bspTreeFile=ant5206.conf

### Generate the PSIM device tree based upon the type of application being run
bspGenerateDeviceTree()
{
cat <<EOF
cpu: coldfire
mach: mcf5206
mem_bank: map=M, type=RW, addr=0x20100000, size=0x00F00000
mem_bank: map=M, type=RW, addr=0x00200000, size=0x0004000
uart: mod=pipe, desc_in=/dev/null, desc_out=/dev/stdout
EOF
}