aboutsummaryrefslogtreecommitdiff
path: root/tcl/board/hammer.cfg
blob: d366a45ecd50d92ed4d3943efff35606d22ac96e (plain)
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
# Target Configuration for the TinCanTools S3C2410 Based Hammer Module
# http://www.tincantools.com

source [find target/samsung_s3c2410.cfg]

$_TARGETNAME configure -event reset-init {
	# Reset Script for the TinCanTools S3C2410 Based Hammer Module
	# http://www.tincantools.com
	#
	# Setup primary clocks and initialize the SDRAM
	mww 0x53000000 0x00000000
	mww 0x4a000008 0xffffffff
	mww 0x4a00000c 0x000007ff
	mww 0x4c000000 0x00ffffff
	mww 0x4c000014 0x00000003
	mww 0x4c000004 0x000a1031
	mww 0x48000000 0x11111122
	mww 0x48000004 0x00000700
	mww 0x48000008 0x00000700
	mww 0x4800000c 0x00000700
	mww 0x48000010 0x00000700
	mww 0x48000014 0x00000700
	mww 0x48000018 0x00000700
	mww 0x4800001c 0x00018005
	mww 0x48000020 0x00018005
	mww 0x48000024 0x009c0459
	mww 0x48000028 0x000000b2
	mww 0x4800002c 0x00000030
	mww 0x48000030 0x00000030
	flash probe 0
}


#flash configuration
#flash bank <driver> <base> <size> <chip_width> <bus_width> [driver_options ...]
set _FLASHNAME $_CHIPNAME.flash
flash bank $_FLASHNAME cfi 0x00000000 0x1000000 2 2 0