commit | 37897c4073b408c6e0ea7faa4062b4e6876e9659 | [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 | c2018cdd717732f3fc4b2bb9005d8c2e73088762 [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>