board: mediatek: fix mmc_get_boot_dev() for platforms without external SD
authorDavid Woodhouse <dwmw2@infradead.org>
Sun, 12 Jul 2020 22:33:01 +0000 (23:33 +0100)
committerTom Rini <trini@konsulko.com>
Wed, 29 Jul 2020 12:43:40 +0000 (08:43 -0400)
commite3cc511eef5d99491e0c51324be499b688dde8de
treee8f7c7b88bcab1f9dd61f9ec90aec198a20f290e
parentb39cacc268a3feb3b21a0b966e1c293ab5c96a40
board: mediatek: fix mmc_get_boot_dev() for platforms without external SD

On the UniElec U7623 board there is no external SD slot and the preloader
doesn't fill in the magic field at 0x81dffff0 to indicate that it was
booted from eMMC.

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
board/mediatek/mt7623/mt7623_rfb.c