]> git.dujemihanovic.xyz Git - u-boot.git/commit
common: console: introduce console_record_isempty helper
authorIon Agorria <ion@agorria.com>
Fri, 5 Jan 2024 07:22:08 +0000 (09:22 +0200)
committerMattijs Korpershoek <mkorpershoek@baylibre.com>
Tue, 9 Jan 2024 13:58:33 +0000 (14:58 +0100)
commit9ce75f49127858d1aa36d455a869137e4d36681b
treeb5b04e4a9835ae20f7b5c07d7e34516b141ffc38
parent475aa9aabee7ab472341d755cc339f1345d5f49e
common: console: introduce console_record_isempty helper

Add console_record_isempty to check if console record buffer
contains any data.

Signed-off-by: Ion Agorria <ion@agorria.com>
Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
Link: https://lore.kernel.org/r/20240105072212.6615-4-clamor95@gmail.com
Signed-off-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
common/console.c
include/console.h