1. 27 9月, 2012 19 次提交
    • G
      m68knommu: move ColdFire slice timer address defiens to 54xx header · f2f41c68
      Greg Ungerer 提交于
      Move the base address defines of the ColdFire 54xx CPU slice timers into the
      54xx specific header (m54xxsim.h). They are CPU specific, and belong with the
      CPU specific defines. Also make them relative to the MBAR peripheral region,
      making the define the absolute address.
      Signed-off-by: NGreg Ungerer <gerg@uclinux.org>
      f2f41c68
    • G
      m68knommu: use read/write IO access functions in ColdFire m532x setup code · 6d8a1393
      Greg Ungerer 提交于
      Get rid of the use of local IO access macros and switch to using the standard
      read*/write* family of access functions for the ColdFire m532x setup code.
      Signed-off-by: NGreg Ungerer <gerg@uclinux.org>
      6d8a1393
    • G
      m68knommu: modify ColdFire 532x GPIO register definitions to be consistent · e4c2b9be
      Greg Ungerer 提交于
      The ColdFire 532x CPU register definitions for the multi-function setup
      pins are inconsistently defined compared with other ColdFire parts. Modify
      the register defintions to be just the addresses, not pointers. This also
      fixes the erroneous use in one case of using these values in the UART setup
      code for the 532x.
      Signed-off-by: NGreg Ungerer <gerg@uclinux.org>
      e4c2b9be
    • G
      m68knommu: remove a lot of unsed definitions for 532x ColdFire · 23bcdacd
      Greg Ungerer 提交于
      There are a lot of unused and uneccessary definitions in the header to
      support the ColdFire 532x CPU family. Remove the junk.
      Signed-off-by: NGreg Ungerer <gerg@uclinux.org>
      23bcdacd
    • G
      m68knommu: use definitions for the ColdFire 528x FEC multi-function pins · a91f7415
      Greg Ungerer 提交于
      Currently the setup code for the FEC multi-function pins on the ColdFire 528x
      has the addresses hard coded in the code. Use the register defines that
      already exist for this.
      Signed-off-by: NGreg Ungerer <gerg@uclinux.org>
      a91f7415
    • G
      m68knommu: remove address offsets relative to IPSBAR for ColdFire 527x · f821e349
      Greg Ungerer 提交于
      Remove the last address definitions relative to the IPSBAR peripheral region
      for the ColdFire 527x family. This involved cleaning up some magic numbers
      used in the code part, and making them proper register definitions in the 527x
      specific header.
      
      This is part of the process of cleaning up the ColdFire register definitions
      to make them consistently use absolute addresses for the primary registers.
      This will reduce the occasional bugs caused by inconsistent definition of
      the register addresses.
      Signed-off-by: NGreg Ungerer <gerg@uclinux.org>
      f821e349
    • G
      m68knommu: remove unused ColdFire 5282 register definitions · 8a415c4b
      Greg Ungerer 提交于
      There is a bunch of old unused and ugly register definitions in the ColdFire
      5282 header. Remove them.
      Signed-off-by: NGreg Ungerer <gerg@uclinux.org>
      8a415c4b
    • G
      m68knommu: fix wrong register offsets used for ColdFire 5272 multi-function pins · 4fb62ede
      Greg Ungerer 提交于
      The registers used to configure and set the multifunction pins on the 5272
      ColdFire are defined as absolute addresses. So the use of them does not need
      to be offset relative to the peripheral region address.
      
      Fix two cases of incorrect usage of these addresses. Both affect UART
      initialization, one in the common UART pin setup code, the other in the
      NETtel board specific UART signal handling.
      Signed-off-by: NGreg Ungerer <gerg@uclinux.org>
      4fb62ede
    • G
      m68knommu: make ColdFire 5249 MBAR2 register definitions absolute addresses · 041a89a4
      Greg Ungerer 提交于
      Make the ColdFire 5249 MBAR peripheral register definitions absolute
      addresses, instead of offsets into the region.
      
      The various ColdFire parts use different methods to address the internal
      registers, some are absolute, some are relative to peripheral regions
      which can be mapped at different address ranges (such as the MBAR and IPSBAR
      registers). We don't want to deal with this in the code when we are
      accessing these registers, so make all register definitions the absolute
      address - factoring out whether it is an offset into a peripheral region.
      
      This makes them all consistently defined, and reduces the occasional bugs
      caused by inconsistent definition of the register addresses.
      Signed-off-by: NGreg Ungerer <gerg@uclinux.org>
      041a89a4
    • G
      m68knommu: make remaining ColdFire 5272 register definitions absolute addresses · d72a5abb
      Greg Ungerer 提交于
      Make the remaining definitions of the 5272 ColdFire registers absolute
      addresses. Currently some are relative to the MBAR peripheral region.
      
      The various ColdFire parts use different methods to address the internal
      registers, some are absolute, some are relative to peripheral regions
      which can be mapped at different address ranges (such as the MBAR and IPSBAR
      registers). We don't want to deal with this in the code when we are
      accessing these registers, so make all register definitions the absolute
      address - factoring out whether it is an offset into a peripheral region.
      
      This makes them all consistently defined, and reduces the occasional bugs
      caused by inconsistent definition of the register addresses.
      Signed-off-by: NGreg Ungerer <gerg@uclinux.org>
      d72a5abb
    • G
      m68knommu: make ColdFire Park and Assignment register definitions absolute addresses · 35142b91
      Greg Ungerer 提交于
      Make all definitions of the ColdFire MPARK and IRQ Assignment registers
      absolute addresses. Currently some are relative to the MBAR peripheral
      region.
      
      The various ColdFire parts use different methods to address the internal
      registers, some are absolute, some are relative to peripheral regions
      which can be mapped at different address ranges (such as the MBAR and IPSBAR
      registers). We don't want to deal with this in the code when we are
      accessing these registers, so make all register definitions the absolute
      address - factoring out whether it is an offset into a peripheral region.
      
      This makes them all consistently defined, and reduces the occasional bugs
      caused by inconsistent definition of the register addresses.
      Signed-off-by: NGreg Ungerer <gerg@uclinux.org>
      35142b91
    • G
      m68knommu: make ColdFire Chip Select register definitions absolute addresses · 1419ea3b
      Greg Ungerer 提交于
      Make all definitions of the ColdFire Chip Select registers absolute addresses.
      Currently some are relative to the MBAR peripheral region.
      
      The various ColdFire parts use different methods to address the internal
      registers, some are absolute, some are relative to peripheral regions
      which can be mapped at different address ranges (such as the MBAR and IPSBAR
      registers). We don't want to deal with this in the code when we are
      accessing these registers, so make all register definitions the absolute
      address - factoring out whether it is an offset into a peripheral region.
      
      This makes them all consistently defined, and reduces the occasional bugs
      caused by inconsistent definition of the register addresses.
      Signed-off-by: NGreg Ungerer <gerg@uclinux.org>
      1419ea3b
    • G
      m68knommu: make ColdFire Interrupt Source register definitions absolute addresses · c986a3d5
      Greg Ungerer 提交于
      Make all definitions of the ColdFire Interrupt Source registers absolute
      addresses. Currently some are relative to the MBAR peripheral region.
      
      The various ColdFire parts use different methods to address the internal
      registers, some are absolute, some are relative to peripheral regions
      which can be mapped at different address ranges (such as the MBAR and IPSBAR
      registers). We don't want to deal with this in the code when we are
      accessing these registers, so make all register definitions the absolute
      address - factoring out whether it is an offset into a peripheral region.
      
      This makes them all consistently defined, and reduces the occasional bugs
      caused by inconsistent definition of the register addresses.
      Signed-off-by: NGreg Ungerer <gerg@uclinux.org>
      c986a3d5
    • G
      m68knommu: make ColdFire Pin Assignment register definitions absolute addresses · a45f56b2
      Greg Ungerer 提交于
      Make all definitions of the ColdFire Pin Assignment registers absolute
      addresses. Currently some are relative to the MBAR peripheral region.
      
      The various ColdFire parts use different methods to address the internal
      registers, some are absolute, some are relative to peripheral regions
      which can be mapped at different address ranges (such as the MBAR and IPSBAR
      registers). We don't want to deal with this in the code when we are
      accessing these registers, so make all register definitions the absolute
      address - factoring out whether it is an offset into a peripheral region.
      
      This makes them all consistently defined, and reduces the occasional bugs
      caused by inconsistent definition of the register addresses.
      Signed-off-by: NGreg Ungerer <gerg@uclinux.org>
      a45f56b2
    • G
      m68knommu: make ColdFire watchdog register definitions absolute addresses · 660b73e3
      Greg Ungerer 提交于
      Make all definitions of the ColdFire Software watchdog registers absolute
      addresses. Currently some are relative to the MBAR peripheral region.
      
      The various ColdFire parts use different methods to address the internal
      registers, some are absolute, some are relative to peripheral regions
      which can be mapped at different address ranges (such as the MBAR and IPSBAR
      registers). We don't want to deal with this in the code when we are
      accessing these registers, so make all register definitions the absolute
      address - factoring out whether it is an offset into a peripheral region.
      
      This makes them all consistently defined, and reduces the occasional bugs
      caused by inconsistent definition of the register addresses.
      Signed-off-by: NGreg Ungerer <gerg@uclinux.org>
      660b73e3
    • G
      m68knommu: make ColdFire SYPCR and RSR register definitions absolute addresses · e1e362dc
      Greg Ungerer 提交于
      Make all definitions of the ColdFire Reset and System registers absolute
      addresses. Currently some are relative to the MBAR peripheral region.
      
      The various ColdFire parts use different methods to address the internal
      registers, some are absolute, some are relative to peripheral regions
      which can be mapped at different address ranges (such as the MBAR and IPSBAR
      registers). We don't want to deal with this in the code when we are
      accessing these registers, so make all register definitions the abolsute
      address - factoring out whether it is an offset into a peripheral region.
      
      This makes them all consistently defined, and reduces the occasional bugs
      caused by inconsistent definition of the register addresses.
      Signed-off-by: NGreg Ungerer <gerg@uclinux.org>
      e1e362dc
    • G
      m68knommu: make ColdFire IMR and IPR register definitions absolute addresses · 6a3a786d
      Greg Ungerer 提交于
      Make all definitions of the ColdFire Interrupt Mask and Pending registers
      absolute addresses. Currently some are relative to the MBAR peripheral region.
      
      The various ColdFire parts use different methods to address the internal
      registers, some are absolute, some are relative to peripheral regions
      which can be mapped at different address ranges (such as the MBAR and IPSBAR
      registers). We don't want to deal with this in the code when we are
      accessing these registers, so make all register definitions the absolute
      address - factoring out whether it is an offset into a peripheral region.
      
      This makes them all consistently defined, and reduces the occasional bugs
      caused by inconsistent definition of the register addresses.
      Signed-off-by: NGreg Ungerer <gerg@uclinux.org>
      6a3a786d
    • P
      m68knommu: use "r", not "i" constraint in cacheflush asm's · 300b9ff6
      Philippe De Muyter 提交于
      Let the compiler choose which register to use in the cache flushing
      asm statements, instead of imposing %d0.
      
      Additionally, fix two typo's.
      Signed-off-by: NPhilippe De Muyter <phdm@macqel.be>
      Signed-off-by: NGreg Ungerer <gerg@uclinux.org>
      300b9ff6
    • P
      m68k: drop unused parts of 68VZ328 Makefile · 0c0e6db8
      Paul Bolle 提交于
      DRAGEN2 should obviously be CONFIG_DRAGEN2, but the screen.h entry it
      triggers only references files that are nowhere to be found in the
      current tree. Besides, nothing uses screen.h. So just drop all that.
      Signed-off-by: NPaul Bolle <pebolle@tiscali.nl>
      Signed-off-by: NGreg Ungerer <gerg@uclinux.org>
      0c0e6db8
  2. 16 9月, 2012 1 次提交
  3. 17 8月, 2012 2 次提交
  4. 03 8月, 2012 1 次提交
  5. 31 7月, 2012 1 次提交
  6. 22 7月, 2012 1 次提交
    • G
      m68k/apollo: Rename "timer" to "apollo_timer" · 1525e06e
      Geert Uytterhoeven 提交于
      In file included from include/linux/kgdb.h:17,
                       from include/linux/fb.h:8,
                       from drivers/video/dnfb.c:15:
      include/linux/serial_8250.h:71: error: expected identifier or ‘(’ before numeric constant
      include/linux/serial_8250.h:72: error: expected ‘;’ before ‘struct’
      make[1]: *** [drivers/video/dnfb.o] Error 1
      
      This is caused by
      
          #define timer (IO_BASE + timer_physaddr)
      
      in <asm/apollohw.h>, which conflicts with the new "timer" struct member in
      <linux/serial_8250.h>.
      
      Rename "timer" to "apollo_timer", as it's a way too generic name for a
      global #define.
      Signed-off-by: NGeert Uytterhoeven <geert@linux-m68k.org>
      --
      http://kisskb.ellerman.id.au/kisskb/buildresult/6739606/
      1525e06e
  7. 20 7月, 2012 1 次提交
  8. 17 7月, 2012 7 次提交
  9. 16 7月, 2012 7 次提交