On Fri, May 1, 2020 at 6:25 PM Bin Meng <bmeng...@gmail.com> wrote: > > On Fri, May 1, 2020 at 11:22 AM Simon Glass <s...@chromium.org> wrote: > > > > 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 <s...@chromium.org> > > --- > > > > Changes in v3: None > > Changes in v2: None > > > > arch/x86/cpu/i386/cpu.c | 10 ---------- > > arch/x86/lib/spl.c | 13 +++++++++++++ > > 2 files changed, 13 insertions(+), 10 deletions(-) > > > > Reviewed-by: Bin Meng <bmeng...@gmail.com> > Tested-by: Bin Meng <bmeng...@gmail.com>
applied to u-boot-x86, thanks!