summaryrefslogtreecommitdiff
path: root/drivers/ddr/marvell/a38x/ddr3_init.h
diff options
context:
space:
mode:
authorMarek BehĂșn <kabel@kernel.org>2024-06-18 17:34:25 +0200
committerStefan Roese <sr@denx.de>2024-07-08 08:20:58 +0200
commitc173f6268d405c0cc83d286192dfdd66bad25368 (patch)
tree4e9294aac11dfc2a834aa3f75df920f3e849c2a7 /drivers/ddr/marvell/a38x/ddr3_init.h
parentc416e7ad713117a1eeae598146019efd15d2c4a1 (diff)
ddr: marvell: a38x: debug: return from ddr3_tip_print_log() early if we won't print anything
Return from ddr3_tip_print_log() early if we won't print anything anyway. This way the compiler can optimize away the VALIDATE_IF_ACTIVE() calls in the for-loop, so if the SILENT_LIB macro is defined, no code is generated for the rest of the function, which saves some space. Signed-off-by: Marek BehĂșn <kabel@kernel.org>
Diffstat (limited to 'drivers/ddr/marvell/a38x/ddr3_init.h')
0 files changed, 0 insertions, 0 deletions