aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/marvell/amb_adec.c
diff options
context:
space:
mode:
authorAntonio Nino Diaz <antonio.ninodiaz@arm.com>2018-08-16 16:46:06 +0100
committerAntonio Nino Diaz <antonio.ninodiaz@arm.com>2018-08-22 10:26:05 +0100
commit39b6cc66d670be41d6b51b644beb675f386a4240 (patch)
treeddf5b68804ea9548ea75fe38108eeb6c790afd8c /drivers/marvell/amb_adec.c
parent870ce3ddd3b33c59418a7dba703e8a66ec75f98f (diff)
downloadplatform_external_arm-trusted-firmware-39b6cc66d670be41d6b51b644beb675f386a4240.tar.gz
platform_external_arm-trusted-firmware-39b6cc66d670be41d6b51b644beb675f386a4240.tar.bz2
platform_external_arm-trusted-firmware-39b6cc66d670be41d6b51b644beb675f386a4240.zip
libc: Use printf and snprintf across codebase
tf_printf and tf_snprintf are now called printf and snprintf, so the code needs to be updated. Change-Id: Iffeee97afcd6328c4c2d30830d4923b964682d71 Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
Diffstat (limited to 'drivers/marvell/amb_adec.c')
-rw-r--r--drivers/marvell/amb_adec.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/marvell/amb_adec.c b/drivers/marvell/amb_adec.c
index 06a1957ee..3fb2f3890 100644
--- a/drivers/marvell/amb_adec.c
+++ b/drivers/marvell/amb_adec.c
@@ -96,8 +96,8 @@ static void dump_amb_adec(void)
uint32_t size, size_count;
/* Dump all AMB windows */
- tf_printf("bank attribute base size\n");
- tf_printf("--------------------------------------------\n");
+ printf("bank attribute base size\n");
+ printf("--------------------------------------------\n");
for (win_id = 0; win_id < AMB_MAX_WIN_ID; win_id++) {
ctrl = mmio_read_32(AMB_WIN_CR_OFFSET(win_id));
if (ctrl & WIN_ENABLE_BIT) {
@@ -105,8 +105,8 @@ static void dump_amb_adec(void)
attr = (ctrl >> AMB_ATTR_OFFSET) & AMB_ATTR_MASK;
size_count = (ctrl >> AMB_SIZE_OFFSET) & AMB_SIZE_MASK;
size = (size_count + 1) * AMB_WIN_ALIGNMENT_64K;
- tf_printf("amb 0x%04x 0x%08x 0x%08x\n",
- attr, base, size);
+ printf("amb 0x%04x 0x%08x 0x%08x\n",
+ attr, base, size);
}
}
}