Commit ebf307bf authored by Alex Evraev's avatar Alex Evraev Committed by Marcin Wojtas
Browse files

plat: marvell: armada: a7k: add support to SVC validation mode



Add support for “AVS reduction” feature at this mode for
7040 Dual Cluster operation mode at CPU=1600MHz

Change-Id: Ia72b10e0ccfad07568bf4c089ea3990173ae24b2
Signed-off-by: default avatarAlex Evraev <alexev@marvell.com>
parent 48270689
......@@ -554,8 +554,18 @@ static void ble_plat_svc_config(void)
if (perr[0])
goto perror;
avs_workpoint = svc[0];
} else
} else {
#if MARVELL_SVC_TEST
reg_val = mmio_read_32(AVS_EN_CTRL_REG);
avs_workpoint = (reg_val &
AVS_VDD_LOW_LIMIT_MASK) >>
AVS_LOW_VDD_LIMIT_OFFSET;
NOTICE("7040 1600Mhz, avs = 0x%x\n",
avs_workpoint);
#else
avs_workpoint = 0;
#endif
}
break;
}
} else if (device_id == MVEBU_3900_DEV_ID) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment