mirror of
				https://xff.cz/git/u-boot/
				synced 2025-10-31 18:35:42 +01: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:
		| @@ -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__ */ | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user