diff options
author | Antonio Nino Diaz <antonio.ninodiaz@arm.com> | 2018-08-16 16:46:06 +0100 |
---|---|---|
committer | Antonio Nino Diaz <antonio.ninodiaz@arm.com> | 2018-08-22 10:26:05 +0100 |
commit | 39b6cc66d670be41d6b51b644beb675f386a4240 (patch) | |
tree | ddf5b68804ea9548ea75fe38108eeb6c790afd8c /drivers/st | |
parent | 870ce3ddd3b33c59418a7dba703e8a66ec75f98f (diff) |
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/st')
-rw-r--r-- | drivers/st/clk/stm32mp1_clk.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/st/clk/stm32mp1_clk.c b/drivers/st/clk/stm32mp1_clk.c index 1dc08d80..f0bf363e 100644 --- a/drivers/st/clk/stm32mp1_clk.c +++ b/drivers/st/clk/stm32mp1_clk.c @@ -17,6 +17,7 @@ #include <mmio.h> #include <platform.h> #include <stdint.h> +#include <stdio.h> #include <stm32mp1_clk.h> #include <stm32mp1_clkfunc.h> #include <stm32mp1_dt.h> @@ -1344,7 +1345,7 @@ int stm32mp1_clk_init(void) for (i = (enum stm32mp1_pll_id)0; i < _PLL_NB; i++) { char name[12]; - tf_snprintf(name, sizeof(name), "st,pll@%d", i); + snprintf(name, sizeof(name), "st,pll@%d", i); plloff[i] = fdt_rcc_subnode_offset(name); if (!fdt_check_node(plloff[i])) { |