diff options
| author | Simon Glass <[email protected]> | 2021-08-08 12:20:26 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2021-09-04 12:26:02 -0400 |
| commit | 29d7153ec384e072755e8951a8a33f29372f925c (patch) | |
| tree | b4ff954c27a2e645593f01811dee4e2823d3bf5c /board/udoo | |
| parent | 7abf178bb815df7d7e1f6c5db202e02ae7d9489f (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 <[email protected]>
Reviewed-by: Jaehoon Chung <[email protected]>
Diffstat (limited to 'board/udoo')
| -rw-r--r-- | board/udoo/neo/neo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/udoo/neo/neo.c b/board/udoo/neo/neo.c index 92a1e084b52..88889df2d2f 100644 --- a/board/udoo/neo/neo.c +++ b/board/udoo/neo/neo.c @@ -96,7 +96,7 @@ static struct i2c_pads_info i2c_pad_info1 = { }; #endif -#ifdef CONFIG_POWER +#ifdef CONFIG_POWER_LEGACY int power_init_board(void) { struct pmic *p; |
