PCI: dwc: Add support to enable CDM register check
authorVidya Sagar <vidyas@nvidia.com>
Tue, 13 Aug 2019 11:36:22 +0000 (17:06 +0530)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Tue, 13 Aug 2019 15:00:46 +0000 (16:00 +0100)
commit07f123def73e07e398537be7a5b43a244cb0cbf3
tree7aca0edb6c9de7b51f3a94c5362d3e68917c2302
parentf4e84a5d9db7dfea96832157bc461177e87a47dd
PCI: dwc: Add support to enable CDM register check

Add support to enable CDM (Configuration Dependent Module) register
check for any data corruption based on the DT property
'snps,enable-cdm-check'.

Signed-off-by: Vidya Sagar <vidyas@nvidia.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Reviewed-by: Thierry Reding <treding@nvidia.com>
Acked-by: Gustavo Pimentel <gustavo.pimentel@synopsys.com>
drivers/pci/controller/dwc/pcie-designware.c
drivers/pci/controller/dwc/pcie-designware.h