On Wed, Nov 13, 2019 at 03:21:21PM +0800, Dilip Kota wrote:Thanks for pointing it. Yes, it can be removed. I have again cross checked all the header files , i see below files can also be removed.
Add support to PCIe RC controller on Intel Gateway SoCs.I hardly see the use of above...
PCIe controller is based of Synopsys DesignWare PCIe core.
Intel PCIe driver requires Upconfigure support, Fast Training
Sequence and link speed configurations. So adding the respective
helper functions in the PCIe DesignWare framework.
It also programs hardware autonomous speed during speed
configuration so defining it in pci_regs.h.
+#include <linux/of_irq.h>
+#include <linux/of_platform.h>
+ if (device_property_read_u32(dev, "reset-assert-ms", &lpp->rst_intrvl))...perhaps you need to add
+ lpp->rst_intrvl = RESET_INTERVAL_MS;
#include <linux/property.h>
instead.