On 11/11/14, 6:14 PM, [email protected] wrote: > From: Thor Thayer <[email protected]> > > This patch enables the ECC for On-Chip RAM on machine > startup. The ECC has to be enabled before data is > is stored in memory otherwise the ECC will fail on > reads. > > Signed-off-by: Thor Thayer <[email protected]> > --- > v2: Split OCRAM ECC portion separately. Addition of iounmap() > and reorganization of gen_pool_free. Remove defconfig from patch. > > v3/4: No change > > v5: Remove ocram.h, use io.h instead of clk-provider.h > Check prop in correct place. Add ECC EN defines. > --- > arch/arm/mach-socfpga/Makefile | 1 + > arch/arm/mach-socfpga/core.h | 1 + > arch/arm/mach-socfpga/ocram.c | 90 > +++++++++++++++++++++++++++++++++++++++ > arch/arm/mach-socfpga/socfpga.c | 9 ++++ > 4 files changed, 101 insertions(+) > create mode 100644 arch/arm/mach-socfpga/ocram.c >
Acked-by: Dinh Nguyen <[email protected]> -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

