1
linux/arch/blackfin/mach-bf561/include/mach
Mike Frysinger 1a5c226528 Blackfin: clean up mach header includes
The main asm/blackfin.h header will pull in mach/blackfin.h to get
all the fun Blackfin defines.  So having any of the sub-mach headers
trying to include asm/blackfin.h makes no sense -- punt it.

The mach/blackfin.h header takes care of including the part-specific
def headers which in turn will include any other needed def file.
Similarly, it takes care of pulling in the part-specific cdef header.
So move this logic out of the blackfin.h when necessary.

Further, make sure the cdef headers do not waste time including the
def headers again.

Since all parts need the common def/cdef headers, move this logic
out of the part-specific headers and into the mach/blackfin.h file.

Finally, we need to split the BF539 def header since the BF538 does
not have MXVR and we don't want to expose those MMRs.

So now all parts should have the same behavior:
	mach/blackfin.h
		asm/def_LPBlackfin.h
		part-specific def.h
		if ! asm
			asm/cdef_LPBlackfin.h
			part-specific cdef.h
And the sub def/cdef headers only tail into what they need.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2011-01-10 07:18:08 -05:00
..
anomaly.h Blackfin: update anomaly lists to latest public info 2010-08-06 12:55:46 -04:00
bf561.h
bfin_serial_5xx.h Blackfin: bfin_serial.h: unify heavily duplicated serial code 2011-01-10 07:18:02 -05:00
bfin_serial.h Blackfin: bfin_serial.h: unify heavily duplicated serial code 2011-01-10 07:18:02 -05:00
blackfin.h Blackfin: clean up mach header includes 2011-01-10 07:18:08 -05:00
cdefBF561.h Blackfin: clean up mach header includes 2011-01-10 07:18:08 -05:00
defBF561.h Blackfin: clean up mach header includes 2011-01-10 07:18:08 -05:00
dma.h
gpio.h Blackfin: push gpio (port) defines into common headers 2011-01-10 07:18:06 -05:00
irq.h Blackfin: increase NR_IRQS beyond NR on-chip IRQs 2010-03-09 00:30:49 -05:00
mem_map.h
pll.h Blackfin: Rename IRQ flags handling functions 2010-10-07 14:08:52 +01:00
portmux.h Blackfin: gpio/portmux: clean up whitespace corruption 2010-08-06 12:55:51 -04:00
smp.h Blackfin: SMP: make core timers per-cpu clock events for HRT 2010-03-09 00:30:48 -05:00