diff options
author | Andre Przywara <andre.przywara@arm.com> | 2023-12-07 16:06:04 +0000 |
---|---|---|
committer | Andre Przywara <andre.przywara@arm.com> | 2024-04-22 01:12:25 +0100 |
commit | 8cb3c49454ef6d72a20bb9c96f7ae841591ed33c (patch) | |
tree | 7b0dad12b363db2031c62e63dd9419ceb4239a10 /drivers/ddr/imx/imx9 | |
parent | 1a6828d0c54da2267cfc2a8abe7c51226f1cb80f (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/imx9')
0 files changed, 0 insertions, 0 deletions