blob: c42a2836f7eb97ab3f005e55b4f2bc48370323b6 [file] [log] [blame]
Troy Kisky71a988a2013-01-18 16:14:24 +00001/*
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 */
Fabio Estevam419adbf2011-09-06 09:05:43 +000023
Troy Kisky71a988a2013-01-18 16:14:24 +000024/*
25 * Boot Device : one of
26 * spi, sd (the board has no nand neither onenand)
27 */
Fabio Estevam419adbf2011-09-06 09:05:43 +000028BOOT_FROM sd
29
Troy Kisky71a988a2013-01-18 16:14:24 +000030/*
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 */
Fabio Estevam419adbf2011-09-06 09:05:43 +000042DATA 4 0xB8002050 0x0000D843
43DATA 4 0xB8002054 0x22252521
44DATA 4 0xB8002058 0x22220A00
45
Troy Kisky71a988a2013-01-18 16:14:24 +000046/* DDR2 init */
Fabio Estevam419adbf2011-09-06 09:05:43 +000047DATA 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
Troy Kisky71a988a2013-01-18 16:14:24 +000073/* Enable the clocks */
Fabio Estevam419adbf2011-09-06 09:05:43 +000074DATA 4 0x53f8000c 0x1fffffff
75DATA 4 0x53f80010 0xffffffff
76DATA 4 0x53f80014 0xfdfff