blob: 3c8d6df8262fd10b8e5eb3b2356e93ab899c7c08 [file] [log] [blame]
Troy Kiskya18d7862013-01-18 16:14:24 +00001/*
2 * (C) Copyright 2009
3 * Stefano Babic DENX Software Engineering sbabic@denx.de.
4 *
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02005 * SPDX-License-Identifier: GPL-2.0+
Troy Kiskya18d7862013-01-18 16:14:24 +00006 *
Anatolij Gustschinfd4b3d32013-04-30 11:15:33 +00007 * Refer doc/README.imximage for more details about how-to configure
Troy Kiskya18d7862013-01-18 16:14:24 +00008 * and create imximage boot image
9 *
10 * The syntax is taken as close as possible with the kwbimage
11 */
Fabio Estevamadac83a2011-09-06 09:05:43 +000012
Troy Kiskya18d7862013-01-18 16:14:24 +000013/*
14 * Boot Device : one of
15 * spi, sd (the board has no nand neither onenand)
16 */
Fabio Estevamadac83a2011-09-06 09:05:43 +000017BOOT_FROM sd
18
Troy Kiskya18d7862013-01-18 16:14:24 +000019/*
20 * Device Configuration Data (DCD)
21 *
22 * Each entry must have the format:
23 * Addr-type Address Value
24 *
25 * where:
26 * Addr-type register length (1,2 or 4 bytes)
27 * Address absolute address of the register
28 * value value to be stored in the register
29 */
30/* EIM config-CS5 init -- CPLD */
Fabio Estevamadac83a2011-09-06 09:05:43 +000031DATA 4 0xB8002050 0x0000D843
32DATA 4 0xB8002054 0x22252521
33DATA 4 0xB8002058 0x22220A00
34
Troy Kiskya18d7862013-01-18 16:14:24 +000035/* DDR2 init */
Fabio Estevamadac83a2011-09-06 09:05:43 +000036DATA 4 0xB8001004 0x0076E83A
37DATA 4 0xB8001010 0x00000204
38DATA 4 0xB8001000 0x92210000
39DATA 4 0x80000f00 0x12344321
40DATA 4 0xB8001000 0xB2210000
41DATA 1 0x82000000 0xda
42DATA 1 0x83000000 0xda
43DATA 1 0x81000400 0xda
44DATA 1 0x80000333 0xda
45
46DATA 4 0xB8001000 0x92210000
47DATA 1 0x80000400 0x12345678
48
49DATA 4 0xB8001000 0xA2210000
50DATA 4 0x80000000 0x87654321
51DATA 4 0x80000000 0x87654321
52
53DATA 4 0xB8001000 0xB2210000
54DATA 1 0x80000233 0xda
55DATA 1 0x81000780 0xda
56DATA 1 0x81000400 0xda
57DATA 4 0xB8001000 0x82216080
58DATA 4 0x43FAC454 0x00001000
59
60DATA 4 0x53F80008 0x20034000
61
Troy Kiskya18d7862013-01-18 16:14:24 +000062/* Enable the clocks */
Fabio Estevamadac83a2011-09-06 09:05:43 +000063DATA 4 0x53f8000c 0x1fffffff
64DATA 4 0x53f80010 0xffffffff
65DATA 4 0x53f80014 0xfdfff