Skip to content
Commit bd347155 authored by Simon Glass's avatar Simon Glass Committed by Tom Rini
Browse files

console: Always define the console-recording functions



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: default avatarSimon Glass <sjg@chromium.org>
parent 33d7edfd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment