No, If u-boot behave like that, users may be in trouble when they change a sd-card.
There is no Fundamental change between saveing emmc or sd card “Defaultly”. In this case, Why don’t just compile two version of u-boot with different configuration, one flash to emmc, the other one flash to sd card, both hard-code the location to u-boot environment.
Is there more elegant way to do that? Is there a register(or memory) of MTK that contain value tell you where u-boot boot from. For example, when u-boot boot from emmc, the value is
true, else it’s