commit | 91fcd1d20b4da88cb02f2478d40dcc0fb17db28f | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Thu Apr 30 21:21:41 2020 -0600 |
committer | Bin Meng <bmeng.cn@gmail.com> | Mon May 04 15:28:28 2020 +0800 |
tree | fcde40923cfcf233d25bc091eb01e65123c02308 | |
parent | de3d9af5f5bb455be8dbc537fd1584bef4e81911 [diff] |
x86: Move work-around out of cpu_jump_to_64bit_uboot() At present this function copies U-Boot from the last 1MB of ROM. This is not the right way to do it. Instead, the binman symbol should provide the location. But in any case the code should live in the caller, spl_board_load_image(), so that the 64-bit jump function can be used elsewhere. Move it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>