]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
arm: allwinner: aw_mmc: Use the mmc_fdt_helper
authormanu <manu@FreeBSD.org>
Tue, 14 Apr 2020 16:34:13 +0000 (16:34 +0000)
committermanu <manu@FreeBSD.org>
Tue, 14 Apr 2020 16:34:13 +0000 (16:34 +0000)
commitdd9e522bf710cb167b571d9aaad85b4cf17ea1ef
tree94494a57fd807e50854254155f53d40a44d68859
parent91b9f0122cc9d3ac8ec579ddd18ee46efa6410b3
arm: allwinner: aw_mmc: Use the mmc_fdt_helper

The fdt properties are now parsed via the help of mmc_fdt_helper functions.
This also adds card detection.
Note that on some boards (like the Pine64) card detection is broken due to
a missing resistor on the cd pin.

MFC after: 1 month
Differential Revision: https://reviews.freebsd.org/D23268
sys/arm/allwinner/aw_mmc.c