MA-14916-7 comply with mmc struct definition in avb library
authorfaqiang.zhu <faqiang.zhu@nxp.com>
Wed, 3 Jul 2019 06:23:06 +0000 (14:23 +0800)
committerJi Luo <ji.luo@nxp.com>
Thu, 13 May 2021 01:49:17 +0000 (09:49 +0800)
commit3f838335e14898781cae03f0b318e4849713e052
tree66ef1349da786c0b0636fe4a57fbbb90264bf2c2
parent27ccc8fc1519aabfd4f3f623fd6e6b5bedf40aea
MA-14916-7 comply with mmc struct definition in avb library

Driver Module may be used in SPL, with CONFIG_BLK enabled for U-Boot,
CONFIG_SPL_BLK will be enabled, struct mmc definition will be different.
comply with that mmc struct definition in fsl_avbkey.c file to handle
conditions when DM is used in SPL.

Change-Id: I632600556e764b25228ba467a5e5141cf3fc3dfe
Signed-off-by: faqiang.zhu <faqiang.zhu@nxp.com>
(cherry picked from commit de905a8a3c6dfdf9241a188b2e22c76dbef851c1)
lib/avb/fsl/fsl_avbkey.c