aboutsummaryrefslogtreecommitdiff
path: root/include/configs/pico-imx7d.h
diff options
context:
space:
mode:
authorSimon Glass2021-08-08 12:20:26 -0600
committerTom Rini2021-09-04 12:26:02 -0400
commit29d7153ec384e072755e8951a8a33f29372f925c (patch)
treeb4ff954c27a2e645593f01811dee4e2823d3bf5c /include/configs/pico-imx7d.h
parent7abf178bb815df7d7e1f6c5db202e02ae7d9489f (diff)
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 <sjg@chromium.org> Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
Diffstat (limited to 'include/configs/pico-imx7d.h')
-rw-r--r--include/configs/pico-imx7d.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/configs/pico-imx7d.h b/include/configs/pico-imx7d.h
index a1cf8fc7d89..a0e782dbd34 100644
--- a/include/configs/pico-imx7d.h
+++ b/include/configs/pico-imx7d.h
@@ -122,7 +122,7 @@
(CONFIG_SYS_INIT_RAM_ADDR + CONFIG_SYS_INIT_SP_OFFSET)
/* PMIC */
-#define CONFIG_POWER
+#define CONFIG_POWER_LEGACY
#define CONFIG_POWER_I2C
#define CONFIG_POWER_PFUZE3000
#define CONFIG_POWER_PFUZE3000_I2C_ADDR 0x08