diff options
Diffstat (limited to 'roms/u-boot/board/efi/efi-x86_payload/payload.c')
-rw-r--r-- | roms/u-boot/board/efi/efi-x86_payload/payload.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/roms/u-boot/board/efi/efi-x86_payload/payload.c b/roms/u-boot/board/efi/efi-x86_payload/payload.c new file mode 100644 index 000000000..5d4492cdc --- /dev/null +++ b/roms/u-boot/board/efi/efi-x86_payload/payload.c @@ -0,0 +1,19 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright (C) 2018, Bin Meng <bmeng.cn@gmail.com> + */ + +#include <common.h> +#include <init.h> +#include <usb.h> + +int board_early_init_r(void) +{ + /* + * Make sure PCI bus is enumerated so that peripherals on the PCI bus + * can be discovered by their drivers + */ + pci_init(); + + return 0; +} |