From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Sat, 16 Jan 2021 11:22:20 -0500 Subject: [PATCH v4 01/18] common: Kconfig: Introduce CONFIG_CONSOLE_RECORD_INIT_F In-Reply-To: <20201128084320.10164-2-ovidiu.panait@windriver.com> References: <20201128084320.10164-1-ovidiu.panait@windriver.com> <20201128084320.10164-2-ovidiu.panait@windriver.com> Message-ID: <20210116162220.GT9782@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > Reviewed-by: Simon Glass 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: