Remove patch since potentially dangerous

A proper fix might be adoption of Icenowy's newer DT changes, see https://forum.armbian.com/topic/6650-toolchain-banana-pi-m2-zero-h3/?do=findComment&comment=50539
This commit is contained in:
Thomas Kaiser 2018-03-05 18:25:57 +01:00 committed by GitHub
parent 4bdbf413cd
commit 075259c345
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,16 +0,0 @@
diff -Naur v2017.09/drivers/mmc/sunxi_mmc.c v2017.09-bpi-m2z/drivers/mmc/sunxi_mmc.c
--- v2017.09/drivers/mmc/sunxi_mmc.c 2017-09-19 08:15:12.948794321 +0800
+++ v2017.09-bpi-m2z/drivers/mmc/sunxi_mmc.c 2017-11-08 09:21:20.000000000 +0800
@@ -465,7 +465,12 @@
if (cd_pin < 0)
return 1;
+#ifdef BPI
return !gpio_get_value(cd_pin);
+#else
+ printf("BPI: skip sunxi_mmc_getcd pin %d(%d)\n",cd_pin, gpio_get_value(cd_pin));
+ return 1;
+#endif
}
static const struct mmc_ops sunxi_mmc_ops = {