Re: [Patch v4 6/9] driver/edac/fsl_ddr: Add support of little endian
From: Rob Herring
Date: Wed Aug 10 2016 - 18:26:25 EST
On Tue, Aug 09, 2016 at 02:55:43PM -0700, York Sun wrote:
> Get endianness from device tree. Both big endian and little endian
> are supported. Default to big endian for backward compatibility to
> MPC85xx.
>
> Signed-off-by: York Sun <york.sun@xxxxxxx>
>
> ---
> Change log
> v4: Absorb name changes by "Rename macros and names"
> Drop testing for big-endian as suggested
> Use of_property_read_bool() as suggested
> v3: no change
> v2: Separated from "Add support for ARM-based SoCs" patch
>
> .../fsl/ddr.txt} | 2 +
> drivers/edac/fsl_ddr_edac.c | 96 +++++++++++++---------
> 2 files changed, 58 insertions(+), 40 deletions(-)
> rename Documentation/devicetree/bindings/{powerpc/fsl/mem-ctrlr.txt => memory-controllers/fsl/ddr.txt} (86%)
Acked-by: Rob Herring <robh@xxxxxxxxxx>