
9 Feb
2022
9 Feb
'22
5:37 p.m.
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@chromium.org
Applied to u-boot/master, thanks!
--
Tom