xref: /rk3399_rockchip-uboot/arch/x86/include/asm/pci.h (revision fa82f871c8dbc9a15e8dc274b3f99dd5fa0da458)
1fea25720SGraeme Russ 
2fea25720SGraeme Russ 
3fea25720SGraeme Russ /*
4fea25720SGraeme Russ  * (C) Copyright 2002
5*fa82f871SAlbert ARIBAUD  * Daniel Engström, Omicron Ceti AB, daniel@omicron.se
6fea25720SGraeme Russ  *
7fea25720SGraeme Russ  * See file CREDITS for list of people who contributed to this
8fea25720SGraeme Russ  * project.
9fea25720SGraeme Russ  *
10fea25720SGraeme Russ  * This program is free software; you can redistribute it and/or
11fea25720SGraeme Russ  * modify it under the terms of the GNU General Public License as
12fea25720SGraeme Russ  * published by the Free Software Foundation; either version 2 of
13fea25720SGraeme Russ  * the License, or (at your option) any later version.
14fea25720SGraeme Russ  *
15fea25720SGraeme Russ  * This program is distributed in the hope that it will be useful,
16fea25720SGraeme Russ  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17fea25720SGraeme Russ  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18fea25720SGraeme Russ  * GNU General Public License for more details.
19fea25720SGraeme Russ  *
20fea25720SGraeme Russ  * You should have received a copy of the GNU General Public License
21fea25720SGraeme Russ  * along with this program; if not, write to the Free Software
22fea25720SGraeme Russ  * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
23fea25720SGraeme Russ  * MA 02111-1307 USA
24fea25720SGraeme Russ  */
25fea25720SGraeme Russ 
26fea25720SGraeme Russ #ifndef _PCI_I386_H_
27fea25720SGraeme Russ #define _PCI_I386_H_	1
28fea25720SGraeme Russ 
29fea25720SGraeme Russ void pci_setup_type1(struct pci_controller* hose, u32 cfg_addr, u32 cfg_data);
30fea25720SGraeme Russ int pci_enable_legacy_video_ports(struct pci_controller* hose);
31fea25720SGraeme Russ int pci_shadow_rom(pci_dev_t dev, unsigned char *dest);
32fea25720SGraeme Russ void pci_remove_rom_window(struct pci_controller* hose, u32 addr);
33fea25720SGraeme Russ u32 pci_get_rom_window(struct pci_controller* hose, int size);
34fea25720SGraeme Russ #endif
35