Currently i am study uboot pci init process
There has a function call pci_hose_read_config_word()
in pci bus scan.
But i search all sourcecode in uboot, why i can not find the function implement?
Thanks
Currently i am study uboot pci init process
There has a function call pci_hose_read_config_word()
in pci bus scan.
But i search all sourcecode in uboot, why i can not find the function implement?
Thanks
The function definition is in pci_compat.c
, line 26:
PCI_HOSE_OP(read, word, 16, u16 *)
You didn't find it because it's hidden behind a macro (PCI_HOSE_OP
) that assembles the function name from parts and also supplies the body.