mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 10:39:08 +00:00
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. Signed-off-by: Lukasz Majewski <lukma@denx.de>
This commit is contained in:
parent
5f8f46ee6a
commit
fd75bf7bfa
1 changed files with 2 additions and 0 deletions
|
@ -75,6 +75,7 @@
|
||||||
* CONFIG_VAL(FOO) evaluates to the value of
|
* CONFIG_VAL(FOO) evaluates to the value of
|
||||||
* CONFIG_FOO if CONFIG_SPL_BUILD is undefined,
|
* CONFIG_FOO if CONFIG_SPL_BUILD is undefined,
|
||||||
* CONFIG_SPL_FOO if CONFIG_SPL_BUILD is defined.
|
* 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)
|
#define CONFIG_VAL(option) config_val(option)
|
||||||
|
|
||||||
|
@ -82,6 +83,7 @@
|
||||||
* CONFIG_IS_ENABLED(FOO) evaluates to
|
* 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 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_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.
|
* 0 otherwise.
|
||||||
*/
|
*/
|
||||||
#define CONFIG_IS_ENABLED(option) \
|
#define CONFIG_IS_ENABLED(option) \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue