1. 17 Jan, 2008 1 commit
  2. 12 Jan, 2008 2 commits
  3. 11 Jan, 2008 1 commit
  4. 09 Jan, 2008 5 commits
  5. 08 Jan, 2008 2 commits
  6. 04 Jan, 2008 1 commit
    • Lawrence R. Johnson's avatar
      ppc4xx: Add functionality to GPIO support · 5ab884b2
      Lawrence R. Johnson authored
      
      
      This patch makes two additions to GPIO support:
      
      First, it adds function gpio_read_in_bit() to read the a bit from the
      GPIO Input Register (GPIOx_IR) in the same way that function
      gpio_read_out_bit() reads a bit from the GPIO Output Register
      (GPIOx_OR).
      
      Second, it modifies function gpio_set_chip_configuration() to provide
      an additional option for configuring the GPIO from the
      "CFG_4xx_GPIO_TABLE".
      
      According to the 440EPx User's Manual, when an alternate output is used,
      the three-state control is configured in one of two ways, depending on
      the particular output.  The first option is to select the corresponding
      alternate three-state control in the GPIOx_TRSH/L registers.  The second
      option is to select the GPIO Three-State Control Register (GPIOx_TCR) in
      the GPIOx_TRSH/L registers, and set the corresponding bit in the
      GPIOx_TCR register to enable the output.  For example, the Manual
      specifies configuring the GPIO00 Alternate 1 Signal (PreAddr07) to use
      the alternate three-state control (first option), and specifies
      configuring the GPIO32 Alternate 1 Signal (USB2OM0) with the output
      enabled in the GPIOx_TCR register (second option).
      
      Currently, gpio_set_chip_configuration() configures all alternate signal
      outputs to use the first option.  This patch allow the second option to
      be selected by setting the "out_val" element in the table entry to
      "GPIO_OUT_1".  The first option is used when the "out_val" element is
      set to "GPIO_OUT_0".  Because "out_val" is not currently used when an
      alternate signal is selected, and because all current GPIO tables set
      "out_val" to "GPIO_OUT_0" for all alternate signals, this patch should
      not change any existing configurations.
      Signed-off-by: default avatarLarry Johnson <lrj@acm.org>
      5ab884b2
  7. 13 Dec, 2007 2 commits
    • Haavard Skinnemoen's avatar
      Introduce map_physmem() and unmap_physmem() · 4d7d6936
      Haavard Skinnemoen authored
      
      
      map_physmem() returns a virtual address which can be used to access a
      given physical address without involving the cache. unmap_physmem()
      should be called when the virtual address returned by map_physmem() is
      no longer needed.
      
      This patch adds a stub implementation which simply returns the
      physical address cast to a uchar * for all architectures except AVR32,
      which converts the physical address to an uncached virtual mapping.
      unmap_physmem() is a no-op on all architectures, but if any
      architecture needs to do such mappings through the TLB, this is the
      hook where those TLB entries can be invalidated.
      Signed-off-by: default avatarHaavard Skinnemoen <hskinnemoen@atmel.com>
      4d7d6936
    • Haavard Skinnemoen's avatar
      Implement __raw_{read,write}[bwl] on all architectures · 812711ce
      Haavard Skinnemoen authored
      
      
      This adds implementations of __raw_read[bwl] and __raw_write[bwl] to
      m68k, ppc, nios and nios2. The m68k and ppc implementations were taken
      from Linux.
      Signed-off-by: default avatarHaavard Skinnemoen <hskinnemoen@atmel.com>
      812711ce
  8. 12 Dec, 2007 5 commits
  9. 16 Nov, 2007 1 commit
  10. 15 Nov, 2007 1 commit
  11. 31 Oct, 2007 12 commits
  12. 17 Oct, 2007 1 commit
  13. 28 Aug, 2007 1 commit
  14. 21 Aug, 2007 1 commit
  15. 16 Aug, 2007 1 commit
    • Andy Fleming's avatar
      Fix numerous bugs in the 8568 UEC support · b96c83d4
      Andy Fleming authored
      
      
      Actually, fixed a large bug in the UEC for *all* platforms.
      How did this ever work?
      
      uec_init() did not follow the spec for eth_init(), and returned
      0 on success.  Switch it to return the link like tsec_init()
      (and 0 on error)
      
      The immap for the 8568 was defined based on MPC8568, rather than
      CONFIG_MPC8568
      
      CONFIG_QE was off
      
      CONFIG_ETHPRIME was set to "Freescale GETH".  Now is "FSL UEC0"
      
      Fixed a comment about the ranges for CONFIG_ETHPRIME if TSEC_ENET is
      enabled
      Signed-off-by: default avatarAndy Fleming <afleming@freescale.com>
      b96c83d4
  16. 14 Aug, 2007 3 commits