mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-20 17:08:52 +09:00
![Bin Meng](/assets/img/avatar_default.png)
The generic efi payload currently does not enumerate the PCI bus, which means peripherals on the PCI bus are not discovered by their drivers. This uses board_early_init_r() to do the PCI enumeration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
41 lines
611 B
Plaintext
41 lines
611 B
Plaintext
if TARGET_EFI_PAYLOAD
|
|
|
|
config SYS_BOARD
|
|
default "efi-x86_payload"
|
|
|
|
config SYS_VENDOR
|
|
default "efi"
|
|
|
|
config SYS_SOC
|
|
default "efi"
|
|
|
|
config SYS_CONFIG_NAME
|
|
default "efi-x86_payload"
|
|
|
|
config SYS_TEXT_BASE
|
|
default 0x00200000
|
|
|
|
config BOARD_SPECIFIC_OPTIONS # dummy
|
|
def_bool y
|
|
select BOARD_EARLY_INIT_R
|
|
imply SYS_NS16550
|
|
imply SCSI
|
|
imply SCSI_AHCI
|
|
imply AHCI_PCI
|
|
imply MMC
|
|
imply MMC_PCI
|
|
imply MMC_SDHCI
|
|
imply MMC_SDHCI_SDMA
|
|
imply USB
|
|
imply USB_EHCI_HCD
|
|
imply USB_XHCI_HCD
|
|
imply USB_STORAGE
|
|
imply USB_KEYBOARD
|
|
imply VIDEO_EFI
|
|
imply E1000
|
|
imply ETH_DESIGNWARE
|
|
imply PCH_GBE
|
|
imply RTL8169
|
|
|
|
endif
|