1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * Verified Boot for Embedded (VBE) support
4 * See doc/develop/vbe.rst
6 * Copyright 2022 Google LLC
7 * Written by Simon Glass <sjg@chromium.org>
14 * vbe_list() - List the VBE bootmeths
16 * This shows a list of the VBE bootmeth devices
23 * vbe_find_by_any() - Find a VBE bootmeth by name or sequence
25 * @name: name (e.g. "vbe-simple"), or sequence ("2") to find
26 * @devp: returns the device found, on success
27 * Return: 0 if OK, -ve on error
29 int vbe_find_by_any(const char *name, struct udevice **devp);
32 * vbe_find_first_device() - Find the first VBE bootmeth
34 * @devp: Returns first available VBE bootmeth, or NULL if none
37 int vbe_find_first_device(struct udevice **devp);
40 * vbe_find_next_device() - Find the next available VBE bootmeth
42 * @devp: Previous device to start from. Returns next available VBE bootmeth,
46 int vbe_find_next_device(struct udevice **devp);