summaryrefslogtreecommitdiff
path: root/boot/vbe_simple.c
Commit message (Collapse)AuthorAgeFilesLines
* boot: vbe_simple: Fix vbe_simple_read_bootflow() dependencyBin Meng2023-04-281-5/+7
| | | | | | | | | vbe_simple_read_bootflow() calls vbe_simple_read_bootflow_fw() which is only available when BOOTMETH_VBE_SIMPLE_FW is on. Signed-off-by: Bin Meng <bmeng@tinylab.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
* vbe: Move OS implementation into a separate fileSimon Glass2022-10-311-100/+2
| | | | | | Move this into its own file so it can be built only by U-Boot proper. Signed-off-by: Simon Glass <sjg@chromium.org>
* vbe: Support reading the next SPL phase via VBESimon Glass2022-10-311-17/+29
| | | | | | | Add an SPL loader to obtain the next-phase binary from a FIT provided by the VBE driver. Signed-off-by: Simon Glass <sjg@chromium.org>
* boot: Tidy up logging and naming in vbe_simpleSimon Glass2022-10-171-7/+9
| | | | | | | | | Make sure the log_msg_ret() values are unique so that the log trace is unambiguous with LOG_ERROR_RETURN. Also avoid reusing the 'node' variable for two different nodes in bootmeth_vbe_simple_ft_fixup(), since this is confusing. Signed-off-by: Simon Glass <sjg@chromium.org>
* dm: core: Split ofnode_path_root() into two functionsSimon Glass2022-09-291-1/+1
| | | | | | | | | | | This function turns out to be a little confusing since it looks up a path and also registers the tree. Split it into two, one that gets the root node and one that looks up a path, so the purpose is clear. Registering the tree will happen in a function to be added in a later patch, called oftree_from_fdt(). Signed-off-by: Simon Glass <sjg@chromium.org>
* boot: simplify bootmeth_vbe_simple_ft_fixup()Heinrich Schuchardt2022-08-261-4/+3
| | | | | | | | | Don't assign a value to a variable if it is not used afterwards. Move variables to the code fragment where they are used. Addresses-Coverity: CID 356243 ("Code maintainability issues (UNUSED_VALUE)") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
* vbe: Support VBE simpleSimon Glass2022-08-121-0/+315
Add support for VBE simple, which permits firmware update of a single image stored in MMC or another block device. Signed-off-by: Simon Glass <sjg@chromium.org>