[PATCH] ddr: socfpga: Improve A10 SDRAM ECC init function to support watchdog reset