diff options
author | Ulf Hansson <ulf.hansson@linaro.org> | 2023-09-12 12:59:11 +0200 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2023-10-04 23:41:56 +0200 |
commit | c6d6afb840108ae3920812dd66b25a65acfe447b (patch) | |
tree | 2b52269957bd742480ec82c745b66c2ad9fba4e7 /drivers/pmdomain/st | |
parent | 70556c57eab404cc0241e991065b4cd532883e57 (diff) |
pmdomain: st: Add a Kconfig option for the ux500 power domain
We shouldn't really use the CONFIG_ARCH_U8500 option directly, but rather
have our own dedicated Kconfig option, so let's add that.
Cc: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/pmdomain/st')
-rw-r--r-- | drivers/pmdomain/st/Kconfig | 5 | ||||
-rw-r--r-- | drivers/pmdomain/st/Makefile | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/drivers/pmdomain/st/Kconfig b/drivers/pmdomain/st/Kconfig new file mode 100644 index 000000000000..a77a70211f61 --- /dev/null +++ b/drivers/pmdomain/st/Kconfig @@ -0,0 +1,5 @@ +# SPDX-License-Identifier: GPL-2.0-only +config UX500_PM_DOMAIN + bool "ST-Ericsson ux500 Power Domain" + depends on ARCH_U8500 || COMPILE_TEST + default ARCH_U8500 diff --git a/drivers/pmdomain/st/Makefile b/drivers/pmdomain/st/Makefile index 8fa5f9855460..6d8b617eb834 100644 --- a/drivers/pmdomain/st/Makefile +++ b/drivers/pmdomain/st/Makefile @@ -1,2 +1,2 @@ # SPDX-License-Identifier: GPL-2.0-only -obj-$(CONFIG_ARCH_U8500) += ste-ux500-pm-domain.o +obj-$(CONFIG_UX500_PM_DOMAIN) += ste-ux500-pm-domain.o |