diff options
Diffstat (limited to 'bsps/arm/tms570/start/bspstarthooks-hwinit.c')
-rw-r--r-- | bsps/arm/tms570/start/bspstarthooks-hwinit.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/bsps/arm/tms570/start/bspstarthooks-hwinit.c b/bsps/arm/tms570/start/bspstarthooks-hwinit.c index 561e6a18e6..8ac53a3d44 100644 --- a/bsps/arm/tms570/start/bspstarthooks-hwinit.c +++ b/bsps/arm/tms570/start/bspstarthooks-hwinit.c @@ -46,6 +46,7 @@ #include <bsp/tms570_selftest.h> #include <bsp/tms570_selftest_parity.h> #include <bsp/tms570_hwinit.h> +#include <bsp/ti_herc/errata_SSWF021_45.h> #define PBIST_March13N_SP 0x00000008U /**< March13 N Algo for 1 Port mem */ @@ -65,6 +66,14 @@ BSP_START_TEXT_SECTION void bsp_start_hook_0( void ) } #endif +#if TMS570_VARIANT == 4357 + uint32_t pll_result; + + do { + pll_result = _errata_SSWF021_45_both_plls(10); + } while (pll_result != 0 && pll_result != 4); +#endif + /* Enable CPU Event Export */ /* This allows the CPU to signal any single-bit or double-bit errors detected * by its ECC logic for accesses to program flash or data RAM. |