summaryrefslogtreecommitdiffstats
path: root/board/sunxi
diff options
context:
space:
mode:
authorChen-Yu Tsai <wens@csie.org>2016-05-02 10:28:08 +0800
committerHans de Goede <hdegoede@redhat.com>2016-05-25 17:52:39 +0200
commitacdab175c0853ed1f389bca467765dc98f9e4bcb (patch)
tree13fb47530f17d902e91a4cae6525c8ad2042cc69 /board/sunxi
parenta81b79950e16182862e31ad86a97b6a8a6891476 (diff)
downloadu-boot-acdab175c0853ed1f389bca467765dc98f9e4bcb.tar.gz
u-boot-acdab175c0853ed1f389bca467765dc98f9e4bcb.tar.xz
u-boot-acdab175c0853ed1f389bca467765dc98f9e4bcb.zip
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 <wens@csie.org> Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'board/sunxi')
-rw-r--r--board/sunxi/Kconfig1
1 files changed, 1 insertions, 0 deletions
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