[PATCH v4 01/18] common: Kconfig: Introduce CONFIG_CONSOLE_RECORD_INIT_F

Tom Rini trini at konsulko.com
Sat Jan 16 17:22:20 CET 2021


On Sat, Nov 28, 2020 at 10:43:03AM +0200, Ovidiu Panait wrote:

> Currently, the following #ifdef construct is used to check whether to run
> console_record_init() during pre-relocation init:
>  defined(CONFIG_CONSOLE_RECORD) && CONFIG_VAL(SYS_MALLOC_F_LEN)
> 
> Introduce CONFIG_CONSOLE_RECORD_INIT_F Kconfig option to get rid of the
> complex ifdef check. Also, use IS_ENABLED() instead of #ifdef.
> 
> Signed-off-by: Ovidiu Panait <ovidiu.panait at windriver.com>
> Reviewed-by: Simon Glass <sjg at chromium.org>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210116/a1c11c6e/attachment.sig>


More information about the U-Boot mailing list