Skip to content
Snippets Groups Projects
Commit 9a7e8ff7 authored by Jason Liu's avatar Jason Liu
Browse files

ENGR00243038: make get_mmc_env_devno to be a generic function


Currently, each board has one same function called get_mmc_env_devno,
this will make the code a little bit duplication. We can make the
get_mmc_env_devno to be a generic function, thus we can remove all the
scattered function definition in each board file.

And the patch also remove the boot check. Firstly, this check is needless,
secondly, this will break the second boot support,for example:
first boot from SPI, then switch to SD/MMC boot.

Signed-off-by: default avatarJason Liu <r64343@freescale.com>
parent 98a5299c
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment