This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/AM3352: Identifying boot device in U-boot

Part Number: AM3352

Tool/software: Linux

Hi,

I have a board with both SD and eMMC - MMC0 and MMC1

The boot sequence is boot from eMMC and if no success then boots from SD.

How can I know in U-BOOT from where it was booted?

Thanks

Avner