diff options
author | Manish Pandey <manish.pandey2@arm.com> | 2021-11-12 15:01:00 +0100 |
---|---|---|
committer | TrustedFirmware Code Review <review@review.trustedfirmware.org> | 2021-11-12 15:01:00 +0100 |
commit | 2242773ddbd959677af69d9df3aba3fd1b0bb4e1 (patch) | |
tree | 374d6d750e0457890e256e04e448051cb382783d /plat | |
parent | d15e4e085a0057025d05c199180ce47a96985b51 (diff) | |
parent | 4ef449c15a4055d92632cb7e72267f525a7e2fca (diff) | |
download | arm-trusted-firmware-2242773ddbd959677af69d9df3aba3fd1b0bb4e1.tar.gz |
Merge "fix: use correct printf format for uint64_t" into integration
Diffstat (limited to 'plat')
-rw-r--r-- | plat/brcm/board/common/board_arm_trusted_boot.c | 3 | ||||
-rw-r--r-- | plat/brcm/board/stingray/src/brcm_pm_ops.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/plat/brcm/board/common/board_arm_trusted_boot.c b/plat/brcm/board/common/board_arm_trusted_boot.c index 7a4dad013..da18c31d0 100644 --- a/plat/brcm/board/common/board_arm_trusted_boot.c +++ b/plat/brcm/board/common/board_arm_trusted_boot.c @@ -5,6 +5,7 @@ */ #include <assert.h> +#include <inttypes.h> #include <stdint.h> #include <string.h> @@ -344,7 +345,7 @@ void sotp_dump_rows(uint32_t start_row, uint32_t end_row) for (rownum = start_row; rownum <= end_row; rownum++) { rowdata = sotp_mem_read(rownum, SOTP_ROW_NO_ECC); - INFO("%d 0x%llx\n", rownum, rowdata); + INFO("%d 0x%" PRIx64 "\n", rownum, rowdata); } } #endif diff --git a/plat/brcm/board/stingray/src/brcm_pm_ops.c b/plat/brcm/board/stingray/src/brcm_pm_ops.c index 03a604c15..5e07fac08 100644 --- a/plat/brcm/board/stingray/src/brcm_pm_ops.c +++ b/plat/brcm/board/stingray/src/brcm_pm_ops.c @@ -6,6 +6,7 @@ #include <assert.h> #include <errno.h> +#include <inttypes.h> #include <arch_helpers.h> #include <common/debug.h> @@ -119,7 +120,7 @@ static void brcm_power_down_common(void) standbywfil2 = CDRU_PROC_EVENT_CLEAR__IH3_CDRU_STANDBYWFIL2; break; default: - ERROR("Invalid cluster #%llx\n", MPIDR_AFFLVL1_VAL(mpidr)); + ERROR("Invalid cluster #%" PRIx64 "\n", MPIDR_AFFLVL1_VAL(mpidr)); return; } /* Clear the WFI status bit */ |