#
# Makefile for the linux kernel.
#

#
#  <chip>_devices will contain code for stuff only on a 3500, it 
#  can contain code for different chip versions.  can be either 
#  ifdefed or perhaps the platform data can be used 
#
#  so the only bad thing is if something changes in one of the core file
#  (like the clock module in tapeout 2).  if I remember correctly, there
#  is some order dependancy here so need to keep the order and therefor
#  do the ifeq instead of just adding files to chip rev lines.  This should
#  be revisted and/or a second option is just define everything on an chip
#  rev line(not tried yet) OR we can just use ifdefs in the code(which is
#  probably fine in most cases depending on how extensive the differences
#  are
#
obj-$(CONFIG_ARCH_MERLIN) += qcc.o reset.o dma.o hmux.o ioctrl.o clock.o mmap.o

# and then just files that are specific the the chip type
obj-$(CONFIG_MERLIN_CHIPTYPE_MG3500) += board-mg3500.o mg3500_devices.o mg3500_ioctrl_macros.o mg3500_ioctrl_defs.o

