blob: 1e0a171d88b4e0d2270c38c6c5cb083b67c9ad82 [file] [log] [blame]
Valentin Longchamp877bfe32013-10-18 11:47:24 +02001#
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 Longchamp2846c432014-04-30 15:01:48 +020011#Configure ALTCBAR for DCSR -> DCSR@89000000
12091380c0 000009C4
Valentin Longchampfabb9292014-01-27 11:49:07 +01001309000010 00000000
Valentin Longchamp2846c432014-04-30 15:01:48 +020014091380c0 000009C4
Valentin Longchampfabb9292014-01-27 11:49:07 +01001509000014 00000000
Valentin Longchamp2846c432014-04-30 15:01:48 +020016091380c0 000009C4
Valentin Longchampfabb9292014-01-27 11:49:07 +01001709000018 81d00000
Valentin Longchamp2846c432014-04-30 15:01:48 +020018#Workaround for A-004849
19091380c0 000009C4
20890B0050 00000002
21091380c0 000009C4
22890B0054 00000002
23091380c0 000009C4
24890B0058 00000002
25091380c0 000009C4
26890B005C 00000002
27091380c0 000009C4
28890B0090 00000002
29091380c0 000009C4
30890B0094 00000002
31091380c0 000009C4
32890B0098 00000002
33091380c0 000009C4
34890B009C 00000002
35091380c0 000009C4
36890B0108 00000012
37091380c0 000009C4
38#Workaround for A-006559 needed for rev 2.0 of P2041 silicon
3989021008 0000f000
40091380c0 000009C4
4189021028 0000f000
42091380c0 000009C4
4389021048 0000f000
44091380c0 000009C4
4589021068 0000f000
46091380c0 000009C4
47#Flush PBL data
4809138000 00000000
49#Disable ALTCBAR
Valentin Longchampfabb9292014-01-27 11:49:07 +01005009000018 00000000
Valentin Longchamp2846c432014-04-30 15:01:48 +020051091380c0 000009C4
Valentin Longchamp877bfe32013-10-18 11:47:24 +020052#Initialize CPC1 as 1MB SRAM
5309010000 00200400
5409138000 00000000
55091380c0 00000100
5609010100 00000000
5709010104 fff0000b
5809010f00 08000000
5909010000 80000000
60#Configure LAW for CPC1
6109000d00 00000000
6209000d04 fff00000
6309000d08 81000013
6409000010 00000000
6509000014 ff000000
6609000018 81000000
67#Initialize eSPI controller, default configuration is slow for eSPI to
68#load data, this configuration comes from u-boot eSPI driver.
6909110000 80000403
7009110020 27170008
7109110024 00100008
7209110028 00100008
730911002c 00100008
74#Flush PBL data
7509138000 00000000
76091380c0 00000000