commit | 6b165af6d63f225631acb2c1c6b648c1791dd8d3 | [log] [tgz] |
---|---|---|
author | Ovidiu Panait <ovidiu.panait@windriver.com> | Sat Nov 28 10:43:03 2020 +0200 |
committer | Tom Rini <trini@konsulko.com> | Fri Jan 15 14:36:11 2021 -0500 |
tree | de64720a7b22d8f55b12e234de420f97ab858a78 | |
parent | 03593f31eac0288248b612b8a88fc6bb467a4769 [diff] |
common: Kconfig: Introduce CONFIG_CONSOLE_RECORD_INIT_F 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@windriver.com> Reviewed-by: Simon Glass <sjg@chromium.org>