MA-15208 Remap mmc device id in spl
authorHaoran.Wang <elven.wang@nxp.com>
Mon, 22 Jul 2019 09:45:49 +0000 (17:45 +0800)
committerJi Luo <ji.luo@nxp.com>
Thu, 13 May 2021 01:49:17 +0000 (09:49 +0800)
commit1597b96ee023c5b2de9eea6cc198d2f4b3404fda
treeae9cfb66068237dfe0b1253bcdc43a5898d62cb6
parent2574a4d52d6f982a9a4a9eb6af1421fe65bc6e1f
MA-15208 Remap mmc device id in spl

This patch adds mmc device id remap function in spl to get the
correct device id.

Test: boot on imx8mm with trusty enabled.

Change-Id: I41c46494326d9eb2658d2cda692968fb895d0292
Signed-off-by: Ji Luo <ji.luo@nxp.com>
(cherry picked from commit c079188d06b3669df7836e1b8c6126558b1fa39e)
lib/avb/fsl/fsl_avbkey.c