n1sdp: fix DMC ECC enablement sequence in N1SDP platform
The DMC-620 memory controllers in N1SDP platform has to be put
into CONFIG state before writing to ERR0CTLR0 register to enable
ECC.

This patch fixes the sequence so that DMCs are set to CONFIG
state before writing to ERR0CTLR0 register and moved back to
READY state after writing.

Change-Id: I1252f3ae0991603bb29234029cddb5fbf869c1b2
Signed-off-by: Manoj Kumar <manoj.kumar3@arm.com>
1 parent 53f3751 commit 7428bbf4437e046b1bd5f43506abed2fb621b7bc
@Manoj Kumar Manoj Kumar authored on 22 Jul 2019
Showing 2 changed files
View
plat/arm/board/n1sdp/n1sdp_bl31_setup.c
View
plat/arm/board/n1sdp/n1sdp_def.h