freebsd-nq/sys/dev/mmc
Luiz Otavio O Souza 6a11fa4e31 Add the MMC/SD driver for Allwinner SoCs.
This is based on the patch sent by Alexander Fedorov with the following
fixes/improvements:

 - Better error handling;
 - Clock is derived from PLL6 (obtained from netbsd);
 - No more unnecessary busy loops on interrupt handler;
 - style(9) fixes and code cleanup.

I also want to thanks Martin Galvan who has sent an alternative
implementation with some interesting fixes.

Tested on CubieBoard2, Banana-Pi (thanks to netgate!) and Cubieboard1
(Pratik Singhal).

This is intended to pave the way for the upcoming GSoC work (and make
easier the build of images for the supported boards).

PR:		196081
Submitted by:	Alexander Fedorov <alexander.fedorov@rtlservice.com>
2015-05-21 17:39:42 +00:00
..
host Enable Synopsys DesignWare Mobile Storage Host Controller 2015-01-20 09:07:28 +00:00
bridge.h
mmc.c Add the MMC/SD driver for Allwinner SoCs. 2015-05-21 17:39:42 +00:00
mmcbr_if.m
mmcbrvar.h
mmcbus_if.m
mmcreg.h
mmcsd.c Rate-limit error logging to 5 lines per second, so that when an sdcard 2015-01-11 20:55:16 +00:00
mmcvar.h Export an mmc or sd card's serial number from the mmc layer as an ivar. 2014-07-31 16:54:54 +00:00