1. 10 1月, 2011 5 次提交
    • M
      Blackfin: bf51x/bf52x: drop redundant "base" def/cdef header · 53ee5826
      Mike Frysinger 提交于
      The defBF512.h header exists only to include defBF51x_base.h, and it is
      the only place where defBF51x_base.h is included.  So move the contents
      of the defBF51x_base.h header into the defBF512.h header.
      
      Same situation for the other def/cdef pairs.
      Signed-off-by: NMike Frysinger <vapier@gentoo.org>
      53ee5826
    • M
      Blackfin: clean up mach header includes · 1a5c2265
      Mike Frysinger 提交于
      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: NMike Frysinger <vapier@gentoo.org>
      1a5c2265
    • M
      4de2bf87
    • M
      Blackfin: standardize DMAC traffic control MMRs & MDMA MMRs · 9346dba5
      Mike Frysinger 提交于
      Use the same naming convention for DMA traffic MMRs (most were legacy
      anyways) so we can avoid useless ifdef trees.
      
      Same goes for MDMA names -- this actually allows us to undo a bunch of
      ifdef redirects that existed for this purpose alone.
      Signed-off-by: NMike Frysinger <vapier@gentoo.org>
      9346dba5
    • M
      Blackfin: bfin_serial.h: unify heavily duplicated serial code · b1524e29
      Mike Frysinger 提交于
      Each Blackfin port has been duplicating UART structures and defines when
      there really is no need for it.  So start a new bfin_serial.h header to
      unify all these pieces and give ourselves a fresh start.
      Signed-off-by: NMike Frysinger <vapier@gentoo.org>
      b1524e29
  2. 23 10月, 2010 1 次提交
  3. 22 10月, 2010 1 次提交
  4. 07 10月, 2010 2 次提交
    • D
      Blackfin: Rename IRQ flags handling functions · 3b139cdb
      David Howells 提交于
      Rename h/w IRQ flags handling functions to be in line with what is expected for
      the irq renaming patch.  This renames local_*_hw() to hard_local_*() using the
      following perl command:
      
      	perl -pi -e 's/local_irq_(restore|enable|disable)_hw/hard_local_irq_\1/ or s/local_irq_save_hw([_a-z]*)[(]flags[)]/flags = hard_local_irq_save\1()/' `find arch/blackfin/ -name "*.[ch]"`
      
      and then fixing up asm/irqflags.h manually.
      
      Additionally, arch/hard_local_save_flags() and arch/hard_local_irq_save() both
      return the flags rather than passing it through the argument list.
      Signed-off-by: NDavid Howells <dhowells@redhat.com>
      3b139cdb
    • D
      Blackfin: Split PLL code from mach-specific cdef headers · 3dcc1e7f
      David Howells 提交于
      Split the PLL control code from the Blackfin machine-specific cdef headers so
      that the irqflags functions can be renamed without incurring a header loop.
      Signed-off-by: NDavid Howells <dhowells@redhat.com>
      3dcc1e7f
  5. 28 8月, 2010 1 次提交
  6. 07 8月, 2010 9 次提交
  7. 09 3月, 2010 3 次提交
  8. 15 12月, 2009 8 次提交
  9. 04 12月, 2009 1 次提交
  10. 25 11月, 2009 1 次提交
  11. 07 10月, 2009 2 次提交
  12. 17 9月, 2009 2 次提交
  13. 21 7月, 2009 1 次提交
  14. 16 7月, 2009 2 次提交
  15. 23 6月, 2009 1 次提交
    • M
      Blackfin: unify memory map headers · fa48f84a
      Mike Frysinger 提交于
      Many aspects of the Blackfin memory map is exactly the same across all
      variants.  Rather than copy and paste all of these duplicated values in
      each header, unify all of these into the common Blackfin memory map header
      file.  In the process, push down BF561 SMP specific stuff to the BF561
      specific header to keep the noise down.
      Signed-off-by: NMike Frysinger <vapier@gentoo.org>
      fa48f84a