On 01/27/2016 10:13 AM, tthayer@xxxxxxxxxxxxxxxxxxxxx wrote: > From: Thor Thayer <tthayer@xxxxxxxxxxxxxxxxxxxxx> > > 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 <tthayer@xxxxxxxxxxxxxxxxxxxxx> > --- > 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 <dinguyen@xxxxxxxxxxxxxxxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html