On 03/07/2016 01:43 PM, [email protected] wrote: > From: Thor Thayer <[email protected]> > > Enable ECC for Arria10 L2 cache on machine startup. The ECC has to be > enabled before data is stored in memory otherwise the ECC will fail > on reads. > Use DT_MACHINE to select Arria10 L2 cache function. > > Signed-off-by: Thor Thayer <[email protected]> > --- > v2: Split into 2 separate functions selected with DT_MACHINE. > --- > arch/arm/mach-socfpga/core.h | 1 + > arch/arm/mach-socfpga/l2_cache.c | 49 > ++++++++++++++++++++++++++++++++++++++ > arch/arm/mach-socfpga/socfpga.c | 10 +++++++- > 3 files changed, 59 insertions(+), 1 deletion(-) >
Acked-by: Dinh Nguyen <[email protected]> Thanks, Dinh

