EDAC, fsl_ddr: Add support for little endian
authorYork Sun <york.sun@nxp.com>
Tue, 9 Aug 2016 21:55:43 +0000 (14:55 -0700)
committerBorislav Petkov <bp@suse.de>
Thu, 1 Sep 2016 08:28:02 +0000 (10:28 +0200)
commit339fdff14c1ed34acc9c3368e01b56f80692cf83
tree390b7ae614e13a47f61dfda06939d6b1923b938b
parent4e2c3252d2426cd05286e38650365f215571d3c6
EDAC, fsl_ddr: Add support for little endian

Get endianness from device tree. Both big endian and little endian are
supported. Default to big endian for backwards compatibility to MPC85xx.

Signed-off-by: York Sun <york.sun@nxp.com>
Acked-by: Rob Herring <robh+dt@kernel.org>
Cc: devicetree@vger.kernel.org
Cc: linux-edac <linux-edac@vger.kernel.org>
Cc: morbidrsa@gmail.com
Cc: oss@buserror.net
Cc: stuart.yoder@nxp.com
Link: http://lkml.kernel.org/r/1470779760-16483-7-git-send-email-york.sun@nxp.com
Signed-off-by: Borislav Petkov <bp@suse.de>
Documentation/devicetree/bindings/memory-controllers/fsl/ddr.txt [new file with mode: 0644]
Documentation/devicetree/bindings/powerpc/fsl/mem-ctrlr.txt [deleted file]
drivers/edac/fsl_ddr_edac.c