diff options
author | Simon Glass <sjg@chromium.org> | 2021-08-08 12:20:25 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-09-04 12:26:02 -0400 |
commit | 7abf178bb815df7d7e1f6c5db202e02ae7d9489f (patch) | |
tree | 6e9399995d9e905fbdb8e9e9de11053c719d36b0 /include/configs | |
parent | b2f9bac0e703631b12f1e40c1a8b15345923a29a (diff) | |
download | u-boot-7abf178bb815df7d7e1f6c5db202e02ae7d9489f.tar.gz |
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')
-rw-r--r-- | include/configs/imx8mp_evk.h | 2 | ||||
-rw-r--r-- | include/configs/imx8mq_evk.h | 6 | ||||
-rw-r--r-- | include/configs/imx8mq_phanbell.h | 6 | ||||
-rw-r--r-- | include/configs/pico-imx8mq.h | 5 |
4 files changed, 0 insertions, 19 deletions
diff --git a/include/configs/imx8mp_evk.h b/include/configs/imx8mp_evk.h index 6497c70314..9dd4bf7b24 100644 --- a/include/configs/imx8mp_evk.h +++ b/include/configs/imx8mp_evk.h @@ -30,8 +30,6 @@ #define CONFIG_SPL_ABORT_ON_RAW_IMAGE #undef CONFIG_DM_MMC -#undef CONFIG_DM_PMIC -#undef CONFIG_DM_PMIC_PFUZE100 #define CONFIG_POWER #define CONFIG_POWER_I2C 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 diff --git a/include/configs/imx8mq_phanbell.h b/include/configs/imx8mq_phanbell.h index 1e7cfc7b68..2fd1302bcf 100644 --- a/include/configs/imx8mq_phanbell.h +++ b/include/configs/imx8mq_phanbell.h @@ -38,8 +38,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 @@ -175,8 +173,4 @@ #define CONFIG_OF_SYSTEM_SETUP -#ifndef CONFIG_SPL_BUILD -#define CONFIG_DM_PMIC -#endif - #endif 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 |