diff options
author | Simon Glass <sjg@chromium.org> | 2021-08-08 21:20:29 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-09-04 19:26:02 +0300 |
commit | a4faf1f563160b1b9cfbdbf388d33464691d0440 (patch) | |
tree | c2ec2dc3ca4ca49999d043cc7a9ee16ee5503969 /drivers/power/acpi_pmc | |
parent | 14c251ffe156e5b5b1332efcf5ed6fb7ae62cdc3 (diff) | |
download | u-boot-a4faf1f563160b1b9cfbdbf388d33464691d0440.tar.xz |
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 'drivers/power/acpi_pmc')
-rw-r--r-- | drivers/power/acpi_pmc/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/acpi_pmc/Makefile b/drivers/power/acpi_pmc/Makefile index 115788f109..0db52a6582 100644 --- a/drivers/power/acpi_pmc/Makefile +++ b/drivers/power/acpi_pmc/Makefile @@ -2,5 +2,5 @@ # # Copyright 2019 Google LLC -obj-$(CONFIG_$(SPL_TPL_)ACPI_PMC) += acpi-pmc-uclass.o +obj-y += acpi-pmc-uclass.o obj-$(CONFIG_$(SPL_TPL_)ACPI_PMC_SANDBOX) += sandbox.o pmc_emul.o |