]> git.dujemihanovic.xyz Git - u-boot.git/commit
ddr: marvell: a38x: debug: Define DDR_VIEWER_TOOL variables only if needed, and make...
authorMarek Behún <kabel@kernel.org>
Tue, 18 Jun 2024 15:34:27 +0000 (17:34 +0200)
committerStefan Roese <sr@denx.de>
Mon, 8 Jul 2024 06:20:58 +0000 (08:20 +0200)
commit411e71f7df830a896069dd96f63f8872a7231d6e
tree5a1d21063cd8ca168d5aa0784fe84ca25cde22f4
parentc813b29e3ecc894695f620064f68890608b67b05
ddr: marvell: a38x: debug: Define DDR_VIEWER_TOOL variables only if needed, and make them static

The variables is_validate_window_per_if, is_validate_window_per_pup,
sweep_cnt and is_run_leveling_sweep_tests are only used if
DDR_VIEWER_TOOL macro is defined, so define them only in that case.

Make them static since they are only used in ddr3_debug.c.

Signed-off-by: Marek Behún <kabel@kernel.org>
drivers/ddr/marvell/a38x/ddr3_debug.c