MLK-16594-0: imx8qm/qxp: Use SCFW API instead of info from ROM_SW
authorAdriana Reus <adriana.reus@nxp.com>
Mon, 16 Oct 2017 13:08:00 +0000 (16:08 +0300)
committerJason Liu <jason.hui.liu@nxp.com>
Thu, 2 Nov 2017 18:37:24 +0000 (02:37 +0800)
commitebc2a4ebf315f5b4a8f183670b7987d8427283f8
treef6e36f14bce557e2b1c9a77cad192b949c3c1dc0
parentb5b49b2ed7f33ad9df7e0262e5153177b12960f4
MLK-16594-0: imx8qm/qxp: Use SCFW API instead of info from ROM_SW

In B0 there is no AP-ROM, and the ROM_SW address can no longer be used
to extract data about the boot device.
Use the scfw api in mmc_get_env_dev similarly to the change also made
in get_boot_device: 'commit 0851f23b5d4b ("MLK-16587-2 imx8qm/qxp:
Change to use SCFW API to get boot device")'

Signed-off-by: Adriana Reus <adriana.reus@nxp.com>
Reviewed-by: Ye Li <ye.li@nxp.com>
arch/arm/cpu/armv8/imx8/cpu.c