From 29d7153ec384e072755e8951a8a33f29372f925c Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Sun, 8 Aug 2021 12:20:26 -0600 Subject: power: Rename CONFIG_POWER to CONFIG_POWER_LEGACY This option is used in pre-driver model code and much of it has never been converted to driver model. We want to add a new option to enable power support, so we can use a simple rule in the Makefile. Rename this one, which is really about a particular implementation of power. Also update the pmic.h header file so it either includes the legacy API or the driver model one. Signed-off-by: Simon Glass Reviewed-by: Jaehoon Chung --- include/configs/cl-som-imx7.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/configs/cl-som-imx7.h') diff --git a/include/configs/cl-som-imx7.h b/include/configs/cl-som-imx7.h index 7c7ddadbf5c..0692653a9ff 100644 --- a/include/configs/cl-som-imx7.h +++ b/include/configs/cl-som-imx7.h @@ -22,7 +22,7 @@ #define IMX_FEC_BASE ENET_IPS_BASE_ADDR /* PMIC */ -#define CONFIG_POWER +#define CONFIG_POWER_LEGACY #define CONFIG_POWER_I2C #define CONFIG_POWER_PFUZE3000 #define CONFIG_POWER_PFUZE3000_I2C_ADDR 0x08 -- cgit v1.2.3