2015-02-16 06:27:48

by Matwey V. Kornilov

[permalink] [raw]
Subject: [PATCH v2 1/2] of: Add prompt for OF_OVERLAY config

Add prompt for OF_OVERLAY config option to make in visible in menuconfig/xconfig
to make user be able to set or unset this option.

Signed-off-by: Matwey V. Kornilov <[email protected]>
---
Changes from v1:
- Explanation commit message has been added to 1/2
- Add 2/2 (drop depends on OF) as suggested by <[email protected]>

drivers/of/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/of/Kconfig b/drivers/of/Kconfig
index b5e0c87..fdca685 100644
--- a/drivers/of/Kconfig
+++ b/drivers/of/Kconfig
@@ -85,7 +85,7 @@ config OF_RESOLVE
bool

config OF_OVERLAY
- bool
+ bool "Device Tree overlays"
depends on OF
select OF_DYNAMIC
select OF_RESOLVE
--
2.1.4


2015-02-16 06:27:54

by Matwey V. Kornilov

[permalink] [raw]
Subject: [PATCH v2 2/2] of: Drop superfluous dependance for OF_OVERLAY

The whole menu already depends on OF, so there is no need to additionaly specify it.

Suggested-by: Paul Bolle <[email protected]>
Signed-off-by: Matwey V. Kornilov <[email protected]>
---
drivers/of/Kconfig | 1 -
1 file changed, 1 deletion(-)

diff --git a/drivers/of/Kconfig b/drivers/of/Kconfig
index fdca685..4831137 100644
--- a/drivers/of/Kconfig
+++ b/drivers/of/Kconfig
@@ -86,7 +86,6 @@ config OF_RESOLVE

config OF_OVERLAY
bool "Device Tree overlays"
- depends on OF
select OF_DYNAMIC
select OF_RESOLVE

--
2.1.4