I use mpc8309 as pci ep device under uboot, i configure pci_ctrl->pitar0 = 0x7F00000,pci_ctrl->pibar0 = 0x80000000,pci_ctrl->piwar0 = 0x80055013, when pci root device write and read correspond endpoint ddr 0 address, not 0x7f00000,i need your help.
THANKS.
Check the PCI Local Access Window Register (PCILAWBAR0) and PCI Local Access Window Attributes Register (PCILAWAR) settings. See attached files.
Have a great day,
Pavel Chubakov
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------