blob: 8fcdbd8cca04526dc828c59fa1ba6a289fd3fc1d [file] [log] [blame]
Damien Zammit75a3d1f2016-11-28 00:29:10 +11001/*
2 * This file is part of the coreboot project.
3 *
4 * Copyright (C) 2016 Damien Zammit <damien@zamaudio.com>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; version 2 of the License.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 */
15
16#ifndef AMDFAM10_PCI_H
17#define AMDFAM10_PCI_H
18
19#include <inttypes.h>
20#include <arch/io.h>
21#include <device/pci_def.h>
22
23u32 pci_read_config32_index(pci_devfn_t dev, u32 index_reg, u32 index);
24u32 pci_read_config32_index_wait(pci_devfn_t dev, u32 index_reg, u32 index);
25
26#endif