mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-11-30 15:53:22 -05:00
EDAC/synopsys: Use the quirk for version instead of ddr version
[ Upstream commit bd1d6da17c296bd005bfa656952710d256e77dd3 ] Version 2.40a supports DDR_ECC_INTR_SUPPORT for a quirk, so use that quirk to determine a call to setup_address_map(). Signed-off-by: Dinh Nguyen <[email protected]> Signed-off-by: Borislav Petkov <[email protected]> Reviewed-by: Michal Simek <[email protected]> Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Sasha Levin <[email protected]>
This commit is contained in:
parent
2134ebc2d0
commit
f6b6509419
1 changed files with 1 additions and 2 deletions
|
|
@ -1351,8 +1351,7 @@ static int mc_probe(struct platform_device *pdev)
|
|||
}
|
||||
}
|
||||
|
||||
if (of_device_is_compatible(pdev->dev.of_node,
|
||||
"xlnx,zynqmp-ddrc-2.40a"))
|
||||
if (priv->p_data->quirks & DDR_ECC_INTR_SUPPORT)
|
||||
setup_address_map(priv);
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue