mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
nxp: imx8mp_evk: Add board_mmc_get_env_dev
When booting from eMMC, there is error log: MMC: FSL_SDHC: 1, FSL_SDHC: 2 Loading Environment from MMC... MMC: no card present Add board_mmc_get_env_dev() to get the correct device number. Signed-off-by: Peng Fan <peng.fan@nxp.com>
This commit is contained in:
@@ -28,6 +28,13 @@ struct efi_capsule_update_info update_info = {
|
||||
};
|
||||
#endif /* EFI_HAVE_CAPSULE_SUPPORT */
|
||||
|
||||
#if CONFIG_IS_ENABLED(ENV_IS_IN_MMC)
|
||||
int board_mmc_get_env_dev(int devno)
|
||||
{
|
||||
return devno;
|
||||
}
|
||||
#endif
|
||||
|
||||
int board_late_init(void)
|
||||
{
|
||||
#if CONFIG_IS_ENABLED(ENV_IS_IN_MMC)
|
||||
|
||||
Reference in New Issue
Block a user