u-boot/board/intel/slimbootloader/slimbootloader.c
Tom Rini 57ed70da09 board: intel: Remove <common.h> and add needed includes
Remove <common.h> from this board vendor directory and when needed
add missing include files directly.

Acked-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
2024-05-07 08:00:25 -06:00

22 lines
504 B
C

// SPDX-License-Identifier: GPL-2.0+
/*
* Copyright (C) 2019 Intel Corporation <www.intel.com>
*/
#include <init.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.
*
* Slim Bootloader has already done PCI bus enumeration before loading
* U-Boot, so U-Boot needs to preserve PCI configuration.
* Therefore, '# CONFIG_PCI_PNP is not set' is included in defconfig.
*/
pci_init();
return 0;
}