]> git.baikalelectronics.ru Git - kernel.git/commit
EDAC, altera: Generalize driver to use DT Memory size
authorThor Thayer <tthayer@opensource.altera.com>
Thu, 4 Jun 2015 14:28:45 +0000 (09:28 -0500)
committerBorislav Petkov <bp@suse.de>
Wed, 24 Jun 2015 16:16:07 +0000 (18:16 +0200)
commitc4d6d58d3aa8720425af50cf7fd4e98edea99065
tree1f391d0be4bd1bd87ab4ec4a7dcfebaf9f2e9399
parent571cf7f9d97b9597de296d3a571582d80646316c
EDAC, altera: Generalize driver to use DT Memory size

The Arria10 SOC uses a completely different SDRAM controller from the
earlier CycloneV and ArriaV SoCs. The memory size is calculated in the
bootloader and passed via the device tree. Using this device tree size
is more generic than using the register fields to calculate the memory
size for different SDRAM controllers.

Signed-off-by: Thor Thayer <tthayer@opensource.altera.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: devicetree@vger.kernel.org
Cc: dinguyen@opensource.altera.com
Cc: galak@codeaurora.org
Cc: grant.likely@linaro.org
Cc: ijc+devicetree@hellion.org.uk
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-edac <linux-edac@vger.kernel.org>
Cc: m.chehab@samsung.com
Cc: mark.rutland@arm.com
Cc: pawel.moll@arm.com
Cc: robh+dt@kernel.org
Cc: tthayer.linux@gmail.com
Link: http://lkml.kernel.org/r/1433428128-7292-2-git-send-email-tthayer@opensource.altera.com
Signed-off-by: Borislav Petkov <bp@suse.de>
drivers/edac/altera_edac.c