]> git.baikalelectronics.ru Git - uboot.git/commit
bootstd: mmc: Add a bootdev driver
authorSimon Glass <sjg@chromium.org>
Mon, 25 Apr 2022 05:31:14 +0000 (23:31 -0600)
committerTom Rini <trini@konsulko.com>
Mon, 25 Apr 2022 14:00:04 +0000 (10:00 -0400)
commit40a44d0e442e9469da8a7bf7c9e1f233cec59d91
tree0519efa9d1848cf08c896534997757dc44c9c9dc
parent0170b60e8c8f196c05350b57d845cc67bc18999f
bootstd: mmc: Add a bootdev driver

Add a bootdev driver for MMC. It mostly just calls the bootdev helper
function.

Add a function to obtain the block device for an MMC controller.

Fix up the comment for mmc_get_blk_desc() while we are here.

Signed-off-by: Simon Glass <sjg@chromium.org>
MAINTAINERS
drivers/mmc/Makefile
drivers/mmc/mmc-uclass.c
drivers/mmc/mmc_bootdev.c [new file with mode: 0644]
include/mmc.h