182 Commits

Author SHA1 Message Date
Christian Mauderer
a6cf310fb2 regulator: Disable FDT parts for non-FDT targets 2020-04-17 14:43:58 +02:00
Christian Mauderer
db78c8c52f imx: Fix build for all other BSPs. 2020-04-16 10:49:36 +02:00
Christian Mauderer
9dfb3bdef2 ehci_imx: Set/clear ENHOSTDISCONNECT in USB PHY.
This is not a nice solution but it should work on all chips. As soon as
FreeBSD has a nice solution via the USB PHY driver, this should be
replaced.

Update #3869.
2020-04-15 16:32:34 +02:00
Christian Mauderer
c9c4d79898 ehci_imx: Port to RTEMS
Update #3869.
2020-04-15 16:32:34 +02:00
Sebastian Huber
7c34c62c42 ehci_imx: Import from FreeBSD
Update #3869.
2020-04-15 16:32:34 +02:00
Christian Mauderer
9d69204a39 regulator: Import from FreeBSD.
Update #3869.
2020-04-15 16:30:33 +02:00
Sebastian Huber
bd7af5fcee usb_busdma: Add USB_NEED_BUSDMA_COHERENT_ALLOC
Some BSPs have a cache-coherent memory area, however, it should not be
used for the USB controller.
2020-04-15 16:18:43 +02:00
Christian Mauderer
fa81c95416 mmcsd: Don't handle multiple hardware partitions.
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.
2020-04-01 14:12:11 +02:00
Sebastian Huber
792d56bd33 NVME(4): Fix for big endian platforms
Update #3821.
2020-02-18 14:59:31 +01:00
Jan Sommer
af291fa3a0 i386: Port to RTEMS
- Update imported files to compile rtems-libbsd for i386 based BSPs
- Currently does not support the option "dev_nic_e1000 = on"
2020-02-10 10:44:28 +01:00
Sebastian Huber
7cfd4a5edb NVME(4): Add NVME_GET_NAMESPACE IO control
Update #3821.
2019-11-13 13:04:01 +01:00
Sebastian Huber
1d90e42327 NVME(4): Enable per-CPU IO queues
Update #3821.
2019-11-13 13:03:57 +01:00
Sebastian Huber
ab4be9ec77 NVME(4): Add support for SGL
Update #3821.
2019-11-13 13:03:55 +01:00
Sebastian Huber
bd2bea425e NVME(4): Add SGL descriptor
Update #3821.
2019-11-13 13:03:54 +01:00
Sebastian Huber
4e1cccffc8 NVME(4): Optimize data transfer
Update #3821.
2019-11-13 13:03:52 +01:00
Sebastian Huber
59951a9a9c NVME(4): Big endian support
Update #3821.
2019-11-13 13:03:51 +01:00
Sebastian Huber
53145c7232 NVME(4): Port to RTEMS
Update #3821.
2019-11-13 13:03:49 +01:00
Sebastian Huber
950675442f NVME(4): Import from FreeBSD
Update #3821.
2019-11-13 13:03:36 +01:00
Sebastian Huber
a5ddb0ea69 Update to FreeBSD head 2019-09-24
Git mirror commit 6b0307a0a5184339393f555d5d424190d8a8277a.
2019-11-13 10:47:04 +01:00
Sebastian Huber
c3623025c2 PCI(4): Import missing file 2019-09-23 10:58:01 +02:00
Sebastian Huber
b152932953 PCI(4): Disable unsupported features 2019-09-23 10:57:52 +02:00
Sebastian Huber
5d0b5c9463 PCI(4): Add big endian support 2019-09-23 10:56:41 +02:00
Sebastian Huber
82bccd8104 C++ compatibility for <dev/pci/pcivar.h> 2019-09-23 10:55:45 +02:00
Vijay Kumar Banerjee
951c4b92cf rtemsbsd: remove dead code fb.c 2019-08-31 20:32:38 +02:00
Vijay Kumar Banerjee
d7c01f4569 fbd: Port to RTEMS 2019-08-11 15:57:54 +02:00
Vijay Kumar Banerjee
fa976bc5aa fbd: Import from FreeBSD 2019-08-11 15:57:54 +02:00
Vijay Kumar Banerjee
b7458b0915 TDA19988: Import from FreeBSD 2019-08-11 15:57:54 +02:00
Vijay Kumar Banerjee
e3bc24e616 Pinmux : Import from FreeBSD 2019-08-11 15:57:54 +02:00
Vijay Kumar Banerjee
627fd1624e iicbus: Import from FreeBSD 2019-06-29 10:31:01 +02:00
Sebastian Huber
6a850e083d Fix USB_DEBUG redefinition warnings 2019-05-13 11:19:50 +02:00
Christian Mauderer
589f43d6af Import FreeBSD license files. 2019-04-04 09:07:10 +02:00
Sebastian Huber
0389b30dd9 Fix INVARIANTS support 2019-01-22 13:14:33 +01:00
Sebastian Huber
2b2563da95 Update to FreeBSD head 2018-12-20
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.
2018-12-20 13:36:34 +01:00
Sebastian Huber
e0b4edbdcc Update to FreeBSD head 2018-11-15
Git mirror commit a18b0830c4be01b39489a891b63d6023ada6358a.

Update #3472.
2018-11-15 10:56:14 +01:00
Sebastian Huber
b3169c2a6a Update to FreeBSD head 2018-10-23
Git mirror commit 59f44d20be3f99d181ca742e636d45fc39ec982b.

This commit updates OpenSSL to version 1.1.1.  This required an update
of racoon which uses some internal stuff from OpenSSL and seems to be
mostly unmaintained, e.g. there is update in the FreeBSD ports to cope
with OpenSSL 1.1.1.

Update #3472.
2018-10-25 08:38:45 +02:00
Sebastian Huber
1e77a45d54 saf1761_otg: Use real interrupt handler
The USB_BUS_SPIN_LOCK() is only used internally to the bus driver.
Replace the mutex with an interrupt disable/enable section.  Execute the
interrupt filter in a real interrupt context and forward the interrupt
handler to the interrupt server if necessary.
2018-10-04 14:14:51 +02:00
Sebastian Huber
f9d4e1d8c1 rtwn: Align mbuf to avoid realignment in rx path
See ieee80211_realign().
2018-10-04 14:12:56 +02:00
Sebastian Huber
b54bd9546e fsl_sdhci.c: Fix missing include error
Update #3525.
2018-09-28 18:08:22 +02:00
Sebastian Huber
8645b55017 fsl_sdhci.c: Fix missing include error
Update #3525.
2018-09-27 07:28:30 +02:00
Sebastian Huber
6721f56bca fsl_sdhci.c: Import from FreeBSD
Update #3525.
2018-09-25 10:01:39 +02:00
Sebastian Huber
3489e3b639 Update to FreeBSD head 2018-09-17
Git mirror commit 6c2192b1ef8c50788c751f878552526800b1e319.

Update #3472.
2018-09-21 10:29:41 +02:00
Sebastian Huber
bcdce02d9b Update to FreeBSD head 2018-06-01
Git mirror commit fb63610a69b0eb7f69a201ba05c4c1a7a2739cf9.

Update #3472.
2018-09-21 10:29:41 +02:00
Sebastian Huber
2df56dbd60 Update to FreeBSD head 2018-04-01
Git mirror commit 8dfb1ccc26d1cea7e2529303003ff61f9f1784c4.

Update #3472.
2018-09-21 10:29:40 +02:00
Sebastian Huber
18fa92c2dc Update to FreeBSD head 2018-02-01
Git mirror commit d079ae0442af8fa3cfd6d7ede190d04e64a2c0d4.

Update #3472.
2018-09-21 10:29:39 +02:00
Sebastian Huber
bb80d9df8b Update to FreeBSD head 2017-12-01
Git mirror commit e724f51f811a4b2bd29447f8b85ab5c2f9b88266.

Update #3472.
2018-09-21 10:29:38 +02:00
Sebastian Huber
e4a8065910 Update to FreeBSD head 2017-10-01
Git mirror commit b2f0376b45428f13151d229c5ae9d4d8f74acbd1.

Update #3472.
2018-09-21 10:29:37 +02:00
Sebastian Huber
c37f9fba70 Update to FreeBSD head 2017-08-01
Git mirror commit f5002f5e5f78cae9f0269d812dc0aedb0339312c.

Update #3472.
2018-09-21 10:29:37 +02:00
Sebastian Huber
de261e0404 Update to FreeBSD head 2017-06-01
Git mirror commit dfb26efac4ce9101dda240e94d9ab53f80a9e131.

Update #3472.
2018-09-21 10:29:36 +02:00
Sebastian Huber
c7e162abd8 mmc: Optimize mmc_wait_for_req()
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.
2018-04-26 15:19:42 +02:00
Sebastian Huber
2275776d21 dwc_otg: Default to USB host mode
In case no "dr_mode" property is present in the device tree, then
default to USB host mode.  This is necessary to support the Cyclone V
SoC Development Kit.
2018-02-06 09:56:35 +01:00