aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorStefan Chulski <stefanc@marvell.com>2019-06-25 15:41:47 +0300
committerMarcin Wojtas <mw@semihalf.com>2020-08-11 12:21:30 +0200
commit5e4c97d035a92302f8bce9cec29676306af560a6 (patch)
treee742c142ad83cb31b398c38ed08e62f3b32e7bf3 /include
parent8f09da46e263cdb97f01edce449aa5b769cca2f5 (diff)
downloadtrusted-firmware-a-5e4c97d035a92302f8bce9cec29676306af560a6.tar.gz
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>
Diffstat (limited to 'include')
-rw-r--r--include/drivers/marvell/ccu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/drivers/marvell/ccu.h b/include/drivers/marvell/ccu.h
index 413ffb972f..f8f0adf676 100644
--- a/include/drivers/marvell/ccu.h
+++ b/include/drivers/marvell/ccu.h
@@ -47,6 +47,7 @@ void ccu_dram_target_set(int ap_index, uint32_t target);
void ccu_save_win_all(int ap_id);
void ccu_restore_win_all(int ap_id);
int ccu_is_win_enabled(int ap_index, uint32_t win_id);
+void errata_wa_init(void);
#endif
#endif /* CCU_H */