2008-02-01 07:37:56 +00:00
|
|
|
#
|
|
|
|
# Makefile for the m68knommu kernel.
|
|
|
|
#
|
|
|
|
|
|
|
|
#
|
|
|
|
# If you want to play with the HW breakpoints then you will
|
|
|
|
# need to add define this, which will give you a stack backtrace
|
|
|
|
# on the console port whenever a DBG interrupt occurs. You have to
|
|
|
|
# set up you HW breakpoints to trigger a DBG interrupt:
|
|
|
|
#
|
2010-09-23 06:50:45 +00:00
|
|
|
# ccflags-y := -DTRAP_DBG_INTERRUPT
|
|
|
|
# asflags-y := -DTRAP_DBG_INTERRUPT
|
2008-02-01 07:37:56 +00:00
|
|
|
#
|
|
|
|
|
2008-02-15 03:31:26 +00:00
|
|
|
asflags-$(CONFIG_FULLDEBUG) := -DDEBUGGER_COMPATIBLE_CACHE=1
|
2008-02-01 07:37:56 +00:00
|
|
|
|
2011-12-23 15:17:10 +00:00
|
|
|
obj-$(CONFIG_COLDFIRE) += cache.o clk.o device.o dma.o entry.o vectors.o
|
2012-04-17 05:21:31 +00:00
|
|
|
obj-$(CONFIG_M5206) += m5206.o timers.o intc.o reset.o
|
|
|
|
obj-$(CONFIG_M5206e) += m5206.o timers.o intc.o reset.o
|
2012-04-17 05:25:44 +00:00
|
|
|
obj-$(CONFIG_M520x) += m520x.o pit.o intc-simr.o reset.o
|
2012-04-17 05:29:34 +00:00
|
|
|
obj-$(CONFIG_M523x) += m523x.o pit.o dma_timer.o intc-2.o reset.o
|
2012-04-17 05:31:48 +00:00
|
|
|
obj-$(CONFIG_M5249) += m5249.o timers.o intc.o intc-5249.o reset.o
|
2012-06-05 15:23:08 +00:00
|
|
|
obj-$(CONFIG_M525x) += m525x.o timers.o intc.o intc-525x.o reset.o
|
2012-04-17 05:33:57 +00:00
|
|
|
obj-$(CONFIG_M527x) += m527x.o pit.o intc-2.o reset.o
|
2012-04-17 05:33:13 +00:00
|
|
|
obj-$(CONFIG_M5272) += m5272.o intc-5272.o timers.o
|
2012-04-17 05:35:01 +00:00
|
|
|
obj-$(CONFIG_M528x) += m528x.o pit.o intc-2.o reset.o
|
2012-04-17 05:36:11 +00:00
|
|
|
obj-$(CONFIG_M5307) += m5307.o timers.o intc.o reset.o
|
2012-11-05 05:05:53 +00:00
|
|
|
obj-$(CONFIG_M53xx) += m53xx.o timers.o intc-simr.o reset.o
|
2012-04-17 05:37:05 +00:00
|
|
|
obj-$(CONFIG_M5407) += m5407.o timers.o intc.o reset.o
|
2012-04-17 05:41:02 +00:00
|
|
|
obj-$(CONFIG_M54xx) += m54xx.o sltimers.o intc-2.o
|
2012-06-06 21:28:31 +00:00
|
|
|
obj-$(CONFIG_M5441x) += m5441x.o pit.o intc-simr.o reset.o
|
2008-02-01 07:37:56 +00:00
|
|
|
|
2012-04-17 05:36:11 +00:00
|
|
|
obj-$(CONFIG_NETtel) += nettel.o
|
|
|
|
obj-$(CONFIG_CLEOPATRA) += nettel.o
|
2012-04-17 05:41:02 +00:00
|
|
|
obj-$(CONFIG_FIREBEE) += firebee.o
|
2012-06-25 01:11:49 +00:00
|
|
|
obj-$(CONFIG_MCF8390) += mcf8390.o
|
2012-04-17 05:36:11 +00:00
|
|
|
|
2012-05-29 06:11:42 +00:00
|
|
|
obj-$(CONFIG_PCI) += pci.o
|
|
|
|
|
m68knommu: refactor Coldfire GPIO not to require GPIOLIB, eliminate mcf_gpio_chips.
If we're not connecting external GPIO extenders via i2c or spi or whatever, we
probably don't need GPIOLIB. If we provide an alternate implementation of
the GPIOLIB functions to use when only on-chip GPIO is needed, we can change
ARCH_REQUIRE_GPIOLIB to ARCH_WANTS_OPTIONAL_GPIOLIB so that GPIOLIB becomes
optional.
The downside is that in the GPIOLIB=n case, we lose all error checking done by
gpiolib, ie multiply allocating the gpio, free'ing gpio etc., so that the
only checking that can be done is if we reference a gpio on an external part.
Targets that need the extra error checking can still select GPIOLIB=y.
For the case where GPIOLIB=y, we can simplify the table of gpio chips to use a
single chip, eliminating the tables of chips in the 5xxx.c files. The
original motivation for the definition of multiple chips was to match the way
many of the Coldfire variants defined their gpio as a spare array in memory.
However, all this really gains us is some error checking when we request a
gpio, gpiolib can check that it doesn't fall in one of the holes. If thats
important, I think we can still come up with a better way of accomplishing
that.
Also in this patch is some general cleanup and reorganizing of the gpio header
files (I'm sure I must have had a reason why I sometimes used a prefix of
mcf_gpio and other times mcfgpio but for the life of me I can't think of it
now).
Signed-off-by: Steven King <sfking@fdwdc.com>
Signed-off-by: Greg Ungerer <gerg@uclinux.org>
2012-05-21 20:10:19 +00:00
|
|
|
obj-y += gpio.o
|
2008-02-01 07:37:56 +00:00
|
|
|
extra-y := head.o
|