Nico Huber would like HAOUAS Elyes, Julius Werner, Angel Pons and Patrick Georgi to review this change.

View Change

kconfig: Drop IS_ENABLED() macro

Change-Id: I8fc0d0136ba2316ef393c5c17f2b3ac3a9c6328d
Signed-off-by: Nico Huber <nico.h@gmx.de>
---
M payloads/libpayload/include/kconfig.h
M src/include/kconfig.h
2 files changed, 0 insertions(+), 2 deletions(-)

git pull ssh://review.coreboot.org:29418/coreboot refs/changes/30/32230/1
diff --git a/payloads/libpayload/include/kconfig.h b/payloads/libpayload/include/kconfig.h
index 9cce6ea..203494f 100644
--- a/payloads/libpayload/include/kconfig.h
+++ b/payloads/libpayload/include/kconfig.h
@@ -17,7 +17,6 @@
#define __config_enabled(arg1_or_junk) ___config_enabled(arg1_or_junk 1, 0, 0)
#define ___config_enabled(__ignored, val, ...) val

-#define IS_ENABLED(option) config_enabled(option) /* deprecated */
#define CONFIG(option) config_enabled(CONFIG_##option)

#endif
diff --git a/src/include/kconfig.h b/src/include/kconfig.h
index 0478548..50ef302 100644
--- a/src/include/kconfig.h
+++ b/src/include/kconfig.h
@@ -17,7 +17,6 @@
#define __config_enabled(arg1_or_junk) ___config_enabled(arg1_or_junk 1, 0, 0)
#define ___config_enabled(__ignored, val, ...) val

-#define IS_ENABLED(option) config_enabled(option) /* deprecated */
#define CONFIG(option) config_enabled(CONFIG_##option)

#endif

To view, visit change 32230. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I8fc0d0136ba2316ef393c5c17f2b3ac3a9c6328d
Gerrit-Change-Number: 32230
Gerrit-PatchSet: 1
Gerrit-Owner: Nico Huber <nico.h@gmx.de>
Gerrit-Reviewer: Angel Pons <th3fanbus@gmail.com>
Gerrit-Reviewer: HAOUAS Elyes <ehaouas@noos.fr>
Gerrit-Reviewer: Julius Werner <jwerner@chromium.org>
Gerrit-Reviewer: Martin Roth <martinroth@google.com>
Gerrit-Reviewer: Nico Huber <nico.h@gmx.de>
Gerrit-Reviewer: Patrick Georgi <pgeorgi@google.com>
Gerrit-MessageType: newchange