plat: marvell: armada: a8k: check CCU window state before loading MSS BL2
Make sure the current CCU window is not in use before adding
a new address map during MSS BL2 image load preparations.
At BL2 stage the CCU Win-2 points to DRAM. If additional mapping is
added to MSS BL2 stage initialization, the DDR entry will be destroyed
and lead to the system hang.

Change-Id: I215e83508acc37d54dab6954d791b9a74cc883ca
Signed-off-by: Konstantin Porotchkin <kostap@marvell.com>
1 parent 957a5ad commit c96aa7fb3d9b306d50d71659a3c3d036ac9e3673
@Konstantin Porotchkin Konstantin Porotchkin authored on 31 Mar 2019
Marcin Wojtas committed on 19 Jun 2020
Showing 1 changed file
View
plat/marvell/armada/a8k/common/mss/mss_bl2_setup.c