From: Hauke Mehrtens Date: Sun, 13 Jan 2019 16:41:47 +0000 (+0100) Subject: sun50i: h5: Orange Pi Zero Plus: Fix SdCard detection X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=9b83787c0c3e814638ffcb2199b8ac17cea74e36;p=u-boot.git sun50i: h5: Orange Pi Zero Plus: Fix SdCard detection The Detection pin is at PF6 and not at PH13 like defined before. I checked the schematics and now I am am not seeing this error message any more: Loading Environment from FAT... Card did not respond to voltage select! CONFIG_MMC_SUNXI_SLOT_EXTRA is also not needed because the second MCC slot is for the Wifi card. Fixes: 76d69eb01de ("sun50i: h5: Add initial Orange Pi Zero Plus support") Signed-off-by: Hauke Mehrtens Reviewed-by: Jagan Teki --- diff --git a/configs/orangepi_zero_plus_defconfig b/configs/orangepi_zero_plus_defconfig index a2cfc7f59a..105d8f3251 100644 --- a/configs/orangepi_zero_plus_defconfig +++ b/configs/orangepi_zero_plus_defconfig @@ -4,8 +4,7 @@ CONFIG_SPL=y CONFIG_MACH_SUN50I_H5=y CONFIG_DRAM_CLK=624 CONFIG_DRAM_ZQ=3881977 -CONFIG_MMC0_CD_PIN="PH13" -CONFIG_MMC_SUNXI_SLOT_EXTRA=2 +CONFIG_MMC0_CD_PIN="PF6" CONFIG_NR_DRAM_BANKS=1 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set # CONFIG_CMD_FLASH is not set