u-boot/arch/x86/lib
Simon Glass 37897c4073 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>
2020-05-04 15:28:28 +08:00
..
fsp x86: fsp: Allow skipping init code when chain loading 2020-04-30 17:40:16 +08:00
fsp1 x86: Move acpi_s3.h to include/acpi/ 2020-04-16 14:36:28 +08:00
fsp2 x86: fsp: Allow skipping init code when chain loading 2020-04-30 17:40:16 +08:00
acpi.c x86: Move acpi_table header to main include/ directory 2020-04-16 14:36:28 +08:00
acpi_s3.c x86: Move acpi_table header to main include/ directory 2020-04-16 14:36:28 +08:00
acpi_table.c acpi: Put table-setup code in its own function 2020-04-30 17:16:12 +08:00
asm-offsets.c x86: Add new slimbootloader CPU type 2019-08-09 22:24:02 +08:00
bios.c common: Move interrupt functions into a new header 2019-12-02 18:25:00 -05:00
bios.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
bios_asm.S SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
bios_interrupts.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
bootm.c common: Move hang() to the same header as panic() 2020-01-17 17:53:40 -05:00
cmd_boot.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
coreboot_table.c x86: Move acpi_s3.h to include/acpi/ 2020-04-16 14:36:28 +08:00
crt0_ia32_efi.S SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
crt0_x86_64_efi.S x86: Remove unused _relocate arguments 2018-07-19 16:31:36 -04:00
div64.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
e820.c x86: efi_loader: Use efi_add_conventional_memory_map() 2019-09-10 14:31:42 +08:00
early_cmos.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
elf_ia32_efi.lds x86: Include bss subsections in linker script 2018-08-20 14:17:43 +02:00
elf_x86_64_efi.lds x86: Include bss subsections in linker script 2018-08-20 14:17:43 +02:00
hob.c x86: fsp: Tidy up comment style a little 2019-10-08 13:53:54 +08:00
i8254.c x86: Make sure i8254 is setup correctly before generating beeps 2019-03-11 22:55:01 +08:00
i8259.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
init_helpers.c x86: cpu: Skip init code when chain loading 2020-04-30 17:40:16 +08:00
interrupts.c common: Move interrupt functions into a new header 2019-12-02 18:25:00 -05:00
lpc-uclass.c x86: Allow the PCH and LPC uclasses to work with of-platdata 2019-10-08 13:57:48 +08:00
Makefile x86: Don't include the BIOS emulator in TPL 2019-12-15 11:44:18 +08:00
mpspec.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
mrccache.c x86: Correct error return value in mrccache_get_region() 2020-03-05 18:19:04 +08:00
northbridge-uclass.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
physmem.c x86: Move paging functions into cpu.c 2014-10-28 20:42:51 -06:00
pinctrl_ich6.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
pirq_routing.c x86: Allow interrupt to happen once 2019-12-15 11:44:16 +08:00
pmu.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
ramtest.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
reloc_ia32_efi.c elf: Move x86 reloc defines to common elf.h 2018-07-25 14:57:43 +02:00
reloc_x86_64_efi.c elf: Move x86 reloc defines to common elf.h 2018-07-25 14:57:43 +02:00
relocate.c x86: detect unsupported relocation types 2018-10-22 17:51:45 +08:00
scu.c x86: cpu: add docstring to scu_ipc_command() 2018-09-17 17:35:53 +08:00
sections.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
sfi.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
spl.c x86: Move work-around out of cpu_jump_to_64bit_uboot() 2020-05-04 15:28:28 +08:00
string.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
tables.c x86: Move acpi_table header to main include/ directory 2020-04-16 14:36:28 +08:00
tpl.c common: Move hang() to the same header as panic() 2020-01-17 17:53:40 -05:00
zimage.c x86: Move acpi_table header to main include/ directory 2020-04-16 14:36:28 +08:00