diff options
author | Thor Thayer <tthayer@opensource.altera.com> | 2016-06-22 08:58:58 -0500 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2016-06-25 11:31:34 +0200 |
commit | ab8c1e0fb0496f2c3c853537e66ab98e25ad71f7 (patch) | |
tree | ad1d62be61d2b9d45a875e254a265714d71238ea /drivers/edac/altera_edac.h | |
parent | 1166fde93d5b1d7267992edc7e2c8ee129d6667e (diff) | |
download | linux-stable-ab8c1e0fb0496f2c3c853537e66ab98e25ad71f7.tar.gz linux-stable-ab8c1e0fb0496f2c3c853537e66ab98e25ad71f7.tar.bz2 linux-stable-ab8c1e0fb0496f2c3c853537e66ab98e25ad71f7.zip |
EDAC, altera: Add Arria10 Ethernet EDAC support
Add Altera Arria10 Ethernet FIFO memory EDAC support. Update to support
a common compatibility string for all Ethernet FIFOs in the DT.
Signed-off-by: Thor Thayer <tthayer@opensource.altera.com>
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-edac <linux-edac@vger.kernel.org>
Link: http://lkml.kernel.org/r/1466603939-7526-8-git-send-email-tthayer@opensource.altera.com
Signed-off-by: Borislav Petkov <bp@suse.de>
Diffstat (limited to 'drivers/edac/altera_edac.h')
-rw-r--r-- | drivers/edac/altera_edac.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/edac/altera_edac.h b/drivers/edac/altera_edac.h index aa7c6906d0d5..687d8e754d36 100644 --- a/drivers/edac/altera_edac.h +++ b/drivers/edac/altera_edac.h @@ -285,6 +285,9 @@ struct altr_sdram_mc_data { /* Arria 10 OCRAM ECC Management Group Defines */ #define ALTR_A10_OCRAM_ECC_EN_CTL (BIT(1) | BIT(0)) +/* Arria 10 Ethernet ECC Management Group Defines */ +#define ALTR_A10_COMMON_ECC_EN_CTL BIT(0) + /* A10 ECC Controller memory initialization timeout */ #define ALTR_A10_ECC_INIT_WATCHDOG_10US 10000 |