aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-08-08 12:20:29 -0600
committerTom Rini <trini@konsulko.com>2021-09-04 12:26:02 -0400
commita4faf1f563160b1b9cfbdbf388d33464691d0440 (patch)
treec2ec2dc3ca4ca49999d043cc7a9ee16ee5503969 /Makefile
parent14c251ffe156e5b5b1332efcf5ed6fb7ae62cdc3 (diff)
downloadu-boot-a4faf1f563160b1b9cfbdbf388d33464691d0440.zip
u-boot-a4faf1f563160b1b9cfbdbf388d33464691d0440.tar.gz
u-boot-a4faf1f563160b1b9cfbdbf388d33464691d0440.tar.bz2
power: Refactor Makefile rules
Move the power/ rules into drivers/power to avoid clutter in the Makefile and drivers/Makefile files. We must select SPL_POWER if SPL_POWER_DOMAIN is used, since the two are currently independent and boards do not necessarily enable SPL_POWER. Add a TPL_POWER as well, as that is used by one board. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 0 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index a2f7129..9465e22 100644
--- a/Makefile
+++ b/Makefile
@@ -815,13 +815,6 @@ libs-y += disk/
libs-y += drivers/
libs-y += drivers/net/
libs-y += drivers/net/phy/
-libs-y += drivers/power/ \
- drivers/power/domain/ \
- drivers/power/fuel_gauge/ \
- drivers/power/mfd/ \
- drivers/power/pmic/ \
- drivers/power/battery/ \
- drivers/power/regulator/
libs-$(CONFIG_FMAN_ENET) += drivers/net/fm/
libs-$(CONFIG_SYS_FSL_DDR) += drivers/ddr/fsl/
libs-$(CONFIG_SYS_FSL_MMDC) += drivers/ddr/fsl/