[U-Boot] Please pull u-boot-x86

Hi Tom,
This includes the EFI support, updates for baytrail and minnowmax, plus multi-cpu support for qemu-x86. There are a few small fixes also.
The following changes since commit e22b1a54942d9003b10564325a34e3cf767556ce:
Merge branch 'master' of git://git.denx.de/u-boot-fsl-qoriq (2015-08-04 12:21:45 -0400)
are available in the git repository at:
git://git.denx.de/u-boot-x86.git
for you to fetch changes up to 12c7510f17ff29190e52336910e43a50c0d620a6:
x86: Document how to write PIRQ information in the device tree (2015-08-05 10:49:32 -0600)
---------------------------------------------------------------- Ben Stoltz (6): efi: Avoid using non-existent text base efi: Drop CONFIG_SYS_TEXT_BASE for EFI x86: Set up toolchain flags for running as EFI application x86: Add support for U-Boot as an EFI application x86: Add EFI board code x86: Add definitions for the x86-efi board and plumb it in
Bin Meng (13): dm: pci: Allow scan bridge child devices before relocation doc: dm: Update pci-info.txt for pci support x86: qemu: Add MP initialization x86: Sanity test on vesa parameters before setting up kernel screen_info x86: minnowmax: Remove smsc47x superio codes x86: baytrail: Update UPD setting for FSP Gold4 release x86: Add microcode for BayTrail-I B0 stepping x86: Add Intel Bayley Bay board support x86: bayleybay: Configure PCI IRQ gitignore: Add defconfig and fdtgrep common: Print nothing in the __weak checkboard() pci: Remove DEBUG from pci_compat.c x86: Document how to write PIRQ information in the device tree
Masahiro Yamada (1): lib: fdt: fix indent of #ifdef..#endif conditional
Miao Yan (1): x86: Add a 'pause' instruction in __udelay() for QEMU target
Peng Fan (1): common: command add '\n' for debug msg
Simon Glass (50): Support removing default assembler flags dm: core: Check for empty list in uclass_find_device() dm: serial: Correct logic in serial_find_console_or_panic() elf: Add a few definitions for 64-bit relocation Allow objcopy to work without filling gaps with 0xff Bring in __aligned_u64 and friends to linux/types.h x86: Add various minor tidy-ups to the 32-bit startup code x86: Use CR0 constants in CPU init Reserve the top 16 flag bits for architecture-specific use x86: Tidy up global_data flags x86: Drop unused copy_fdt_to_ram() x86: Tidy up the 64-bit calling code x86: Add some missing global_data declarations in files that use gd x86: Tidy up a few minor issues with interrupts pci: Use debug() instead of DEBUGF() in pci_auto.c pci: Fix up code for CONFIG_PCI_ENUM_ONLY x86: Allow use of global_data with EFI efi: Add start-up library code efi: Display the correct initcall pre-relocation values pci: Add a constant for an invalid interrupt pci: Indicate prefetchable memory allocate when debugging dm: Add a return value comment to device_get_child() x86: Move Chrome OS options to defconfig x86: Move CONFIG_X86_SERIAL to Kconfig x86: Drop CONFIG_DCACHE_RAM_MRC_VAR_SIZE from header file x86: dts: Fix typo in intel,irq-router.txt x86: minnowmax: Drop the old PCI settings x86: Update README to explain booting Ubuntu on Minnowmax Add a way to skip relocation efi: Add a serial driver efi: Support building a u-boot-app.efi executable x86: Support skipping relocation for EFI x86: Add asm/elf.h for x86-specific ELF definitions x86: dts: Add a device tree file for EFI x86: Allow relocation code to build without text base x86: Add relocation and link script for a 64-bit EFI application efi: Add support for loading U-Boot through an EFI stub x86: Support building the EFI stub x86: Add an enum for some commonly-used GDT bits x86: Add a way to call 32-bit code from 64-bit mode efi: Add 64-bit payload support x86: Add support for passing tables into U-Boot efi: Add functions for decoding the EFI tables efi: Add a command to display the memory map x86: Handle running as EFI payload x86: Add helper code for running from EFI x86: baytrail: Support operation as an EFI payload x86: qemu: Support operation as an EFI payload x86: Gracefully disable the vesa driver when running from EFI efi: Add a README to explain how things work
.gitignore | 1 + Kconfig | 1 + Makefile | 37 +- arch/x86/Kconfig | 10 + arch/x86/Makefile | 2 + arch/x86/config.mk | 47 +- arch/x86/cpu/Makefile | 7 + arch/x86/cpu/baytrail/Kconfig | 2 +- arch/x86/cpu/baytrail/cpu.c | 2 + arch/x86/cpu/baytrail/valleyview.c | 10 + arch/x86/cpu/call32.S | 64 ++ arch/x86/cpu/call64.S | 4 +- arch/x86/cpu/cpu.c | 23 +- arch/x86/cpu/efi/Makefile | 8 + arch/x86/cpu/efi/efi.c | 42 + arch/x86/cpu/efi/elf_ia32_efi.lds | 94 ++ arch/x86/cpu/efi/elf_x86_64_efi.lds | 83 ++ arch/x86/cpu/efi/sdram.c | 29 + arch/x86/cpu/interrupts.c | 25 +- arch/x86/cpu/mp_init.c | 2 + arch/x86/cpu/qemu/Makefile | 5 +- arch/x86/cpu/qemu/qemu.c | 2 + arch/x86/cpu/start.S | 73 +- arch/x86/dts/Makefile | 4 +- arch/x86/dts/bayleybay.dts | 197 ++++ arch/x86/dts/efi.dts | 22 + arch/x86/dts/microcode/m0230671117.dtsi | 4244 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ arch/x86/dts/qemu-x86_i440fx.dts | 7 + arch/x86/dts/qemu-x86_q35.dts | 7 + arch/x86/include/asm/arch-baytrail/fsp/fsp_vpd.h | 3 +- arch/x86/include/asm/arch-efi/gpio.h | 10 + arch/x86/include/asm/cpu.h | 27 + arch/x86/include/asm/elf.h | 46 + arch/x86/include/asm/fsp/fsp_hob.h | 59 +- arch/x86/include/asm/global_data.h | 16 +- arch/x86/include/asm/relocate.h | 1 - arch/x86/include/asm/types.h | 5 +- arch/x86/lib/Makefile | 3 +- arch/x86/lib/asm-offsets.c | 1 + arch/x86/lib/bootm.c | 7 + arch/x86/lib/efi/Kconfig | 11 + arch/x86/lib/efi/Makefile | 27 + arch/x86/lib/efi/car.S | 10 + arch/x86/lib/efi/crt0-efi-ia32.S | 52 + arch/x86/lib/efi/crt0-efi-x86_64.S | 51 + arch/x86/lib/efi/efi.c | 151 +++ arch/x86/lib/efi/reloc_ia32.c | 72 ++ arch/x86/lib/efi/reloc_x86_64.c | 66 ++ arch/x86/lib/fsp/fsp_common.c | 2 + arch/x86/lib/lpc-uclass.c | 2 + arch/x86/lib/pch-uclass.c | 2 + arch/x86/lib/relocate.c | 41 +- arch/x86/lib/tsc_timer.c | 8 + board/efi/Kconfig | 19 + board/efi/efi-x86/Kconfig | 15 + board/efi/efi-x86/MAINTAINERS | 6 + board/efi/efi-x86/Makefile | 7 + board/efi/efi-x86/efi.c | 18 + board/emulation/qemu-x86/Kconfig | 5 +- board/intel/Kconfig | 9 + board/intel/bayleybay/Kconfig | 27 + board/intel/bayleybay/MAINTAINERS | 6 + board/intel/bayleybay/Makefile | 7 + board/intel/bayleybay/bayleybay.c | 19 + board/intel/bayleybay/start.S | 9 + board/intel/minnowmax/Kconfig | 5 +- board/intel/minnowmax/minnowmax.c | 12 - common/Makefile | 1 + common/board_f.c | 16 +- common/board_info.c | 1 - common/cmd_efi.c | 257 +++++ common/command.c | 2 +- config.mk | 2 - configs/bayleybay_defconfig | 27 + configs/chromebook_link_defconfig | 3 + configs/chromebox_panther_defconfig | 3 + configs/efi-x86_defconfig | 16 + configs/qemu-x86_defconfig | 2 + doc/README.efi | 237 +++++ doc/README.x86 | 324 ++++++ doc/device-tree-bindings/misc/intel,irq-router.txt | 4 +- doc/driver-model/pci-info.txt | 6 +- drivers/core/uclass.c | 2 + drivers/gpio/intel_ich6_gpio.c | 2 + drivers/pci/pci-uclass.c | 4 - drivers/pci/pci.c | 3 +- drivers/pci/pci_auto.c | 53 +- drivers/pci/pci_compat.c | 1 - drivers/pci/pci_rom.c | 4 + drivers/serial/Kconfig | 19 + drivers/serial/Makefile | 1 + drivers/serial/serial-uclass.c | 2 +- drivers/serial/serial_efi.c | 157 +++ drivers/video/vesa_fb.c | 8 + include/asm-generic/global_data.h | 3 +- include/common.h | 7 + include/configs/bayleybay.h | 44 + include/configs/crownbay.h | 1 - include/configs/efi-x86.h | 34 + include/configs/galileo.h | 2 - include/configs/minnowmax.h | 14 - include/configs/qemu-x86.h | 2 - include/configs/x86-chromebook.h | 6 - include/dm/device.h | 4 +- include/efi.h | 367 +++++++ include/efi_api.h | 244 +++++ include/elf.h | 26 + include/linux/types.h | 6 +- include/part_efi.h | 9 +- include/pci.h | 2 + lib/Kconfig | 2 + lib/Makefile | 1 + lib/efi/Kconfig | 54 + lib/efi/Makefile | 17 + lib/efi/efi.c | 101 ++ lib/efi/efi_app.c | 139 +++ lib/efi/efi_info.c | 47 + lib/efi/efi_stub.c | 370 +++++++ lib/fdtdec.c | 2 +- lib/initcall.c | 4 + scripts/Makefile.lib | 3 +- tools/.gitignore | 1 + 122 files changed, 8325 insertions(+), 235 deletions(-) create mode 100644 arch/x86/cpu/call32.S create mode 100644 arch/x86/cpu/efi/Makefile create mode 100644 arch/x86/cpu/efi/efi.c create mode 100644 arch/x86/cpu/efi/elf_ia32_efi.lds create mode 100644 arch/x86/cpu/efi/elf_x86_64_efi.lds create mode 100644 arch/x86/cpu/efi/sdram.c create mode 100644 arch/x86/dts/bayleybay.dts create mode 100644 arch/x86/dts/efi.dts create mode 100644 arch/x86/dts/microcode/m0230671117.dtsi create mode 100644 arch/x86/include/asm/arch-efi/gpio.h create mode 100644 arch/x86/include/asm/elf.h create mode 100644 arch/x86/lib/efi/Kconfig create mode 100644 arch/x86/lib/efi/Makefile create mode 100644 arch/x86/lib/efi/car.S create mode 100644 arch/x86/lib/efi/crt0-efi-ia32.S create mode 100644 arch/x86/lib/efi/crt0-efi-x86_64.S create mode 100644 arch/x86/lib/efi/efi.c create mode 100644 arch/x86/lib/efi/reloc_ia32.c create mode 100644 arch/x86/lib/efi/reloc_x86_64.c create mode 100644 board/efi/Kconfig create mode 100644 board/efi/efi-x86/Kconfig create mode 100644 board/efi/efi-x86/MAINTAINERS create mode 100644 board/efi/efi-x86/Makefile create mode 100644 board/efi/efi-x86/efi.c create mode 100644 board/intel/bayleybay/Kconfig create mode 100644 board/intel/bayleybay/MAINTAINERS create mode 100644 board/intel/bayleybay/Makefile create mode 100644 board/intel/bayleybay/bayleybay.c create mode 100644 board/intel/bayleybay/start.S create mode 100644 common/cmd_efi.c create mode 100644 configs/bayleybay_defconfig create mode 100644 configs/efi-x86_defconfig create mode 100644 doc/README.efi create mode 100644 drivers/serial/serial_efi.c create mode 100644 include/configs/bayleybay.h create mode 100644 include/configs/efi-x86.h create mode 100644 include/efi.h create mode 100644 include/efi_api.h create mode 100644 lib/efi/Kconfig create mode 100644 lib/efi/Makefile create mode 100644 lib/efi/efi.c create mode 100644 lib/efi/efi_app.c create mode 100644 lib/efi/efi_info.c create mode 100644 lib/efi/efi_stub.c
Regards, Simon

On Wed, Aug 05, 2015 at 12:06:19PM -0600, Simon Glass wrote:
Hi Tom,
This includes the EFI support, updates for baytrail and minnowmax, plus multi-cpu support for qemu-x86. There are a few small fixes also.
The following changes since commit e22b1a54942d9003b10564325a34e3cf767556ce:
Merge branch 'master' of git://git.denx.de/u-boot-fsl-qoriq (2015-08-04 12:21:45 -0400)
are available in the git repository at:
git://git.denx.de/u-boot-x86.git
for you to fetch changes up to 12c7510f17ff29190e52336910e43a50c0d620a6:
x86: Document how to write PIRQ information in the device tree (2015-08-05 10:49:32 -0600)
Applied to u-boot/master, thanks!
participants (2)
-
Simon Glass
-
Tom Rini