kontron-pitx-imx8m: fix board_mmc_getcd()
authorHeiko Thiery <heiko.thiery@gmail.com>
Wed, 16 Feb 2022 14:58:10 +0000 (15:58 +0100)
committerStefano Babic <sbabic@denx.de>
Sat, 19 Feb 2022 22:32:23 +0000 (23:32 +0100)
commit3240d011ae883a4ee842c0890c321ef1129fd3d4
treeaff530236d379e1e25221f66dd0c3f5518c3de1f
parent891a32465d3b3c01f3374590500450604cd7d38a
kontron-pitx-imx8m: fix board_mmc_getcd()

The function wrongly will return the card detection status of the SD card
(USDHC2) for the eMMC (USDHC1). Thus booting from eMMC without an inserted
SD card will fail.

Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
board/kontron/pitx_imx8m/spl.c