Valentin Longchamp | c98bf29 | 2013-10-18 11:47:24 +0200 | [diff] [blame] | 1 | # |
| 2 | # Copyright 2012 Freescale Semiconductor, Inc. |
| 3 | # |
| 4 | # SPDX-License-Identifier: GPL-2.0+ |
| 5 | # |
| 6 | # Refer docs/README.pblimage for more details about how-to configure |
| 7 | # and create PBL boot image |
| 8 | # |
| 9 | |
| 10 | #PBI commands |
Valentin Longchamp | d585ac5 | 2014-01-27 11:49:07 +0100 | [diff] [blame] | 11 | #Workaround for A-006559 needed for rev 2.0 of P2041 silicon |
| 12 | #Freescale's errarta sheet suggests it may be done with PBI |
| 13 | 09000010 00000000 |
| 14 | 09000014 00000000 |
| 15 | 09000018 81d00000 |
| 16 | 09021008 0000f000 |
| 17 | 09021028 0000f000 |
| 18 | 09021048 0000f000 |
| 19 | 09021068 0000f000 |
| 20 | 09000018 00000000 |
Valentin Longchamp | c98bf29 | 2013-10-18 11:47:24 +0200 | [diff] [blame] | 21 | #Initialize CPC1 as 1MB SRAM |
| 22 | 09010000 00200400 |
| 23 | 09138000 00000000 |
| 24 | 091380c0 00000100 |
| 25 | 09010100 00000000 |
| 26 | 09010104 fff0000b |
| 27 | 09010f00 08000000 |
| 28 | 09010000 80000000 |
| 29 | #Configure LAW for CPC1 |
| 30 | 09000d00 00000000 |
| 31 | 09000d04 fff00000 |
| 32 | 09000d08 81000013 |
| 33 | 09000010 00000000 |
| 34 | 09000014 ff000000 |
| 35 | 09000018 81000000 |
| 36 | #Initialize eSPI controller, default configuration is slow for eSPI to |
| 37 | #load data, this configuration comes from u-boot eSPI driver. |
| 38 | 09110000 80000403 |
| 39 | 09110020 27170008 |
| 40 | 09110024 00100008 |
| 41 | 09110028 00100008 |
| 42 | 0911002c 00100008 |
| 43 | #Flush PBL data |
| 44 | 09138000 00000000 |
| 45 | 091380c0 00000000 |