Chris Packham | a6477f7 | 2018-06-25 22:34:57 +1200 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0+ |
| 2 | # |
| 3 | # (C) Copyright 2018 Allied Telesis |
| 4 | # |
| 5 | # Refer docs/README.kwimage for more details about how-to configure |
| 6 | # and create kirkwood boot image |
| 7 | # |
| 8 | |
| 9 | # Boot Media configurations |
| 10 | BOOT_FROM spi # Boot from SPI flash |
| 11 | |
| 12 | # SOC registers configuration using bootrom header extension |
| 13 | # Maximum KWBIMAGE_MAX_CONFIG configurations allowed |
| 14 | DATA 0xffd100e0 0x1b1b1b1b |
| 15 | DATA 0xffd20134 0xffffffff |
| 16 | DATA 0xffd20138 0x009fffff |
| 17 | DATA 0xffd20154 0x00000000 |
| 18 | DATA 0xffd2014c 0x00000000 |
| 19 | DATA 0xffd20148 0x00000001 |
| 20 | |
| 21 | # Dram initalization for 1 x x16 |
| 22 | # DDR II Micron part number MT47H64M16HR-3 |
| 23 | # MClk 333MHz, Size 128MB, ECC disable |
| 24 | # |
| 25 | DATA 0xffd01400 0x43000618 |
| 26 | DATA 0xffd01404 0x38543000 |
| 27 | DATA 0xffd01408 0x23125441 |
| 28 | DATA 0xffd0140c 0x00000832 |
| 29 | DATA 0xffd01410 0x0000000D |
| 30 | DATA 0xffd01414 0x00000000 |
| 31 | DATA 0xffd01418 0x00000000 |
| 32 | DATA 0xffd0141c 0x00000652 |
| 33 | DATA 0xffd01420 0x00000042 |
| 34 | DATA 0xffd01424 0x0000F0FF |
| 35 | DATA 0xffd01428 0x00074410 |
| 36 | DATA 0xffd0147C 0x00007441 |
| 37 | DATA 0xffd01500 0x00000000 # SDRAM CS[0] Base address at 0x00000000 |
| 38 | DATA 0xffd01504 0x07FFFFF1 # SDRAM CS[0] Size 128MiB |
| 39 | DATA 0xffd01508 0x10000000 |
| 40 | DATA 0xffd0150c 0x00FFFFF4 # SDRAM CS[1] Size, window disabled |
| 41 | DATA 0xffd01514 0x00FFFFF8 # SDRAM CS[2] Size, window disabled |
| 42 | DATA 0xffd0151c 0x00FFFFFC # SDRAM CS[3] Size, window disabled |
| 43 | DATA 0xffd01494 0x84210000 |
| 44 | DATA 0xffd01498 0x00000000 |
| 45 | DATA 0xffd0149c 0x0000F80F |
| 46 | DATA 0xffd01480 0x00000001 |
| 47 | |
| 48 | # End of Header extension |
| 49 | DATA 0x0 0x0 |