I am new to pcie and imx6.
I am trying to configure configure BD-SL-i.MX6 as endpoint memory device. I have gone through the i.MX6Q PCIe EP/RC Validation System.
In this patch bars are setup under the imx_pcie_regions_setup() but I could not locate any inbound setup in case root complex tried to access the ep memory. Is that required?.
It also did not allocate memory space from the ram to these memory space. Please let me know if I am missing any thing.
Also can we map more than the 16mb space?. Like I want to configure endpoint whole ram accessible to root complex.