Commit c5938c10 authored by Zhao Qiang's avatar Zhao Qiang Committed by York Sun

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: default avatarZhao Qiang <qiang.zhao@nxp.com>
[York Sun: rewrap commit message]
Reviewed-by: default avatarYork Sun <york.sun@nxp.com>
parent ec90ac73
......@@ -37,5 +37,4 @@
09000014 ff000000
09000018 81000000
#Flush PBL data
09138000 00000000
091380c0 00000000
091380c0 00100000
......@@ -37,5 +37,4 @@
09000014 ff000000
09000018 81000000
#Flush PBL data
09138000 00000000
091380c0 00000000
091380c0 00100000
......@@ -18,5 +18,4 @@
09000014 ff000000
09000018 81000000
#Flush PBL data
09138000 00000000
091380c0 00000000
091380c0 00100000
......@@ -24,5 +24,4 @@
09000014 ff000000
09000018 81000000
#Flush PBL data
09138000 00000000
091380c0 00000000
091380c0 00100000
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment