]> git.dujemihanovic.xyz Git - u-boot.git/commit
bootstd: Add bootflow_iter_check_mmc() helper
authorMattijs Korpershoek <mkorpershoek@baylibre.com>
Wed, 10 Jul 2024 08:40:03 +0000 (10:40 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 18 Jul 2024 19:51:30 +0000 (13:51 -0600)
commitbe0b076c55a3de8a1a10053a8db9ff9ca8ffb8ac
tree1ec2b6fb0cd489ba8da24d469d5f8042e76bc9b3
parent58fed99f46115fe8547e7978fa361bbbbb3f3b50
bootstd: Add bootflow_iter_check_mmc() helper

Some bootflows might be able to only boot from MMC devices.

Add a helper function these bootflows can use.

Reviewed-by: Igor Opaniuk <igor.opaniuk@gmail.com>
Reviewed-by: Julien Masson <jmasson@baylibre.com>
Reviewed-by: Guillaume La Roque <glaroque@baylibre.com>
Tested-by: Guillaume La Roque <glaroque@baylibre.com>
Signed-off-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
boot/bootflow.c
include/bootflow.h