mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 10:39:08 +00:00
x86: Add a x86_ prefix to the x86-specific PCI functions
These functions currently use a generic name, but they are for x86 only. This may introduce confusion and prevents U-Boot from using these names more widely. In fact it should be possible to remove these at some point and use generic functions, but for now, rename them. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
This commit is contained in:
parent
5f7bfdd630
commit
31f57c2873
21 changed files with 199 additions and 195 deletions
|
@ -48,13 +48,13 @@ int board_pci_post_scan(struct pci_controller *hose);
|
|||
* Simple PCI access routines - these work from either the early PCI hose
|
||||
* or the 'real' one, created after U-Boot has memory available
|
||||
*/
|
||||
unsigned int pci_read_config8(pci_dev_t dev, unsigned where);
|
||||
unsigned int pci_read_config16(pci_dev_t dev, unsigned where);
|
||||
unsigned int pci_read_config32(pci_dev_t dev, unsigned where);
|
||||
unsigned int x86_pci_read_config8(pci_dev_t dev, unsigned where);
|
||||
unsigned int x86_pci_read_config16(pci_dev_t dev, unsigned where);
|
||||
unsigned int x86_pci_read_config32(pci_dev_t dev, unsigned where);
|
||||
|
||||
void pci_write_config8(pci_dev_t dev, unsigned where, unsigned value);
|
||||
void pci_write_config16(pci_dev_t dev, unsigned where, unsigned value);
|
||||
void pci_write_config32(pci_dev_t dev, unsigned where, unsigned value);
|
||||
void x86_pci_write_config8(pci_dev_t dev, unsigned where, unsigned value);
|
||||
void x86_pci_write_config16(pci_dev_t dev, unsigned where, unsigned value);
|
||||
void x86_pci_write_config32(pci_dev_t dev, unsigned where, unsigned value);
|
||||
|
||||
#endif /* __ASSEMBLY__ */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue