vbe: Create a common function to get the block device
authorSimon Glass <sjg@chromium.org>
Thu, 16 Jan 2025 01:27:07 +0000 (18:27 -0700)
committerTom Rini <trini@konsulko.com>
Wed, 22 Jan 2025 15:47:49 +0000 (09:47 -0600)
commit190b128252b3861865d63c73ac9f13731aeb950f
treedeeb19dfcf4eb935f234aac0141ade0222ecd6da
parent27008ce51388faa448bf7b20b7e8104b8bc972a6
vbe: Create a common function to get the block device

Add a vbe_get_blk() function and use it to obtain the block device used
by VBE.

Signed-off-by: Simon Glass <sjg@chromium.org>
boot/Makefile
boot/vbe_common.c [new file with mode: 0644]
boot/vbe_common.h
boot/vbe_simple.c