]> git.dujemihanovic.xyz Git - u-boot.git/commit
mmc: Use logging instead of printf()
authorSimon Glass <sjg@chromium.org>
Thu, 22 Aug 2024 13:54:54 +0000 (07:54 -0600)
committerTom Rini <trini@konsulko.com>
Fri, 23 Aug 2024 21:58:41 +0000 (15:58 -0600)
commit3aa8c443b22cab7f943eddb20aac46ff96214339
treea7f341e91872ef4ea2b528f9a59a5b2216bcf33f
parentbf85af66c0d326a018396b660e5c1b03c0257d3e
mmc: Use logging instead of printf()

The code makes quite a few uses of __func__ which puts the function
name into the resulting SPL image. Use the log subsystem instead, to
reduce size.

The CONFIG_LOGF_FUNC option can be used to enable the function name.

Use lower-case hex for the status output in sdhci_transfer_data(), to
match sdhci_send_command()

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
drivers/mmc/sdhci.c