sunxi: Add mmc0 card detect pin for Sinlinx SinA33
authorChen-Yu Tsai <wens@csie.org>
Wed, 14 Sep 2016 02:26:34 +0000 (10:26 +0800)
committerHans de Goede <hdegoede@redhat.com>
Sun, 18 Sep 2016 12:39:16 +0000 (14:39 +0200)
Sinlinx SinA33 uses PB4 for mmc0 card detect.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
configs/Sinlinx_SinA33_defconfig

index 013c35e1a83523fb0f96298ff441d17f4ff5d5a1..77eb05bf251a69c22329231579159626df7e5fc9 100644 (file)
@@ -3,6 +3,7 @@ CONFIG_ARCH_SUNXI=y
 CONFIG_MACH_SUN8I_A33=y
 CONFIG_DRAM_CLK=552
 CONFIG_DRAM_ZQ=15291
+CONFIG_MMC0_CD_PIN="PB4"
 CONFIG_DEFAULT_DEVICE_TREE="sun8i-a33-sinlinx-sina33"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SPL=y