summaryrefslogtreecommitdiffstats
path: root/sim-scripts/edb7312.in
blob: cec5b422cccba1fcd7ba3cde40e506c53b910ff9 (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
#
#  ARM/EDB7312 Support 
#
#  $Id$
#

##INSERT SKYEYE SUPPORT HERE

checkBSPFaults()
{
  bspExited_ARM
  return $?
}

bspGeneratesDeviceTree="yes"
bspTreeFile=edb7312.conf

### Generate the PSIM device tree based upon the type of application being run
bspGenerateDeviceTree()
{
cat <<EOF
cpu: arm720t
mach: ep7312
mem_bank: map=I,type=RW, addr=0x80000000, size=0x00100000
mem_bank: map=M, type=RW, addr=0x00000000, size=0x1000000
uart: mod=pipe, desc_in=/dev/null, desc_out=/dev/stdout
shutdown_device: addr=0xb0000000, max_ins=0
EOF
#shutdown_device: addr=0xb0000000, max_ins=${limit}0000000

if [ ${coverage} = yes ] ; then
  # enable 1 MB of RAM to be analyzed.
  echo "code_coverage: state=on, filename=${2}.cov, start=0x00000000, end=0x00100000"
fi
}