diff options
author | Patrick Delaunay <patrick.delaunay@st.com> | 2020-10-15 17:18:17 +0200 |
---|---|---|
committer | Jagan Teki <jagan@amarulasolutions.com> | 2020-12-18 16:16:36 +0530 |
commit | 46c5391b3d047fefbf6d852130299196061c7d6f (patch) | |
tree | c6c3a3fef40b0fb70dd5e661b4a5747854d54f2a /drivers/ddr/imx/imx8m/ddr_init.c | |
parent | 03a673cf49e8d2b1a3314f0f51390198e27b6d71 (diff) | |
download | u-boot-46c5391b3d047fefbf6d852130299196061c7d6f.tar.gz u-boot-46c5391b3d047fefbf6d852130299196061c7d6f.tar.xz u-boot-46c5391b3d047fefbf6d852130299196061c7d6f.zip |
spi: migrate trace to dev and log macro in spi uclass
Define LOG_CATEGORY and change printf and pr_*
to dev_ (when dev is available) or log_ macro.
This patch adds the support of logging feature with log command
(filtering, display of device name in trace) and allows to
suppress traces via the syslog driver.
Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
Diffstat (limited to 'drivers/ddr/imx/imx8m/ddr_init.c')
0 files changed, 0 insertions, 0 deletions