diff options
author | Andre Przywara <andre.przywara@arm.com> | 2024-05-14 01:12:34 +0100 |
---|---|---|
committer | Andre Przywara <andre.przywara@arm.com> | 2024-07-15 18:07:37 +0100 |
commit | 75d28bd0901744e0a7ea2edf82ae2cee06b07833 (patch) | |
tree | 23d4ee4f9f7a74303cffc715c7eaff54548c3894 /drivers/firmware/psci.c | |
parent | c30277f0d966fbc026756034db8f85d01304e35f (diff) |
power: pmic: sunxi: only build AXP drivers for SPL
The axp<xxx>.c drivers are only used for the SPL, for U-Boot proper we
have a separate, DM compliant driver.
Mask the build instructions with CONFIG_SPL_BUILD, to avoid them being
build for U-Boot proper as well.
The AXP221 driver defines axp_get_sid(), which is used in the U-Boot
proper cpuinfo() code, and some old LCD code directly calls axp_set_eldo(),
so we keep that driver outside the new guards. This will be fixed properly
later.
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Diffstat (limited to 'drivers/firmware/psci.c')
0 files changed, 0 insertions, 0 deletions