Mark Kettenis | 40dbf03 | 2021-10-23 16:58:01 +0200 | [diff] [blame] | 1 | # |
| 2 | # IOMMU devices |
| 3 | # |
| 4 | |
| 5 | menu "IOMMU device drivers" |
| 6 | |
| 7 | config IOMMU |
| 8 | bool "Enable Driver Model for IOMMU drivers" |
| 9 | depends on DM |
| 10 | help |
| 11 | Enable driver model for IOMMU devices. An IOMMU maps device |
| 12 | virtiual memory addresses to physical addresses. Devices |
| 13 | that sit behind an IOMMU can typically only access physical |
| 14 | memory if the IOMMU has been programmed to allow access to |
| 15 | that memory. |
| 16 | |
Mark Kettenis | 785cfde | 2021-10-23 16:58:05 +0200 | [diff] [blame] | 17 | config APPLE_DART |
| 18 | bool "Apple DART support" |
| 19 | depends on IOMMU && ARCH_APPLE |
| 20 | default y |
| 21 | help |
| 22 | Enable support for the DART on Apple SoCs. The DART is Apple's |
| 23 | IOMMU implementation. The driver performs the necessary |
| 24 | configuration to put the DART into bypass mode such that it can |
| 25 | be used transparently by U-Boot. |
| 26 | |
Caleb Connolly | 14b8ab2 | 2023-09-12 23:38:58 +0100 | [diff] [blame^] | 27 | config ARM_SMMU |
| 28 | bool "Arm SMMU support" |
| 29 | depends on IOMMU && ARM |
| 30 | help |
| 31 | Enable support for the Arm System MMU. It is used on some ARM SoCs |
| 32 | to provide IOMMU functionality for peripheral devices like USB |
| 33 | controllers. |
| 34 | |
| 35 | This driver expects the SMMU to have been initialized by a previous |
| 36 | boot stage, and only performs basic configuration to configure a |
| 37 | context bank for a stream. |
| 38 | |
Mark Kettenis | 40dbf03 | 2021-10-23 16:58:01 +0200 | [diff] [blame] | 39 | endmenu |