Align the eMMC device id to '2' to get correct bootloader0
offset.
Test: bootloader0 partition flash.
Change-Id: Idac6bfe55857e3f80b7e18691bbe3c5e5c453e10
Signed-off-by: Ji Luo <ji.luo@nxp.com>
return 0x8000;
} else if (is_imx8mn()) {
/* target device is eMMC boot0 partition, bootloader offset is 0x0 */
- if (env_get_ulong("emmc_dev", 10, 1) == fastboot_devinfo.dev_id)
+ if (env_get_ulong("emmc_dev", 10, 2) == fastboot_devinfo.dev_id)
return 0;
else
return 0x8000;