diff options
author | Manish Pandey <manish.pandey2@arm.com> | 2021-11-12 12:59:09 +0000 |
---|---|---|
committer | Manish Pandey <manish.pandey2@arm.com> | 2021-11-12 13:02:02 +0000 |
commit | 4ef449c15a4055d92632cb7e72267f525a7e2fca (patch) | |
tree | 2176da7a5cbb4fab6d2e5aaf895860412a1b39f8 /plat | |
parent | 66c3906e4c32d675eb06bd081de8a3359f76b84c (diff) | |
download | arm-trusted-firmware-4ef449c15a4055d92632cb7e72267f525a7e2fca.tar.gz |
fix: use correct printf format for uint64_t
sha 4ce3e99a3 introduced printf format specifiers for fixed width
types, which uses PRI*64 instead of "ll" for 64 bit values.
Signed-off-by: Manish Pandey <manish.pandey2@arm.com>
Change-Id: Ic6811cc1788c698adde0807e5f8ab5290a900a26
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 */ |