Compiling the tree with allyesconfig is helpful because different compilers (gcc, clang) or static checkers (e.g. clang's scan-build) can then process and check more code. This patch introduces two new configuration symbols that Kconfig files can depend on. That way, code that is only working where a cache or DMA implementation exists can be opted out. Signed-off-by: Holger Schurig <holgerschurig@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
15 lines
314 B
Text
15 lines
314 B
Text
menuconfig REGULATOR
|
|
depends on OFDEVICE
|
|
bool "voltage regulator support"
|
|
|
|
if REGULATOR
|
|
|
|
config REGULATOR_FIXED
|
|
bool "fixed/gpio regulator"
|
|
depends on GENERIC_GPIO
|
|
help
|
|
This enables a simple fixed regulator. It is used for regulators
|
|
which are not software controllable or controllable via gpio.
|
|
|
|
endif
|