Tom Rini | 83d290c | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0+ |
Shaohui Xie | 5d898a0 | 2012-08-10 02:49:35 +0000 | [diff] [blame] | 2 | # |
| 3 | # Copyright 2012 Freescale Semiconductor, Inc. |
Anatolij Gustschin | b1e6c4c | 2013-04-30 11:15:33 +0000 | [diff] [blame] | 4 | # Refer doc/README.pblimage for more details about how-to configure |
Shaohui Xie | 5d898a0 | 2012-08-10 02:49:35 +0000 | [diff] [blame] | 5 | # and create PBL boot image |
| 6 | # |
| 7 | |
| 8 | #PBI commands |
| 9 | #Initialize CPC1 as 1MB SRAM |
| 10 | 09010000 00200400 |
| 11 | 09138000 00000000 |
| 12 | 091380c0 00000100 |
| 13 | 09010100 00000000 |
| 14 | 09010104 fff0000b |
| 15 | 09010f00 08000000 |
| 16 | 09010000 80000000 |
| 17 | #Configure LAW for CPC1 |
| 18 | 09000d00 00000000 |
| 19 | 09000d04 fff00000 |
| 20 | 09000d08 81000013 |
| 21 | 09000010 00000000 |
| 22 | 09000014 ff000000 |
| 23 | 09000018 81000000 |
| 24 | #Initialize eSPI controller, default configuration is slow for eSPI to |
| 25 | #load data, this configuration comes from u-boot eSPI driver. |
| 26 | 09110000 80000403 |
| 27 | 09110020 2d170008 |
| 28 | 09110024 00100008 |
| 29 | 09110028 00100008 |
| 30 | 0911002c 00100008 |
| 31 | #Flush PBL data |
| 32 | 09138000 00000000 |
| 33 | 091380c0 00000000 |