u-boot/drivers/power/pmic
Masahiro Yamada 0f9258228e of: clean up OF_CONTROL ifdef conditionals
We have flipped CONFIG_SPL_DISABLE_OF_CONTROL.  We have cleansing
devices, $(SPL_) and CONFIG_IS_ENABLED(), so we are ready to clear
away the ugly logic in include/fdtdec.h:

 #ifdef CONFIG_OF_CONTROL
 # if defined(CONFIG_SPL_BUILD) && !defined(SPL_OF_CONTROL)
 #  define OF_CONTROL 0
 # else
 #  define OF_CONTROL 1
 # endif
 #else
 # define OF_CONTROL 0
 #endif

Now CONFIG_IS_ENABLED(OF_CONTROL) is the substitute.  It refers to
CONFIG_OF_CONTROL for U-boot proper and CONFIG_SPL_OF_CONTROL for
SPL.

Also, we no longer have to cancel CONFIG_OF_CONTROL in
include/config_uncmd_spl.h and scripts/Makefile.spl.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
2015-08-18 13:46:05 -04:00
..
i2c_pmic_emul.c sandbox: add: sandbox PMIC device drivers: I2C emul, pmic, regulator 2015-05-14 19:58:34 -06:00
Kconfig Add missing part of: "power: pmic: pfuze100 support driver model" 2015-08-14 16:53:02 +02:00
Makefile pmic: pmic_hi6553: Add a driver for the hi6553 pmic found on hikey board. 2015-08-12 20:48:00 -04:00
max77686.c dm: pmic: max77686: Correct a few nits 2015-08-05 21:06:12 -06:00
muic_max8997.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
pfuze100.c Add missing part of: "power: pmic: pfuze100 support driver model" 2015-08-14 16:53:02 +02:00
pmic-uclass.c dm: pmic: Correct the pmic_reg_write() implementation 2015-08-05 21:06:12 -06:00
pmic_hi6553.c pmic: pmic_hi6553: Add a driver for the hi6553 pmic found on hikey board. 2015-08-12 20:48:00 -04:00
pmic_ltc3676.c power: Add support for LTC3676 PMIC 2014-05-09 14:38:23 +02:00
pmic_max8997.c power: Add PMIC_ prefix to CHARGER_EN/DISABLE 2014-05-28 10:58:18 +09:00
pmic_max8998.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
pmic_max77686.c of: clean up OF_CONTROL ifdef conditionals 2015-08-18 13:46:05 -04:00
pmic_max77696.c power: pmic: Add support for MAX77696 PMIC 2015-07-26 12:11:33 +02:00
pmic_pfuze100.c Add missing part of: "power: pmic: pfuze100 support driver model" 2015-08-14 16:53:02 +02:00
pmic_tps62362.c pmic: add tps62362 simple wrapper code 2015-01-13 15:26:10 -05:00
pmic_tps65217.c drivers/power/pmic: Add tps65217 driver 2013-09-20 11:01:26 -04:00
pmic_tps65218.c tps65218/am43xx_evm: Add power framework support to TPS65218 2014-07-25 15:21:06 -04:00
pmic_tps65910.c drivers/power/pmic: Add tps65910 driver 2013-09-20 11:01:26 -04:00
s5m8767.c dm: power: Add support for the S5M8767 PMIC 2015-08-05 21:06:12 -06:00
sandbox.c sandbox: add: sandbox PMIC device drivers: I2C emul, pmic, regulator 2015-05-14 19:58:34 -06:00
tps65090.c dm: power: Add a new driver for the TPS65090 PMIC 2015-08-05 21:06:12 -06:00