diff options
author | Simon Glass | 2020-07-28 19:41:11 -0600 |
---|---|---|
committer | Tom Rini | 2020-08-07 22:31:32 -0400 |
commit | bd34715599c17e0d3f09af1cdfba8af120bc8602 (patch) | |
tree | b802a44b042f1b072295c1b3651fae6a175c9433 /test/dm/pci.c | |
parent | 33d7edfd5f69b9847bd7affc5481338ec8d7ee39 (diff) |
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: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'test/dm/pci.c')
0 files changed, 0 insertions, 0 deletions