[PATCH v5 04/13] kconfig: Update IS_ENABLED() internals
trini at konsulko.com
Wed Feb 9 17:37:48 CET 2022
On Sat, Jan 22, 2022 at 05:07:25AM -0700, Simon Glass wrote:
> The config_enabled() macro currently uses 0 as the default value. Update
> it to allow any value, so we can pass it something else, such as a
> non-existent function, to produce a build error if it is not defined.
> Also tidy up the code style for IS_ENABLED() and drop the unnecessary
> brackets (the value is a simple 0 or 1).
> Signed-off-by: Simon Glass <sjg at chromium.org>
Applied to u-boot/master, thanks!
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 659 bytes
Desc: not available
More information about the U-Boot