blob: 3fdfb47ab235b4d41e1559de6f2c48098a110500 [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001# SPDX-License-Identifier: GPL-2.0+
Valentin Longchamp877bfe32013-10-18 11:47:24 +02002#
3# Copyright 2012 Freescale Semiconductor, Inc.
Valentin Longchamp877bfe32013-10-18 11:47:24 +02004# Refer docs/README.pblimage for more details about how-to configure
5# and create PBL boot image
6#
7
8#PBI commands
Valentin Longchamp2846c432014-04-30 15:01:48 +02009#Configure ALTCBAR for DCSR -> DCSR@89000000
10091380c0 000009C4
Valentin Longchampfabb9292014-01-27 11:49:07 +01001109000010 00000000
Valentin Longchamp2846c432014-04-30 15:01:48 +020012091380c0 000009C4
Valentin Longchampfabb9292014-01-27 11:49:07 +01001309000014 00000000
Valentin Longchamp2846c432014-04-30 15:01:48 +020014091380c0 000009C4
Valentin Longchampfabb9292014-01-27 11:49:07 +01001509000018 81d00000
Valentin Longchamp2846c432014-04-30 15:01:48 +020016#Workaround for A-004849
17091380c0 000009C4
18890B0050 00000002
19091380c0 000009C4
20890B0054 00000002
21091380c0 000009C4
22890B0058 00000002
23091380c0 000009C4
24890B005C 00000002
25091380c0 000009C4
26890B0090 00000002
27091380c0 000009C4
28890B0094 00000002
29091380c0 000009C4
30890B0098 00000002
31091380c0 000009C4
32890B009C 00000002
33091380c0 000009C4
34890B0108 00000012
35091380c0 000009C4
36#Workaround for A-006559 needed for rev 2.0 of P2041 silicon
3789021008 0000f000
38091380c0 000009C4
3989021028 0000f000
40091380c0 000009C4
4189021048 0000f000
42091380c0 000009C4
4389021068 0000f000
44091380c0 000009C4
45#Flush PBL data
4609138000 00000000
47#Disable ALTCBAR
Valentin Longchampfabb9292014-01-27 11:49:07 +01004809000018 00000000
Valentin Longchamp2846c432014-04-30 15:01:48 +020049091380c0 000009C4
Valentin Longchamp877bfe32013-10-18 11:47:24 +020050#Initialize CPC1 as 1MB SRAM
5109010000 00200400
5209138000 00000000
53091380c0 00000100
5409010100 00000000
5509010104 fff0000b
5609010f00 08000000
5709010000 80000000
58#Configure LAW for CPC1
5909000d00 00000000
6009000d04 fff00000
6109000d08 81000013
6209000010 00000000
6309000014 ff000000
6409000018 81000000
65#Initialize eSPI controller, default configuration is slow for eSPI to
66#load data, this configuration comes from u-boot eSPI driver.
6709110000 80000403
6809110020 27170008
6909110024 00100008
7009110028 00100008
710911002c 00100008
72#Flush PBL data
7309138000 00000000
74091380c0 00000000