aboutsummaryrefslogtreecommitdiff
path: root/product/synquacer/module/synquacer_system/src/mmu500.c
diff options
context:
space:
mode:
Diffstat (limited to 'product/synquacer/module/synquacer_system/src/mmu500.c')
-rw-r--r--product/synquacer/module/synquacer_system/src/mmu500.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/product/synquacer/module/synquacer_system/src/mmu500.c b/product/synquacer/module/synquacer_system/src/mmu500.c
index 4232fcfa..e612aba9 100644
--- a/product/synquacer/module/synquacer_system/src/mmu500.c
+++ b/product/synquacer/module/synquacer_system/src/mmu500.c
@@ -11,6 +11,8 @@
#include <fwk_log.h>
+#include <inttypes.h>
+
void SMMU_setup_PMU(MMU500_Type_t *SMMU)
{
volatile uint32_t *pmu_regs;
@@ -31,10 +33,10 @@ void SMMU_setup_PMU(MMU500_Type_t *SMMU)
pmu_regs[0x0800 / 4] = 0x00000800U; /* PMCGCR0: enable=1, global_basis */
pmu_regs[0x0e04 / 4] = 0x00000003U; /* PMCR: enable=1, reset=1 */
- FWK_LOG_TRACE(
- synquacer_system_ctx.log_api,
- "[MMU500] setup PMU for MMU-500@0x%08x. page_size=%d."
- "0x%08x(access), 0x%08x(read), 0x%08x(write).\n",
+ FWK_LOG_INFO(
+ "[MMU500] setup PMU for MMU-500@0x%08" PRIx32
+ ". page_size=%d. 0x%08" PRIx32 "(access), 0x%08" PRIx32
+ "(read), 0x%08" PRIx32 "(write).",
(uint32_t)SMMU,
page_size,
(uint32_t)&pmu_regs[0],