summaryrefslogtreecommitdiff
path: root/include/configs/imx8mq_evk.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-08-08 21:20:25 +0300
committerTom Rini <trini@konsulko.com>2021-09-04 19:26:02 +0300
commit7abf178bb815df7d7e1f6c5db202e02ae7d9489f (patch)
tree6e9399995d9e905fbdb8e9e9de11053c719d36b0 /include/configs/imx8mq_evk.h
parentb2f9bac0e703631b12f1e40c1a8b15345923a29a (diff)
downloadu-boot-7abf178bb815df7d7e1f6c5db202e02ae7d9489f.tar.xz
power: Tidy up #undef of CONFIG_DM_PMIC
Add a proper Kconfig option for SPL so we can remove the hack in some of the board config files. This involves adding CONFIG_SPL_DM_PMIC to some of the configs as well as updateing the Makefile rule for PMIC_RK8XX to exclude SPL. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com> [trini: Add SPL_PMIC_RK8XX, enable when needed, handle undef of CONFIG_DM_PMIC_PFUZE100 as well] Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'include/configs/imx8mq_evk.h')
-rw-r--r--include/configs/imx8mq_evk.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/configs/imx8mq_evk.h b/include/configs/imx8mq_evk.h
index 5c8d9cbcba..e0666c9add 100644
--- a/include/configs/imx8mq_evk.h
+++ b/include/configs/imx8mq_evk.h
@@ -41,8 +41,6 @@
#define CONFIG_SPL_ABORT_ON_RAW_IMAGE
#undef CONFIG_DM_MMC
-#undef CONFIG_DM_PMIC
-#undef CONFIG_DM_PMIC_PFUZE100
#define CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG
@@ -130,8 +128,4 @@
#define CONFIG_OF_SYSTEM_SETUP
-#ifndef CONFIG_SPL_BUILD
-#define CONFIG_DM_PMIC
-#endif
-
#endif