mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
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>
32 lines
1.0 KiB
Makefile
32 lines
1.0 KiB
Makefile
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
# Copyright (c) 2009 Wind River Systems, Inc.
|
|
# Tom Rix <Tom.Rix at windriver.com>
|
|
|
|
obj-$(CONFIG_$(SPL_TPL_)ACPI_PMC) += acpi_pmc/
|
|
obj-$(CONFIG_$(SPL_TPL_)POWER_DOMAIN) += domain/
|
|
obj-y += pmic/
|
|
obj-y += regulator/
|
|
|
|
obj-$(CONFIG_AXP221_POWER) += axp221.o
|
|
ifdef CONFIG_SPL_BUILD
|
|
obj-$(CONFIG_AXP152_POWER) += axp152.o
|
|
obj-$(CONFIG_AXP209_POWER) += axp209.o
|
|
obj-$(CONFIG_AXP305_POWER) += axp305.o
|
|
obj-$(CONFIG_AXP313_POWER) += axp313.o
|
|
obj-$(CONFIG_AXP809_POWER) += axp809.o
|
|
obj-$(CONFIG_AXP818_POWER) += axp818.o
|
|
endif
|
|
obj-$(CONFIG_EXYNOS_TMU) += exynos-tmu.o
|
|
obj-$(CONFIG_SY8106A_POWER) += sy8106a.o
|
|
obj-$(CONFIG_TPS6586X_POWER) += tps6586x.o
|
|
obj-$(CONFIG_TWL4030_POWER) += twl4030.o
|
|
obj-$(CONFIG_TWL6030_POWER) += twl6030.o
|
|
obj-$(CONFIG_PALMAS_POWER) += palmas.o
|
|
obj-$(CONFIG_$(SPL_TPL_)POWER_LEGACY) += power_core.o
|
|
obj-$(CONFIG_DIALOG_POWER) += power_dialog.o
|
|
obj-$(CONFIG_POWER_FSL) += power_fsl.o
|
|
obj-$(CONFIG_$(SPL_TPL_)POWER_I2C) += power_i2c.o
|
|
obj-$(CONFIG_POWER_SPI) += power_spi.o
|
|
obj-$(CONFIG_POWER_MT6323) += mt6323.o
|