diff options
author | Simon Glass <sjg@chromium.org> | 2022-01-22 15:07:25 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-02-09 07:07:59 +0300 |
commit | 310bfa737f2cdf6bdcab7637b220a061d2807e99 (patch) | |
tree | a308f4e3a98075dbd003aebc91a9a49f106cd3db /env | |
parent | 93cb515fe307453ccf8250cf56b3cc1a3dc06a6f (diff) | |
download | u-boot-310bfa737f2cdf6bdcab7637b220a061d2807e99.tar.xz |
kconfig: Update IS_ENABLED() internals
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@chromium.org>
Diffstat (limited to 'env')
0 files changed, 0 insertions, 0 deletions