bootstd: Add a function to get bootstd only if available
authorSimon Glass <sjg@chromium.org>
Fri, 15 Nov 2024 23:19:10 +0000 (16:19 -0700)
committerTom Rini <trini@konsulko.com>
Wed, 15 Jan 2025 14:48:42 +0000 (08:48 -0600)
commit529f92677defa4788ef0d43229caa5771be041a0
treead70e5e257d278cdf78e72469f42bbcfdf4de7e5
parent92182257733b446f3074a8a9b0a7eafea6ea8c1c
bootstd: Add a function to get bootstd only if available

Provide a function which is safe to call in the 'unbind' path, which
returns the bootstd priv data if available.

Signed-off-by: Simon Glass <sjg@chromium.org>
boot/bootstd-uclass.c
include/bootstd.h