]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
pbl: use "wait" command instead of "flush" command
authorZhao Qiang <qiang.zhao@nxp.com>
Thu, 8 Sep 2016 04:55:33 +0000 (12:55 +0800)
committerYork Sun <york.sun@nxp.com>
Fri, 14 Oct 2016 17:21:30 +0000 (10:21 -0700)
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>
board/freescale/t208xqds/t208x_pbi.cfg
board/freescale/t208xrdb/t2080_pbi.cfg
board/freescale/t4qds/t4_pbi.cfg
board/freescale/t4rdb/t4_pbi.cfg
tools/pblimage.c

index e200d926fb07e0329d8946d33562d8605d8299ba..43be8a864e3aaa49e81d3d514bbd1c06bf536200 100644 (file)
@@ -37,5 +37,4 @@
 09000014 ff000000
 09000018 81000000
 #Flush PBL data
-09138000 00000000
-091380c0 00000000
+091380c0 00100000
index e200d926fb07e0329d8946d33562d8605d8299ba..43be8a864e3aaa49e81d3d514bbd1c06bf536200 100644 (file)
@@ -37,5 +37,4 @@
 09000014 ff000000
 09000018 81000000
 #Flush PBL data
-09138000 00000000
-091380c0 00000000
+091380c0 00100000
index 6126266a96fd2315c6ca68c80d5c9681152ef70f..8d460039bf464756ccfca4bd32450a04679a5c1e 100644 (file)
@@ -18,5 +18,4 @@
 09000014 ff000000
 09000018 81000000
 #Flush PBL data
-09138000 00000000
-091380c0 00000000
+091380c0 00100000
index e7bb673e463b2a9bbfde7bca0d83762d8392794d..0b326fa1635a9639cea52cba811e15e33844f37f 100644 (file)
@@ -24,5 +24,4 @@
 09000014 ff000000
 09000018 81000000
 #Flush PBL data
-09138000 00000000
-091380c0 00000000
+091380c0 00100000
index d74fde9a4415df6e12548a72f1b4b7a9e2ea1d6a..16d94c98c611d1b1992f320c5634cee04b054823 100644 (file)
@@ -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;