1
linux/arch/blackfin
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
..
boot Blackfin: add support for LZO compressed kernels 2010-08-06 12:55:53 -04:00
configs Blackfin: bf561-ezkit: add SMP defconfig 2011-01-10 07:18:07 -05:00
include Blackfin: push gpio (port) defines into common headers 2011-01-10 07:18:06 -05:00
kernel BKL: remove extraneous #include <smp_lock.h> 2010-11-17 08:59:32 -08:00
lib Blackfin: optimize strncpy a bit 2010-05-22 14:19:11 -04:00
mach-bf518 Blackfin: clean up mach header includes 2011-01-10 07:18:08 -05:00
mach-bf527 Blackfin: clean up mach header includes 2011-01-10 07:18:08 -05:00
mach-bf533 Blackfin: clean up mach header includes 2011-01-10 07:18:08 -05:00
mach-bf537 Blackfin: clean up mach header includes 2011-01-10 07:18:08 -05:00
mach-bf538 Blackfin: clean up mach header includes 2011-01-10 07:18:08 -05:00
mach-bf548 Blackfin: clean up mach header includes 2011-01-10 07:18:08 -05:00
mach-bf561 Blackfin: clean up mach header includes 2011-01-10 07:18:08 -05:00
mach-common Blackfin: drop unused irq_panic()/DEBUG_ICACHE_CHECK 2010-10-25 17:24:00 -04:00
mm Blackfin: merge kernel init memory back into main memory region 2010-10-22 04:02:01 -04:00
oprofile
ADI_BSD.txt
Kconfig Merge branch 'kconfig' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild-2.6 2010-10-28 16:16:39 -07:00
Kconfig.debug Blackfin: drop unused irq_panic()/DEBUG_ICACHE_CHECK 2010-10-25 17:24:00 -04:00
Makefile Blackfin: update sparse flags for latest upstream changes 2010-10-22 16:30:00 -04:00