u-boot/arch/x86/cpu
Bin Meng 49d5ff439c x86: Fix the mystery of printch() during 64-bit boot
At present in arch_setup_gd() it calls printch(' ') at the end which
has been a mystery for a long time as without such call the 64-bit
U-Boot just does not boot at all.

In fact this is due to the bug that board_init_f() was called with
boot_flags not being set. Hence whatever value being there in the
rdi register becomes the boot_flags if without such magic call.
With a printch(' ') call the rdi register is initialized as 0x20
and this value seems to be sane enough for the whole boot process.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
2018-10-22 17:51:45 +08:00
..
baytrail x86: Switch to use DM sysreset driver 2018-07-20 09:33:22 +08:00
braswell x86: Switch to use DM sysreset driver 2018-07-20 09:33:22 +08:00
broadwell SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
coreboot x86: Update mtrr functions to allow leaving cache alone 2018-10-09 04:40:27 -06:00
efi x86: zimage: Support booting Linux kernel from an EFI payload 2018-08-30 11:23:14 +08:00
i386 SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
intel_common x86: Use microcode update from device tree for all processors 2018-07-02 09:23:28 +08:00
ivybridge x86: Switch to use DM sysreset driver 2018-07-20 09:33:22 +08:00
qemu x86: Switch to use DM sysreset driver 2018-07-20 09:33:22 +08:00
quark x86: Switch to use DM sysreset driver 2018-07-20 09:33:22 +08:00
queensbay x86: irq: Remove chipset specific irq router drivers 2018-06-13 09:50:57 +08:00
tangier x86: tangier: pinmux: add API to configure protected pins 2018-09-17 17:35:52 +08:00
x86_64 x86: Fix the mystery of printch() during 64-bit boot 2018-10-22 17:51:45 +08:00
call32.S SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
config.mk SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
cpu.c x86: acpi: Don't touch ACPI hardware in write_acpi_tables() 2018-07-20 09:33:22 +08:00
cpu_x86.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
ioapic.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
irq.c x86: irq: Support discrete PIRQ routing registers via device tree 2018-06-13 09:50:57 +08:00
lapic.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
Makefile x86: efi: Refactor the directory of EFI app and payload support 2018-06-17 21:16:04 +08:00
mp_init.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
mtrr.c x86: Update mtrr functions to allow leaving cache alone 2018-10-09 04:40:27 -06:00
pci.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
resetvec.S SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
sipi_vector.S SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
start.S efi_loader: Rename sections to allow for implicit data 2018-07-25 14:57:44 +02:00
start16.S SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
start64.S x86: Fix the mystery of printch() during 64-bit boot 2018-10-22 17:51:45 +08:00
turbo.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
u-boot-64.lds x86: Include bss subsections in linker script 2018-08-20 14:17:43 +02:00
u-boot-spl.lds SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
u-boot.lds x86: Include bss subsections in linker script 2018-08-20 14:17:43 +02:00
wakeup.S SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00