diff options
author | Holger Schurig <holgerschurig@gmail.com> | 2014-07-22 09:57:21 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2014-07-22 21:29:57 +0200 |
commit | b3265685f7e4009aa4e3fbe788d80cd6d4e0e227 (patch) | |
tree | 3a93df817c3bd519d024888008c73ff184590c97 /drivers/regulator | |
parent | 3549cc582cd1ab2151f4315f64097aa83444f9db (diff) | |
download | barebox-b3265685f7e4009aa4e3fbe788d80cd6d4e0e227.tar.gz barebox-b3265685f7e4009aa4e3fbe788d80cd6d4e0e227.tar.xz |
sandbox: allow "make ARCH=sandbox allyesconfig"
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>
Diffstat (limited to 'drivers/regulator')
-rw-r--r-- | drivers/regulator/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/regulator/Kconfig b/drivers/regulator/Kconfig index 55f87a45ba..493b18a898 100644 --- a/drivers/regulator/Kconfig +++ b/drivers/regulator/Kconfig @@ -6,6 +6,7 @@ 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. |