1. 12 Jun, 2009 4 commits
    • Stefan Roese's avatar
      mpc512x: Fix problem with I2C access before relocation · c60dc852
      Stefan Roese authored
      This is needed for the upcoming esd MECP5123 board port which uses
      I2C EEPROM for environment storage.
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      Cc: Reinhard Arlt <reinhard.arlt@esd-electronics.com>
      Acked-by: Heiko Schocher<hs@denx.de>
      c60dc852
    • Wolfgang Denk's avatar
      MPC512x: remove include/mpc512x.h · 3b74e7ec
      Wolfgang Denk authored
      Move needed definitions (register descriptions etc.) from
      include/mpc512x.h  into  include/asm-ppc/immap_512x.h.
      
      Instead of using a #define'd register offset, use a function that
      provides the PATA controller's base address.
      
      All the rest of include/mpc512x.h are register offset definitions
      which can be eliminated by proper use of C structures.
      
      There are only a few register offsets remaining that are needed in
      cpu/mpc512x/start.S; for these we provide cpu/mpc512x/asm-offsets.h
      which is intended as a temporary workaround only. In a later patch
      this file will be removed, too, and then auto-generated from the
      respective C structs.
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      Cc: John Rigby <jcrigby@gmail.com>
      3b74e7ec
    • Wolfgang Denk's avatar
      MPC512x: use I/O accessors instead of pointer accesses · 843efb11
      Wolfgang Denk authored
      This commit changes the MPC512x code to use I/O accessor calls (i.e.
      out_*() and in_*()) instead of using deprecated pointer accesses.
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      Cc: John Rigby <jcrigby@gmail.com>
      843efb11
    • Peter Tyser's avatar
      i2c: Create common default i2c_[set|get]_bus_speed() functions · 655b34a7
      Peter Tyser authored
      New default, weak i2c_get_bus_speed() and i2c_set_bus_speed() functions
      replace a number of architecture-specific implementations.
      
      Also, providing default functions will allow all boards to enable
      CONFIG_I2C_CMD_TREE.  This was previously not possible since the
      tree-form of the i2c command provides the ability to display and modify
      the i2c bus speed which requires i2c_[set|get]_bus_speed() to be
      present.
      Signed-off-by: default avatarPeter Tyser <ptyser@xes-inc.com>
      655b34a7
  2. 15 Dec, 2008 1 commit
  3. 18 Oct, 2008 1 commit
  4. 12 Jan, 2008 1 commit
  5. 27 Jul, 2007 1 commit
  6. 31 Mar, 2006 1 commit
  7. 13 Oct, 2005 1 commit
  8. 28 Oct, 2004 1 commit