ddr: Rework errata A008109, A008378, 009942 workaround
authorJaiprakash Singh <Jaiprakash.singh@nxp.com>
Tue, 2 Jun 2020 07:14:02 +0000 (12:44 +0530)
committerPriyanka Jain <priyanka.jain@nxp.com>
Thu, 4 Jun 2020 13:23:20 +0000 (18:53 +0530)
commit164a5af43635c63ea2459d4c87a1a4b16acd689a
treea3e7dee7d322a108e1986ef915e13486a2b63425
parent73af094c8444ea6affc607d3ca7704419b3fbfd8
ddr: Rework errata A008109A008378, 009942 workaround

Move errata A008109A008378, 009942 workaround implementation from
compute_fsl_memctl_config_regs() to  fsl_ddr_set_memctl_regs()
and add register write after each workaround implementation.

Signed-off-by: Jaiprakash Singh <Jaiprakash.singh@nxp.com>
Signed-off-by: Priyanka Jain <priyanka.jain@nxp.com>
arch/powerpc/cpu/mpc85xx/Kconfig
drivers/ddr/fsl/ctrl_regs.c
drivers/ddr/fsl/fsl_ddr_gen4.c
drivers/ddr/fsl/mpc85xx_ddr_gen3.c