From: Tom Rini Date: Sat, 8 Aug 2020 08:30:11 -0400 Subject: [PATCH v2 2/5] console: Always define the console-recording functions In-Reply-To: <20200729014114.1960556-2-sjg@chromium.org> References: <20200729014114.1960556-1-sjg@chromium.org> <20200729014114.1960556-2-sjg@chromium.org> Message-ID: <20200808123011.GL20605@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 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 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: