blob: 0741dc2b9f8361e936b9797c8aabc79b6a1298cf [file] [log] [blame]
Simon Glass76805502014-11-12 22:42:11 -07001/*
2 * Copyright (c) 2011 The Chromium OS Authors.
3 * (C) Copyright 2008,2009
4 * Graeme Russ, <graeme.russ@gmail.com>
5 *
6 * (C) Copyright 2002
7 * Daniel Engström, Omicron Ceti AB, <daniel@omicron.se>
8 *
9 * SPDX-License-Identifier: GPL-2.0+
10 */
11
12#include <common.h>
13#include <pci.h>
14#include <asm/pci.h>
15
16static struct pci_controller x86_hose;
17
18void pci_init_board(void)
19{
20 struct pci_controller *hose = &x86_hose;
21
22 board_pci_setup_hose(hose);
23 pci_setup_type1(hose);
24 pci_register_hose(hose);
25
26 hose->last_busno = pci_hose_scan(hose);
27}