]> git.dujemihanovic.xyz Git - u-boot.git/commit
zynqmp: migrate gqspi debug to logging
authorIbai Erkiaga <ibai.erkiaga-elorza@amd.com>
Fri, 13 Oct 2023 12:37:27 +0000 (13:37 +0100)
committerMichal Simek <michal.simek@amd.com>
Tue, 7 Nov 2023 12:47:09 +0000 (13:47 +0100)
commit3e891448920a8d53205d05e36372d65ae1289734
treefec407dc3407901857661f667c79706bbaf3aff3
parentfdff4b3c489d683ab08d6453ac91af593ab07a2a
zynqmp: migrate gqspi debug to logging

The following patch migrates the usage of debug and printf functions
to the relevant logging function as per U-Boot DM guidelines.

Additionally some of the debugging statements have been rearanged for
a more meaningfull debug experience.

aarch64-linux-gnu-size reports 229 bytes less when debug is enabled at
file level, while is just 5bytes more when disabled.

Signed-off-by: Ibai Erkiaga <ibai.erkiaga-elorza@amd.com>
Link: https://lore.kernel.org/r/20231013123739.2757979-1-ibai.erkiaga-elorza@amd.com
Signed-off-by: Michal Simek <michal.simek@amd.com>
drivers/spi/zynqmp_gqspi.c