summaryrefslogtreecommitdiff
path: root/drivers/ddr/imx/phy/ddrphy_train.c
diff options
context:
space:
mode:
authorAndre Przywara <andre.przywara@arm.com>2023-12-07 15:43:21 +0000
committerAndre Przywara <andre.przywara@arm.com>2024-04-22 01:12:26 +0100
commit192c5c9e51c1ef100c3d027d253ffad26ff75a68 (patch)
treec742be545ffbeda986ec176e1c9f6468d55b7b13 /drivers/ddr/imx/phy/ddrphy_train.c
parent25f07d2cc3c81763b2bf112a7edd24049554370d (diff)
sunxi: sun9i: make more clock functions SPL only
In clock_sun9i.c, responsible for (mostly early) clock setup on the Allwinner A80 SoC, 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, and 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. Move some functions around, to group all SPL-only function within one #ifdef guard. Some functions were exported, but never used outside of this file, so remove their prototypes from the header file and mark them as static. 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/imx/phy/ddrphy_train.c')
0 files changed, 0 insertions, 0 deletions