summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorPeng Fan <peng.fan@nxp.com>2018-07-27 10:20:37 +0800
committerAnatolij Gustschin <agust@denx.de>2018-08-06 11:51:10 +0200
commite13278c943913af1d11be8955418012bbbad913e (patch)
tree4c23786cf9db0ffa7a691c55b3a182b05c36b7e5 /common
parent58d3de19bca074247bbd0126e727d0003a78c52e (diff)
downloadu-boot-e13278c943913af1d11be8955418012bbbad913e.tar.gz
power: Add CONFIG_SPL_POWER_DOMAIN config
Add CONFIG_SPL_POWER_DOMAIN config entry. Build drivers/power/domain if this config is selected. Signed-off-by: Peng Fan <peng.fan@nxp.com> Cc: Simon Glass <sjg@chromium.org> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common')
-rw-r--r--common/spl/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/common/spl/Kconfig b/common/spl/Kconfig
index 0be8ff0d87..0ad1e049a9 100644
--- a/common/spl/Kconfig
+++ b/common/spl/Kconfig
@@ -609,6 +609,15 @@ config SPL_POWER_SUPPORT
in drivers/power, drivers/power/pmic and drivers/power/regulator
as part of an SPL build.
+config SPL_POWER_DOMAIN
+ bool "Support power domain drivers"
+ help
+ Enable support for power domain control in SPL. Many SoCs allow
+ power to be applied to or removed from portions of the SoC (power
+ domains). This may be used to save power. This API provides the
+ means to control such power management hardware. This enables
+ the drivers in drivers/power/domain as part of a SPL build.
+
config SPL_RAM_SUPPORT
bool "Support booting from RAM"
default y if MICROBLAZE || ARCH_SOCFPGA || TEGRA || ARCH_ZYNQ