plat: marvell: ap807: implement workaround for errata-id 3033912
ERRATA ID: RES-3033912 - Internal Address Space Init state causes
a hang upon accesses to [0xf070_0000, 0xf07f_ffff]
Workaround: Boot Firmware (ATF) should configure CCU_RGF_WIN(4) to
split [0x6e_0000, 0xff_ffff] to values [0x6e_0000, 0x6f_ffff] and
[0x80_0000, 0xff_ffff] that cause accesses to the segment of
[0xf070_0000, 0xf07f_ffff] to act as RAZWI. Reuse common
work-around code for both AP806 and AP807.

Change-Id: Ia91a4802d02917d1682faa0c81571093d1687d97
Signed-off-by: Stefan Chulski <stefanc@marvell.com>
1 parent 8f09da4 commit 5e4c97d035a92302f8bce9cec29676306af560a6
@Stefan Chulski Stefan Chulski authored on 25 Jun 2019
Marcin Wojtas committed on 11 Aug 2020
Showing 4 changed files
View
drivers/marvell/ccu.c
View
drivers/marvell/mochi/ap807_setup.c
View
drivers/marvell/mochi/apn806_setup.c
View
include/drivers/marvell/ccu.h