summaryrefslogtreecommitdiff
path: root/include/configs/pico-imx8mq.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-08-08 12:20:25 -0600
committerTom Rini <trini@konsulko.com>2021-09-04 12:26:02 -0400
commit7abf178bb815df7d7e1f6c5db202e02ae7d9489f (patch)
tree6e9399995d9e905fbdb8e9e9de11053c719d36b0 /include/configs/pico-imx8mq.h
parentb2f9bac0e703631b12f1e40c1a8b15345923a29a (diff)
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/pico-imx8mq.h')
-rw-r--r--include/configs/pico-imx8mq.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/configs/pico-imx8mq.h b/include/configs/pico-imx8mq.h
index 3faa334ce1..09e0f44872 100644
--- a/include/configs/pico-imx8mq.h
+++ b/include/configs/pico-imx8mq.h
@@ -38,7 +38,6 @@
#define CONFIG_SPL_ABORT_ON_RAW_IMAGE
#undef CONFIG_DM_MMC
-#undef CONFIG_DM_PMIC
#define CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG
@@ -154,10 +153,6 @@
#define CONFIG_OF_SYSTEM_SETUP
-#ifndef CONFIG_SPL_BUILD
-#define CONFIG_DM_PMIC
-#endif
-
#define CONFIG_SYS_BOOTM_LEN SZ_128M
#endif