Re: [PATCH v4 5/8] ARM: l2x0: add marvell,ecc-enable property for aurora
From: Rob Herring
Date: Fri Jan 19 2018 - 16:28:46 EST
On Fri, Jan 12, 2018 at 02:27:52PM +1300, Chris Packham wrote:
> The aurora cache on the Marvell Armada-XP SoC supports ECC protection
> for the L2 data arrays. Add a "marvell,ecc-enable" device tree property
> which can be used to enable this.
>
> Signed-off-by: Chris Packham <chris.packham@xxxxxxxxxxxxxxxxxxx>
> [jlu@xxxxxxxxxxxxxx: use aurora specific define AURORA_ACR_ECC_EN]
> Signed-off-by: Jan Luebbe <jlu@xxxxxxxxxxxxxx>
> ---
> Documentation/devicetree/bindings/arm/l2c2x0.txt | 2 ++
> arch/arm/mm/cache-l2x0.c | 7 +++++++
> 2 files changed, 9 insertions(+)
The Calxeda PL310 has ECC too so maybe shouldn't have a vendor prefix,
but I don't think anyone will ever care to change it at this point.
Reviewed-by: Rob Herring <robh@xxxxxxxxxx>