diff options
author | Thor Thayer <tthayer@opensource.altera.com> | 2016-06-22 15:58:58 +0200 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2016-06-25 11:31:34 +0200 |
commit | ab8c1e0fb0496f2c3c853537e66ab98e25ad71f7 (patch) | |
tree | ad1d62be61d2b9d45a875e254a265714d71238ea /drivers/edac/altera_edac.h | |
parent | EDAC, altera: Add Arria10 ECC memory init functions (diff) | |
download | linux-ab8c1e0fb0496f2c3c853537e66ab98e25ad71f7.tar.xz linux-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 |