arm: mvebu: Espressobin: Disable slot when emmc is not present
authorPali Rohár <pali@kernel.org>
Mon, 21 Dec 2020 10:09:10 +0000 (11:09 +0100)
committerStefan Roese <sr@denx.de>
Wed, 27 Jan 2021 06:29:43 +0000 (07:29 +0100)
commit9d716339fbb4d3e074aa6dfca795bafd9832a34d
tree4d51b2a812af3fe1fba550e6b9b2eab8c31f1678
parent9c690314dba9a2860a97f56e6e57f63c8513ddba
arm: mvebu: Espressobin: Disable slot when emmc is not present

This change extends previous commit 061c6d1b238a ("arm: mvebu: Espressobin:
Detect presence of emmc at runtime") and when emmc is not present then emmc
is removed from U-Boot DM and corresponding slot is disabled. Therefore on
Espressobin board without soldered emmc, state of emmc hw should be same as
if emmc was disabled in DTS.

Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Stefan Roese <sr@denx.de>
board/Marvell/mvebu_armada-37xx/board.c
drivers/mmc/xenon_sdhci.c