Fabio Estevam | 419adbf | 2011-09-06 09:05:43 +0000 | [diff] [blame^] | 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 | # Boot Device : one of |
| 24 | # spi, sd (the board has no nand neither onenand) |
| 25 | |
| 26 | BOOT_FROM sd |
| 27 | |
| 28 | # Device Configuration Data (DCD) |
| 29 | # |
| 30 | # Each entry must have the format: |
| 31 | # Addr-type Address Value |
| 32 | # |
| 33 | # where: |
| 34 | # Addr-type register length (1,2 or 4 bytes) |
| 35 | # Address absolute address of the register |
| 36 | # value value to be stored in the register |
| 37 | |
| 38 | # EIM config-CS5 init -- CPLD |
| 39 | DATA 4 0xB8002050 0x0000D843 |
| 40 | DATA 4 0xB8002054 0x22252521 |
| 41 | DATA 4 0xB8002058 0x22220A00 |
| 42 | |
| 43 | # DDR2 init |
| 44 | DATA 4 0xB8001004 0x0076E83A |
| 45 | DATA 4 0xB8001010 0x00000204 |
| 46 | DATA 4 0xB8001000 0x92210000 |
| 47 | DATA 4 0x80000f00 0x12344321 |
| 48 | DATA 4 0xB8001000 0xB2210000 |
| 49 | DATA 1 0x82000000 0xda |
| 50 | DATA 1 0x83000000 0xda |
| 51 | DATA 1 0x81000400 0xda |
| 52 | DATA 1 0x80000333 0xda |
| 53 | |
| 54 | DATA 4 0xB8001000 0x92210000 |
| 55 | DATA 1 0x80000400 0x12345678 |
| 56 | |
| 57 | DATA 4 0xB8001000 0xA2210000 |
| 58 | DATA 4 0x80000000 0x87654321 |
| 59 | DATA 4 0x80000000 0x87654321 |
| 60 | |
| 61 | DATA 4 0xB8001000 0xB2210000 |
| 62 | DATA 1 0x80000233 0xda |
| 63 | DATA 1 0x81000780 0xda |
| 64 | DATA 1 0x81000400 0xda |
| 65 | DATA 4 0xB8001000 0x82216080 |
| 66 | DATA 4 0x43FAC454 0x00001000 |
| 67 | |
| 68 | DATA 4 0x53F80008 0x20034000 |
| 69 | |
| 70 | # Enable the clocks |
| 71 | DATA 4 0x53f8000c 0x1fffffff |
| 72 | DATA 4 0x53f80010 0xffffffff |
| 73 | DATA 4 0x53f80014 0xfdfff |