From: Chen-Yu Tsai Date: Mon, 2 May 2016 02:28:08 +0000 (+0800) Subject: sunxi: Add default MMC0 card detect pin for A83T, H3 and A64 SoCs X-Git-Tag: v2016.07-rc1~170^2~14 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=acdab175c0853ed1f389bca467765dc98f9e4bcb;p=u-boot sunxi: Add default MMC0 card detect pin for A83T, H3 and A64 SoCs A83T, H3, and A64 have a dedicated pin for card detect on the PF pingroup. This is used in all designs. Set it as the default. Signed-off-by: Chen-Yu Tsai Reviewed-by: Hans de Goede Signed-off-by: Hans de Goede --- diff --git a/board/sunxi/Kconfig b/board/sunxi/Kconfig index 49a937a8b6..a24d5c238d 100644 --- a/board/sunxi/Kconfig +++ b/board/sunxi/Kconfig @@ -260,6 +260,7 @@ config MMC config MMC0_CD_PIN string "Card detect pin for mmc0" + default "PF6" if MACH_SUN8I_A83T || MACH_SUN8I_H3 || MACH_SUN50I default "" ---help--- Set the card detect pin for mmc0, leave empty to not use cd. This