summaryrefslogtreecommitdiff
path: root/drivers/ddr/imx/phy/ddrphy_train.c
diff options
context:
space:
mode:
authorAndre Przywara <andre.przywara@arm.com>2023-12-07 16:06:04 +0000
committerAndre Przywara <andre.przywara@arm.com>2024-04-22 01:12:25 +0100
commit8cb3c49454ef6d72a20bb9c96f7ae841591ed33c (patch)
tree7b0dad12b363db2031c62e63dd9419ceb4239a10 /drivers/ddr/imx/phy/ddrphy_train.c
parent1a6828d0c54da2267cfc2a8abe7c51226f1cb80f (diff)
sunxi: compile clock.c for SPL only
With the clock_twi_onoff() function now being called only from the SPL, the whole clock.c file in arch/arm/mach-sunxi is needed by SPL code only. Remove the redundant #ifdef from the clock_init() function, actually this function was already only called from the SPL. Then adjust the Makefile to compile clock.c only with CONFIG_SPL_BUILD defined. This avoids unnecessary code in U-Boot proper and allows further refactoring and code-split between the SPL and U-Boot proper. Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Diffstat (limited to 'drivers/ddr/imx/phy/ddrphy_train.c')
0 files changed, 0 insertions, 0 deletions