On Wed, May 17, 2017 at 09:16:47PM +0000, Chris Packham wrote: > MV64x60 is pretty old. I considered gutting mv64x60_edac.c to make a > separate driver but that would just be more code to maintain.
Well, one thing we did with layerscape and mpc85xx EDAC modules is share the FSL memory controller IP through fsl_ddr_edac.c which both modules link. I dunno, perhaps you could do something similar by extracting the common parts and this way avoid any breakage of the PPC side of things - since apparently finding such hw is not easy - and then link those into your driver. And your driver could just be a wrapper containing the EDAC glue to make it a separate ARM armada_edac.c or so. Anyway, just an idea. Thanks. -- Regards/Gruss, Boris. Good mailing practices for 400: avoid top-posting and trim the reply.