On 01/27/2016 10:13 AM, [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 stored in memory otherwise the ECC will > fail on reads. > > Signed-off-by: Thor Thayer <[email protected]> > --- > v9: Improve node release handling. > v8: Address community comments on strings. Fix match strings based > on maintainer feedback. Update year in header. > v7: enable OCRAM ECC during platform init > v6: Implement OCRAM discovery changes from community. Add > of_node_put(). Remove be32_to_cpup(). Use __init() which > allows removal of .init_machine(). Update year in header. > --- > arch/arm/mach-socfpga/Makefile | 1 + > arch/arm/mach-socfpga/core.h | 1 + > arch/arm/mach-socfpga/ocram.c | 49 > +++++++++++++++++++++++++++++++++++++++ > arch/arm/mach-socfpga/socfpga.c | 3 +++ > 4 files changed, 54 insertions(+) > create mode 100644 arch/arm/mach-socfpga/ocram.c >
Acked-by: Dinh Nguyen <[email protected]>

