[PATCH v2 2/5] console: Always define the console-recording functions
Tom Rini
trini at konsulko.com
Sat Aug 8 14:30:11 CEST 2020
On Tue, Jul 28, 2020 at 07:41:11PM -0600, Simon Glass wrote:
> On boards without console recording these function are currently missing.
> It is more convenient for them to be present but to return dummy values.
> That way if we know that a test needs recording, we can check if it is
> available, and skip the test if not, while avoiding #ifdefs.
>
> Update the header file according and adjust console_record_reset_enable()
> to return an error if recording is not available.
>
> Signed-off-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/20200808/ffa0563b/attachment.sig>
More information about the U-Boot
mailing list