]> asedeno.scripts.mit.edu Git - linux.git/commit
EDAC, altera: Merge Stratix10 into the Arria10 SDRAM probe routine
authorThor Thayer <thor.thayer@linux.intel.com>
Tue, 25 Sep 2018 13:49:00 +0000 (08:49 -0500)
committerBorislav Petkov <bp@suse.de>
Tue, 25 Sep 2018 19:21:26 +0000 (21:21 +0200)
commit08f08bfb7b4cc7b7037c8818acb1b6abccf2bd0e
tree61b85946e7a78df1631f8956af0c9f6acfcb6c71
parent446fd7afdcf1d1ab9561b7f9d0ffaa26e1193b06
EDAC, altera: Merge Stratix10 into the Arria10 SDRAM probe routine

Change Stratix10 regmap to use offsets from a base to match
the Arria10 regmap and allow re-use of the Arria10 functions.
Only the regmap initialization differs (Arria10 mmio_regmap
vs Stratix10 custom regmap).

Modify the SDRAM probe function to handle Stratix10. Remove the
Stratix10 offset defines if Arria10 can be used. Remove the unused
Stratix10 probe function.

Signed-off-by: Thor Thayer <thor.thayer@linux.intel.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: dinguyen@kernel.org
Cc: robh+dt@kernel.org
Cc: mark.rutland@arm.com
Cc: mchehab@kernel.org
Cc: devicetree@vger.kernel.org
Cc: linux-edac@vger.kernel.org
Link: https://lkml.kernel.org/r/1537883342-30180-5-git-send-email-thor.thayer@linux.intel.com
drivers/edac/altera_edac.c
drivers/edac/altera_edac.h