summaryrefslogtreecommitdiff
path: root/drivers/ddr/marvell/axp/ddr3_dqs.c
diff options
context:
space:
mode:
authorAndre Przywara <andre.przywara@arm.com>2023-12-07 16:06:51 +0000
committerAndre Przywara <andre.przywara@arm.com>2024-04-22 01:12:26 +0100
commit58bf08999962f27d8dbdd3ae3171b2ab59358b9c (patch)
tree94520e5f3cd980e20d6dea70e4a24f0b2110c42b /drivers/ddr/marvell/axp/ddr3_dqs.c
parenta2b2a47a16489e96e251fe2b0fab2ac9798be02f (diff)
sunxi: sun6i: make more clock functions SPL only
In clock_sun6i.c, responsible for (mostly early) clock setup on older generation Allwinner SoCs, many functions are only needed by the SPL, and are thus already guarded by CONFIG_SPL_BUILD. Over the years drivers like for the UART or I2C were converted to DM, so they care about clock setup themselves now, by using a proper DM clock driver. This means those devices need the clock setup functions here for the SPL only. Include those functions into the existing CONFIG_SPL_BUILD guards, so they are compiled for the SPL only. This avoids unnecessary code in U-Boot proper and helps further refactoring. Add some comments on the way to help understanding of the file. Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Diffstat (limited to 'drivers/ddr/marvell/axp/ddr3_dqs.c')
0 files changed, 0 insertions, 0 deletions