bootstd: Add a way to set up a bootflow
authorSimon Glass <sjg@chromium.org>
Fri, 21 Oct 2022 00:22:51 +0000 (18:22 -0600)
committerTom Rini <trini@konsulko.com>
Mon, 31 Oct 2022 15:02:44 +0000 (11:02 -0400)
commitb190deb8955f1043817faf84a69dd63d5a53f959
tree50687f22dcd1e3654e0b1d33e2f2038cdb92cc98
parentcbd71fad6d468018727ab04b2bb912989aec0785
bootstd: Add a way to set up a bootflow

Add a function to init a bootflow, to reduce code duplication.

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