Valentin Longchamp | 877bfe3 | 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 | 2846c43 | 2014-04-30 15:01:48 +0200 | [diff] [blame] | 11 | #Configure ALTCBAR for DCSR -> DCSR@89000000 |
| 12 | 091380c0 000009C4 |
Valentin Longchamp | fabb929 | 2014-01-27 11:49:07 +0100 | [diff] [blame] | 13 | 09000010 00000000 |
Valentin Longchamp | 2846c43 | 2014-04-30 15:01:48 +0200 | [diff] [blame] | 14 | 091380c0 000009C4 |
Valentin Longchamp | fabb929 | 2014-01-27 11:49:07 +0100 | [diff] [blame] | 15 | 09000014 00000000 |
Valentin Longchamp | 2846c43 | 2014-04-30 15:01:48 +0200 | [diff] [blame] | 16 | 091380c0 000009C4 |
Valentin Longchamp | fabb929 | 2014-01-27 11:49:07 +0100 | [diff] [blame] | 17 | 09000018 81d00000 |
Valentin Longchamp | 2846c43 | 2014-04-30 15:01:48 +0200 | [diff] [blame] | 18 | #Workaround for A-004849 |
| 19 | 091380c0 000009C4 |
| 20 | 890B0050 00000002 |
| 21 | 091380c0 000009C4 |
| 22 | 890B0054 00000002 |
| 23 | 091380c0 000009C4 |
| 24 | 890B0058 00000002 |
| 25 | 091380c0 000009C4 |
| 26 | 890B005C 00000002 |
| 27 | 091380c0 000009C4 |
| 28 | 890B0090 00000002 |
| 29 | 091380c0 000009C4 |
| 30 | 890B0094 00000002 |
| 31 | 091380c0 000009C4 |
| 32 | 890B0098 00000002 |
| 33 | 091380c0 000009C4 |
| 34 | 890B009C 00000002 |
| 35 | 091380c0 000009C4 |
| 36 | 890B0108 00000012 |
| 37 | 091380c0 000009C4 |
| 38 | #Workaround for A-006559 needed for rev 2.0 of P2041 silicon |
| 39 | 89021008 0000f000 |
| 40 | 091380c0 000009C4 |
| 41 | 89021028 0000f000 |
| 42 | 091380c0 000009C4 |
| 43 | 89021048 0000f000 |
| 44 | 091380c0 000009C4 |
| 45 | 89021068 0000f000 |
| 46 | 091380c0 000009C4 |
| 47 | #Flush PBL data |
| 48 | 09138000 00000000 |
| 49 | #Disable ALTCBAR |
Valentin Longchamp | fabb929 | 2014-01-27 11:49:07 +0100 | [diff] [blame] | 50 | 09000018 00000000 |
Valentin Longchamp | 2846c43 | 2014-04-30 15:01:48 +0200 | [diff] [blame] | 51 | 091380c0 000009C4 |
Valentin Longchamp | 877bfe3 | 2013-10-18 11:47:24 +0200 | [diff] [blame] | 52 | #Initialize CPC1 as 1MB SRAM |
| 53 | 09010000 00200400 |
| 54 | 09138000 00000000 |
| 55 | 091380c0 00000100 |
| 56 | 09010100 00000000 |
| 57 | 09010104 fff0000b |
| 58 | 09010f00 08000000 |
| 59 | 09010000 80000000 |
| 60 | #Configure LAW for CPC1 |
| 61 | 09000d00 00000000 |
| 62 | 09000d04 fff00000 |
| 63 | 09000d08 81000013 |
| 64 | 09000010 00000000 |
| 65 | 09000014 ff000000 |
| 66 | 09000018 81000000 |
| 67 | #Initialize eSPI controller, default configuration is slow for eSPI to |
| 68 | #load data, this configuration comes from u-boot eSPI driver. |
| 69 | 09110000 80000403 |
| 70 | 09110020 27170008 |
| 71 | 09110024 00100008 |
| 72 | 09110028 00100008 |
| 73 | 0911002c 00100008 |
| 74 | #Flush PBL data |
| 75 | 09138000 00000000 |
| 76 | 091380c0 00000000 |