![Chris Metcalf](/assets/img/avatar_default.png)
This change adds support for accessing the USB shim from within the kernel. Note that this change by itself does not allow the kernel to act as a host or as a device; it merely exposes the built-in on-chip hardware to the kernel. The <arch/usb_host.h> and <arch/usb_host_def.h> headers are empty at the moment because the kernel does not require any types or definitions specific to the tilegx USB shim; the generic USB core code is all we need. The headers are left in as stubs so that we don't need to modify the hypervisor header (drv_usb_host_intf.h) from upstream. Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
29 lines
746 B
Plaintext
29 lines
746 B
Plaintext
# Support direct access to TILE-Gx hardware from user space, via the
|
|
# gxio library, or from kernel space, via kernel IORPC support.
|
|
config TILE_GXIO
|
|
bool
|
|
depends on TILEGX
|
|
|
|
# Support direct access to the common I/O DMA facility within the
|
|
# TILE-Gx mPIPE and Trio hardware from kernel space.
|
|
config TILE_GXIO_DMA
|
|
bool
|
|
select TILE_GXIO
|
|
|
|
# Support direct access to the TILE-Gx mPIPE hardware from kernel space.
|
|
config TILE_GXIO_MPIPE
|
|
bool
|
|
select TILE_GXIO
|
|
select TILE_GXIO_DMA
|
|
|
|
# Support direct access to the TILE-Gx TRIO hardware from kernel space.
|
|
config TILE_GXIO_TRIO
|
|
bool
|
|
select TILE_GXIO
|
|
select TILE_GXIO_DMA
|
|
|
|
# Support direct access to the TILE-Gx USB hardware from kernel space.
|
|
config TILE_GXIO_USB_HOST
|
|
bool
|
|
select TILE_GXIO
|