summaryrefslogtreecommitdiff
path: root/configs/chromebook_coral_defconfig
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 /configs/chromebook_coral_defconfig
parent14c251ffe156e5b5b1332efcf5ed6fb7ae62cdc3 (diff)
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 'configs/chromebook_coral_defconfig')
-rw-r--r--configs/chromebook_coral_defconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/configs/chromebook_coral_defconfig b/configs/chromebook_coral_defconfig
index eb0884f1f5..321ad7de5b 100644
--- a/configs/chromebook_coral_defconfig
+++ b/configs/chromebook_coral_defconfig
@@ -44,7 +44,9 @@ CONFIG_SPL_SEPARATE_BSS=y
CONFIG_SPL_CPU=y
CONFIG_SPL_DM_SPI_FLASH=y
CONFIG_SPL_PCI=y
+CONFIG_SPL_POWER=y
# CONFIG_SPL_SPI_FLASH_TINY is not set
+CONFIG_TPL_POWER=y
CONFIG_HUSH_PARSER=y
CONFIG_CMD_CPU=y
CONFIG_CMD_PMC=y