summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhao Qiang <qiang.zhao@nxp.com>2016-09-08 12:55:33 +0800
committerYork Sun <york.sun@nxp.com>2016-10-14 10:21:30 -0700
commitc5938c10ef70c9b713415cc053b464a64f7c05f8 (patch)
treed7b942050f544741f3497445f885990691b013a1
parentec90ac7359a10513f1458ad5840858e6d8be0624 (diff)
pbl: use "wait" command instead of "flush" command
PBL flush command is restricted to CCSR memory space. So use WAIT PBI command to provide enough time for data to get flush in target memory. Signed-off-by: Zhao Qiang <qiang.zhao@nxp.com> [York Sun: rewrap commit message] Reviewed-by: York Sun <york.sun@nxp.com>
-rw-r--r--board/freescale/t208xqds/t208x_pbi.cfg3
-rw-r--r--board/freescale/t208xrdb/t2080_pbi.cfg3
-rw-r--r--board/freescale/t4qds/t4_pbi.cfg3
-rw-r--r--board/freescale/t4rdb/t4_pbi.cfg3
-rw-r--r--tools/pblimage.c2
5 files changed, 5 insertions, 9 deletions
diff --git a/board/freescale/t208xqds/t208x_pbi.cfg b/board/freescale/t208xqds/t208x_pbi.cfg
index e200d926fb..43be8a864e 100644
--- a/board/freescale/t208xqds/t208x_pbi.cfg
+++ b/board/freescale/t208xqds/t208x_pbi.cfg
@@ -37,5 +37,4 @@
09000014 ff000000
09000018 81000000
#Flush PBL data
-09138000 00000000
-091380c0 00000000
+091380c0 00100000
diff --git a/board/freescale/t208xrdb/t2080_pbi.cfg b/board/freescale/t208xrdb/t2080_pbi.cfg
index e200d926fb..43be8a864e 100644
--- a/board/freescale/t208xrdb/t2080_pbi.cfg
+++ b/board/freescale/t208xrdb/t2080_pbi.cfg
@@ -37,5 +37,4 @@
09000014 ff000000
09000018 81000000
#Flush PBL data
-09138000 00000000
-091380c0 00000000
+091380c0 00100000
diff --git a/board/freescale/t4qds/t4_pbi.cfg b/board/freescale/t4qds/t4_pbi.cfg
index 6126266a96..8d460039bf 100644
--- a/board/freescale/t4qds/t4_pbi.cfg
+++ b/board/freescale/t4qds/t4_pbi.cfg
@@ -18,5 +18,4 @@
09000014 ff000000
09000018 81000000
#Flush PBL data
-09138000 00000000
-091380c0 00000000
+091380c0 00100000
diff --git a/board/freescale/t4rdb/t4_pbi.cfg b/board/freescale/t4rdb/t4_pbi.cfg
index e7bb673e46..0b326fa163 100644
--- a/board/freescale/t4rdb/t4_pbi.cfg
+++ b/board/freescale/t4rdb/t4_pbi.cfg
@@ -24,5 +24,4 @@
09000014 ff000000
09000018 81000000
#Flush PBL data
-09138000 00000000
-091380c0 00000000
+091380c0 00100000
diff --git a/tools/pblimage.c b/tools/pblimage.c
index d74fde9a44..16d94c98c6 100644
--- a/tools/pblimage.c
+++ b/tools/pblimage.c
@@ -297,7 +297,7 @@ int pblimage_check_params(struct image_tool_params *params)
pbi_crc_cmd1 = 0x13;
pbi_crc_cmd2 = 0x80;
pbl_cmd_initaddr = 0x82000000;
- pbl_end_cmd[0] = 0x09138000;
+ pbl_end_cmd[0] = 0x091380c0;
pbl_end_cmd[1] = 0x00000000;
pbl_end_cmd[2] = 0x091380c0;
pbl_end_cmd[3] = 0x00000000;