#
# Makefile for TILE drivers that don't belong elsewhere in the tree.
# Typically these are drivers that just present a simple char
# file_operations interface.
#
# For other Tilera-specific drivers, see:
#
#  drivers/net/tile/			network
#  drivers/watchdog/tile_wdt.c		hypervisor watchdog
#  drivers/char/hvc_tile.c		hypervisor console
#  drivers/mtd/devices/tile_srom.c	SROM MTD driver
#  drivers/rtc/rtc-tile.c		RTC driver
#  drivers/i2c/busses/i2c-tile.c	I2C driver
#

obj-$(CONFIG_TILE_HPI)		+= hpi.o
obj-$(CONFIG_TILE_SROM)		+= srom.o
obj-$(CONFIG_TILE_RSHIM)	+= rshim.o
obj-$(CONFIG_TILE_EEPROM)	+= eeprom.o
obj-$(CONFIG_TILE_MEMPROF)	+= memprof.o
obj-$(CONFIG_TILE_BME_MEM)	+= bme_mem.o
obj-$(CONFIG_TILE_SOFTUART)	+= softuart.o
obj-$(CONFIG_TILE_IORPC)	+= iorpc.o
obj-$(CONFIG_TILE_NETIO)	+= netio.o

obj-$(CONFIG_TILEPCI_ENDP) += \
  tilepci_endp.o tilepci_shared_code.o tilepci_direct_hv.o tilepci_barmem.o
CFLAGS_tilepci_endp.o = -DTILEPCI_ENDP
CFLAGS_tilepci_shared_code.o = -DTILEPCI_ENDP
CFLAGS_tilepci_direct_hv.o = -DTILEPCI_ENDP
CFLAGS_tilepci_barmem.o = -DTILEPCI_ENDP

obj-$(CONFIG_TILEPCI_HOST_SUBSET) += tilepci_host_subset.o

# This driver should be converted to ATA and moved to drivers/ata/.
obj-$(CONFIG_TILE_IDE_GPIO) += ide-gpio.o
