diff options
author | Ahmad Fatoum <a.fatoum@pengutronix.de> | 2022-12-05 14:28:35 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2022-12-07 07:55:50 +0100 |
commit | 3fec5568dbaabf12210d93406b5b6680a829245d (patch) | |
tree | 918d0b7189635016b6d385c8a542b06d7b513225 /drivers/ddr | |
parent | be48da73a94aaa2183b26e146eb727270462d36a (diff) | |
download | barebox-3fec5568dbaabf12210d93406b5b6680a829245d.tar.gz barebox-3fec5568dbaabf12210d93406b5b6680a829245d.tar.xz |
ddr: imx8m: use pr_warn instead of plain prints
We already have a pr_fmt, but we aren't making use of this. Change that.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Link: https://lore.barebox.org/20221205132835.3002605-2-a.fatoum@pengutronix.de
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/ddr')
-rw-r--r-- | drivers/ddr/imx8m/ddrphy_utils.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/ddr/imx8m/ddrphy_utils.c b/drivers/ddr/imx8m/ddrphy_utils.c index 3e03d4b75c..98e6ae648a 100644 --- a/drivers/ddr/imx8m/ddrphy_utils.c +++ b/drivers/ddr/imx8m/ddrphy_utils.c @@ -210,7 +210,7 @@ static void dram_enable_bypass(enum ddr_rate drate) const struct imx8m_bypass_config *config = &imx8m_bypass_table[drate]; if (!config->valid) { - printf("No matched freq table entry %u\n", drate); + pr_warn("No matched freq table entry %u\n", drate); return; } @@ -239,7 +239,7 @@ static int dram_frac_pll_init(enum ddr_rate drate) const struct imx8mm_fracpll_config *config = &imx8mm_fracpll_table[drate]; if (!config->valid) { - printf("No matched freq table entry %u\n", drate); + pr_warn("No matched freq table entry %u\n", drate); return -EINVAL; } @@ -284,7 +284,7 @@ static int dram_sscg_pll_init(enum ddr_rate drate) const struct imx8mq_ssgcpll_config *config = &imx8mq_ssgcpll_table[drate]; if (!config->valid) { - printf("No matched freq table entry %u\n", drate); + pr_warn("No matched freq table entry %u\n", drate); return -EINVAL; } |