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 <[email protected]> > Reviewed-by: Simon Glass <[email protected]>
Applied to u-boot/master, thanks! -- Tom
signature.asc
Description: PGP signature

