1/*
2 * (C) Copyright 2009
3 * Stefano Babic DENX Software Engineering sbabic@denx.de.
4 *
5 * See file CREDITS for list of people who contributed to this
6 * project.
7 *
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License as
10 * published by the Free Software Foundation; either version 2 of
11 * the License or (at your option) any later version.
12 *
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
17 *
18 * Refer docs/README.imxmage for more details about how-to configure
19 * and create imximage boot image
20 *
21 * The syntax is taken as close as possible with the kwbimage
22 */
23
24/*
25 * Boot Device : one of
26 * spi, sd (the board has no nand neither onenand)
27 */
28BOOT_FROM	sd
29
30/*
31 * Device Configuration Data (DCD)
32 *
33 * Each entry must have the format:
34 * Addr-type           Address        Value
35 *
36 * where:
37 *	Addr-type register length (1,2 or 4 bytes)
38 *	Address	  absolute address of the register
39 *	value	  value to be stored in the register
40 */
41/* EIM config-CS5 init -- CPLD */
42DATA 4 0xB8002050 0x0000D843
43DATA 4 0xB8002054 0x22252521
44DATA 4 0xB8002058 0x22220A00
45
46/* DDR2 init */
47DATA 4 0xB8001004 0x0076E83A
48DATA 4 0xB8001010 0x00000204
49DATA 4 0xB8001000 0x92210000
50DATA 4 0x80000f00 0x12344321
51DATA 4 0xB8001000 0xB2210000
52DATA 1 0x82000000 0xda
53DATA 1 0x83000000 0xda
54DATA 1 0x81000400 0xda
55DATA 1 0x80000333 0xda
56
57DATA 4 0xB8001000 0x92210000
58DATA 1 0x80000400 0x12345678
59
60DATA 4 0xB8001000 0xA2210000
61DATA 4 0x80000000 0x87654321
62DATA 4 0x80000000 0x87654321
63
64DATA 4 0xB8001000 0xB2210000
65DATA 1 0x80000233 0xda
66DATA 1 0x81000780 0xda
67DATA 1 0x81000400 0xda
68DATA 4 0xB8001000 0x82216080
69DATA 4 0x43FAC454 0x00001000
70
71DATA 4 0x53F80008 0x20034000
72
73/* Enable the clocks */
74DATA 4 0x53f8000c 0x1fffffff
75DATA 4 0x53f80010 0xffffffff
76DATA 4 0x53f80014 0xfdfff
77