drivers:optee:rpmb: initialize drivers of mmc devices in UCLASS_BLK for rpmb access
authorJudy Wang <wangjudy@microsoft.com>
Tue, 3 May 2022 06:04:40 +0000 (14:04 +0800)
committerTom Rini <trini@konsulko.com>
Mon, 6 Jun 2022 22:01:21 +0000 (18:01 -0400)
commit05947cb1d8d651b6b4e5f5dcbcef8e58d5ec4b44
tree5f923f86eace0cb198f6c814046113ddbf2b5196
parentfb84517d52aa24b5b8bad6abc228459a146b6ba5
drivers:optee:rpmb: initialize drivers of mmc devices in UCLASS_BLK for rpmb access

CONFIG_MMC only initializes drivers for devices in UCLASS_MMC, we need
to initialize drivers for devices of type IF_TYPE_MMC in UCLASS_BLK as
well because they are the child devices of devices in UCLASS_MMC.  This
is required for feature RPMB since it will access eMMC in optee-os.

Signed-off-by: Judy Wang <wangjudy@microsoft.com>
[trini: Add my SoB line and adjust Judy's name in git, having emailed
off-list]
Signed-off-by: Tom Rini <trini@konsulko.com>
drivers/tee/optee/rpmb.c