Skip to contentSkip to conversation

kconfig: doc: Update comment regarding CONFIG_IS_ENABLED(FOO) for TPL

PATCH New Lukasz Majewski 2 participants 2 messages Sep 3, 2019 – Sep 20, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 kconfig: doc: Update comment regarding CONFIG_IS_ENABLED(FOO) for TPL

This patch adds some commit info for CONFIG_IS_ENABLED(FOO) when used in TPL context.

---

 include/linux/kconfig.h | 2 ++
 1 file changed, 2 insertions(+)
include/linux/kconfig.h +2 -0
index fbfc7188b8..3a2da738c4 100644
@@ -75,6 +75,7 @@
  * CONFIG_VAL(FOO) evaluates to the value of
  *  CONFIG_FOO if CONFIG_SPL_BUILD is undefined,
  *  CONFIG_SPL_FOO if CONFIG_SPL_BUILD is defined.
+ *  CONFIG_TPL_FOO if CONFIG_TPL_BUILD is defined.
  */
 #define CONFIG_VAL(option)  config_val(option)
 
@@ -82,6 +83,7 @@
  * CONFIG_IS_ENABLED(FOO) evaluates to
  *  1 if CONFIG_SPL_BUILD is undefined and CONFIG_FOO is set to 'y' or 'm',
  *  1 if CONFIG_SPL_BUILD is defined and CONFIG_SPL_FOO is set to 'y' or 'm',
+ *  1 if CONFIG_TPL_BUILD is defined and CONFIG_TPL_FOO is set to 'y' or 'm',
  *  0 otherwise.
  */
 #define CONFIG_IS_ENABLED(option) \
Signature · 1 line
2.11.0
#1 lore raw

PATCH 1/1 kconfig: doc: Update comment regarding CONFIG_IS_ENABLED(FOO) for TPL

Quoted 4 lines · Lukasz Majewski

This patch adds some commit info for CONFIG_IS_ENABLED(FOO) when used in TPL context.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190920/3e295472/attachment.sig>