]> git.dujemihanovic.xyz Git - u-boot.git/commit
axs10x/emdk/hsdk/iot_dk: Implement board_mmc_getcd()
authorAlexey Brodkin <abrodkin@synopsys.com>
Thu, 11 Oct 2018 09:39:55 +0000 (12:39 +0300)
committerAlexey Brodkin <abrodkin@synopsys.com>
Fri, 12 Oct 2018 12:14:41 +0000 (15:14 +0300)
commit9f87d47088abdf514bdaed147145d98039bd5682
treeb8b80ccb82316b9f9cb9770a6a3eff8a4051442a
parent8a8f32d8ff9db59fc3dccbc4da83dd78e13d9c3e
axs10x/emdk/hsdk/iot_dk: Implement board_mmc_getcd()

So now we may detect MMC/SD-card existence and
instead of completely misleading message on missing card:
------------------------>8-----------------------
Loading Environment from FAT... Card did not respond to voltage select!
------------------------>8-----------------------

we now get very clear one:
------------------------>8-----------------------
Loading Environment from FAT... MMC: no card present
------------------------>8-----------------------

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
board/synopsys/axs10x/axs10x.c
board/synopsys/emdk/emdk.c
board/synopsys/hsdk/hsdk.c
board/synopsys/iot_devkit/iot_devkit.c