IMX8M Mini PCI Change RC BAR Size

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

IMX8M Mini PCI Change RC BAR Size

783 Views
ay_tikit
Contributor I
Hello, We are trying to write data through PCI using a FPGA to IMX8M Mini. The IMX is the RC in this system. I am trying to change the BAR size on the IMX. Using the linux-imx 5.4.70, it seems that I cannot set a size to this bar, as anything I write to the BAR0 (0x10), the 1MB of size stays the same. Could you please give me a hint on how could I change this BAR, or where in the driver, size of this BAR is being set to 1MB.
0 Kudos
1 Reply

763 Views
ay_tikit
Contributor I

I got it figured out. I was able to increase BAR0 size on RC by adding a few lines to pcie-designware-host.c.

0 Kudos