summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKshitij Sisodia <kshitij.sisodia@arm.com>2022-06-09 09:54:21 +0100
committerKshitij Sisodia <kshitij.sisodia@arm.com>2022-06-09 09:54:21 +0100
commitd44f57a56d9b8ff1db7112046e5332735350185a (patch)
treebca664d194d4b2a749cc1da746ec30917d8900a0
parent7bc68323242b0892b34bff5cf1e82257b0d75c21 (diff)
downloadml-embedded-evaluation-kit-d44f57a56d9b8ff1db7112046e5332735350185a.tar.gz
MLCE-864: Removing redundant warning
MPS3 clock is logged in the output, removing the warning as profiling would be impacted by this additional logging over UART. Change-Id: I1f941a75752bed0c871240aee664f8191916ab1d
-rw-r--r--source/hal/source/platform/mps3/source/timer_mps3.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/source/hal/source/platform/mps3/source/timer_mps3.c b/source/hal/source/platform/mps3/source/timer_mps3.c
index beb0435..bce782c 100644
--- a/source/hal/source/platform/mps3/source/timer_mps3.c
+++ b/source/hal/source/platform/mps3/source/timer_mps3.c
@@ -139,9 +139,6 @@ uint32_t get_mps3_core_clock(void)
const uint32_t default_clock = 32000000 /* 32 MHz clock */;
static int warned_once = 0;
if (0 != MPS3_SCC->CFG_ACLK) {
- if (default_clock != MPS3_SCC->CFG_ACLK) {
- warn("System clock is different to the MPS3 config set clock.\n");
- }
return MPS3_SCC->CFG_ACLK;
}