diff options
| author | Simon Glass <[email protected]> | 2021-08-08 12:20:25 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2021-09-04 12:26:02 -0400 |
| commit | 7abf178bb815df7d7e1f6c5db202e02ae7d9489f (patch) | |
| tree | 6e9399995d9e905fbdb8e9e9de11053c719d36b0 /include | |
| parent | b2f9bac0e703631b12f1e40c1a8b15345923a29a (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 <[email protected]>
Reviewed-by: Jaehoon Chung <[email protected]>
[trini: Add SPL_PMIC_RK8XX, enable when needed, handle undef of
CONFIG_DM_PMIC_PFUZE100 as well]
Signed-off-by: Tom Rini <[email protected]>
Diffstat (limited to 'include')
| -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 6497c70314c..9dd4bf7b241 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 5c8d9cbcba4..e0666c9adda 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 1e7cfc7b68b..2fd1302bcfd 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 3faa334ce12..09e0f44872b 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 |
