warmboot: add flow_perform_ram_repair

This commit is contained in:
Michael Scire
2018-12-17 17:13:24 -08:00
parent 72594c6783
commit 7a704827f1
3 changed files with 40 additions and 1 deletions

View File

@@ -23,6 +23,7 @@
#include "pmc.h"
#include "misc.h"
#include "i2c.h"
#include "flow.h"
#include "sysreg.h"
static void cluster_pmc_enable_partition(uint32_t mask, uint32_t toggle) {
@@ -129,6 +130,9 @@ void cluster_initialize_cpu(void) {
/* Disable clock to CL_DVFS */
CLK_RST_CONTROLLER_CLK_ENB_W_CLR_0 = 0x08000000;
/* Perform RAM repair if necessary. */
flow_perform_ram_repair();
/* TODO: This function is enormous */
}