summaryrefslogtreecommitdiffstats
path: root/freebsd/sys/dev/mmc (follow)
Commit message (Collapse)AuthorAgeFilesLines
* freebsd/mmcsd: Disable on-device cache usageKinsey Moore2024-03-051-0/+6
| | | | | | This disables any usage of the on-device R/W cache since all device cache maintenance functions are compiled out under RTEMS leaving no way to flush the cache before system reset and making data loss possible.
* MMCSD: Use cache aligned alloc for ioctlChristian Mauderer2021-04-191-0/+4
| | | | | Some drivers can't easily work with buffers that are not cache aligned and have an arbitrary length. Therefore use an aligned malloc instead.
* mmcsd: Don't handle multiple hardware partitions.Christian Mauderer2020-04-011-0/+13
| | | | | | | | | | | | | | | | The rtems_bsd_mmcsd_attach_worker acquired the bus without releasing it. If a MMC device has multiple hardware partitions (like eMMC which typically has at least one boot partition) the rtems_bsd_mmcsd_attach_worker would try to acquire the bus multiple times. This doesn't work. Doing it right would mean to acquire and release the bus for each access which would have an performance impact. Beneath that it would mean that partition switching has to be supported by the RTEMS code too. There is currently no known use case where the access would be necessary. Therefore this patch prefers the performance and just avoids all further hardware partitions.
* Update to FreeBSD head 2019-09-24Sebastian Huber2019-11-139-28/+40
| | | | Git mirror commit 6b0307a0a5184339393f555d5d424190d8a8277a.
* Update to FreeBSD head 2018-12-20Sebastian Huber2018-12-201-8/+14
| | | | | | | | | | Git mirror commit 19a6ceb89dbacf74697d493e48c388767126d418. It includes an update of wpa_supplicant to version 2.7. It includes an update of the OpenSSL baseline to version 1.1.1a. Update #3472.
* Update to FreeBSD head 2018-09-17Sebastian Huber2018-09-213-44/+46
| | | | | | Git mirror commit 6c2192b1ef8c50788c751f878552526800b1e319. Update #3472.
* Update to FreeBSD head 2018-06-01Sebastian Huber2018-09-212-94/+211
| | | | | | Git mirror commit fb63610a69b0eb7f69a201ba05c4c1a7a2739cf9. Update #3472.
* Update to FreeBSD head 2018-02-01Sebastian Huber2018-09-212-16/+25
| | | | | | Git mirror commit d079ae0442af8fa3cfd6d7ede190d04e64a2c0d4. Update #3472.
* Update to FreeBSD head 2017-12-01Sebastian Huber2018-09-216-1/+13
| | | | | | Git mirror commit e724f51f811a4b2bd29447f8b85ab5c2f9b88266. Update #3472.
* Update to FreeBSD head 2017-10-01Sebastian Huber2018-09-217-136/+272
| | | | | | Git mirror commit b2f0376b45428f13151d229c5ae9d4d8f74acbd1. Update #3472.
* Update to FreeBSD head 2017-08-01Sebastian Huber2018-09-218-268/+1054
| | | | | | Git mirror commit f5002f5e5f78cae9f0269d812dc0aedb0339312c. Update #3472.
* mmc: Optimize mmc_wait_for_req()Sebastian Huber2018-04-262-0/+19
| | | | | | Use a self-contained RTEMS binary semaphore instead of msleep() and wakeup(). This is itself more efficient and in addition allows the use of mmc_wakeup() in interrupt context.
* Use <sys/lock.h> provided by NewlibSebastian Huber2017-06-083-3/+3
|
* Update due to Newlib 2017-06-07 changesSebastian Huber2017-06-083-3/+3
| | | | | | | | | | | | | | | | | The following files are now provided by Newlib: * arpa/inet.h * net/if.h * netinet/in.h * netinet/tcp.h * sys/socket.h * sys/uio.h * sys/un.h The <sys/param.h> and <sys/cpuset.h> are now compatible enough to be used directly. Update #2833.
* Update to FreeBSD head 2017-04-04Sebastian Huber2017-04-0410-585/+2135
| | | | Git mirror commit 642b174daddbd0efd9bb5f242c43f4ab4db6869f.
* Update to FreeBSD head 2017-01-09Sebastian Huber2017-01-102-12/+12
| | | | Git mirror commit 1f8e4a995a6ede4bdb24e6d335ccda2bdb0175ab.
* Update to FreeBSD head 2016-08-23Sebastian Huber2017-01-101-1/+1
| | | | Git mirror commit 9fe7c416e6abb28b1398fd3e5687099846800cfd.
* mmc: Update to FreeBSD trunk 2016-08-23Sebastian Huber2016-08-235-112/+240
|
* mmc: Remove RTEMS special casesSebastian Huber2015-03-261-21/+0
|
* mmc: Import MMC/SDCard support from libusbSebastian Huber2015-03-266-0/+3354