]> git.baikalelectronics.ru Git - uboot.git/commit
x86: coreboot: Add generic coreboot payload support
authorBin Meng <bmeng.cn@gmail.com>
Fri, 10 Aug 2018 09:39:33 +0000 (02:39 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Mon, 20 Aug 2018 05:52:06 +0000 (13:52 +0800)
commitd9d4f762e9d9c4583c18893e64491ada3c3de9b3
tree0d4e059b4cf53c67d1fca1d7fd1404c6bc347759
parent389e695be7f84db8cd4783dfe57c09fe46db7a43
x86: coreboot: Add generic coreboot payload support

Currently building U-Boot as the coreboot payload requires user
to change the build configuration for a specific board during
menuconfig process. This uses the board's native device tree
to configure the hardware. For example, the device tree provides
PCI address range for the PCI host controller and U-Boot will
re-program all PCI devices' BAR to be within this range. In order
to make sure we don't mess up the hardware, we should guarantee
the range matches what coreboot programs the chipset.

But we really should make the coreboot payload support easier.
Just like EFI payload, we can create a generic coreboot payload
for all x86 boards as well. The payload is configured to include
as many generic drivers as possible. All stuff that touches low
level initialization are not allowed as such is the coreboot's
responsibility. Platform specific drivers (like gpio, spi, etc)
are not included.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com>
12 files changed:
arch/x86/cpu/coreboot/Kconfig
arch/x86/cpu/coreboot/coreboot.c
arch/x86/dts/Makefile
arch/x86/dts/coreboot.dts [new file with mode: 0644]
board/coreboot/coreboot/Kconfig
board/coreboot/coreboot/Makefile
board/coreboot/coreboot/coreboot.c [new file with mode: 0644]
board/coreboot/coreboot/coreboot_start.S [deleted file]
board/coreboot/coreboot/start.S [new file with mode: 0644]
configs/coreboot_defconfig
doc/README.x86
include/configs/coreboot.h [new file with mode: 0644]