1. 08 Oct, 2007 5 commits
    • Peter Korsgaard's avatar
      [POWERPC] spi: mode should be "cpu-qe" instead of "qe" · f023dc76
      Peter Korsgaard authored
      
      
      Mode should be "cpu-qe" for QE in CPU mode. "qe" should be reserved
      for native QE mode.
      Signed-off-by: default avatarPeter Korsgaard <jacmet@sunsite.dk>
      Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
      f023dc76
    • Peter Korsgaard's avatar
      [POWERPC] spi: Use fsl_spi instead of mpc83xx_spi · 33799e33
      Peter Korsgaard authored
      
      
      According to booting-without-of.txt, compatible should be "fsl_spi" and
      mode "cpu" or "qe" for the fsl SPI controllers.
      Signed-off-by: default avatarPeter Korsgaard <jacmet@sunsite.dk>
      Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
      33799e33
    • Timur Tabi's avatar
      [POWERPC] qe: miscellaneous code improvements and fixes to the QE library · 6b0b594b
      Timur Tabi authored
      
      
      This patch makes numerous miscellaneous code improvements to the QE library.
      
      1. Remove struct ucc_common and merge ucc_init_guemr() into ucc_set_type()
         (every caller of ucc_init_guemr() also calls ucc_set_type()).  Modify all
         callers of ucc_set_type() accordingly.
      
      2. Remove the unused enum ucc_pram_initial_offset.
      
      3. Refactor qe_setbrg(), also implement work-around for errata QE_General4.
      
      4. Several printk() calls were missing the terminating \n.
      
      5. Add __iomem where needed, and change u16 to __be16 and u32 to __be32 where
         appropriate.
      
      6. In ucc_slow_init() the RBASE and TBASE registers in the PRAM were programmed
         with the wrong value.
      
      7. Add the protocol type to struct us_info and updated ucc_slow_init() to
         use it, instead of always programming QE_CR_PROTOCOL_UNSPECIFIED.
      
      8. Rename ucc_slow_restart_x() to ucc_slow_restart_tx()
      
      9. Add several macros in qe.h (mostly for slow UCC support, but also to
         standardize some naming convention) and remove several unused macros.
      
      10. Update ucc_geth.c to use the new macros.
      
      11. Add ucc_slow_info.protocol to specify which QE_CR_PROTOCOL_xxx protcol
          to use when initializing the UCC in ucc_slow_init().
      
      12. Rename ucc_slow_pram.rfcr to rbmr and ucc_slow_pram.tfcr to tbmr, since
          these are the real names of the registers.
      
      13. Use the setbits, clrbits, and clrsetbits where appropriate.
      
      14. Refactor ucc_set_qe_mux_rxtx().
      
      15. Remove all instances of 'volatile'.
      
      16. Simplify get_cmxucr_reg();
      
      17. Replace qe_mux.cmxucrX with qe_mux.cmxucr[].
      
      18. Updated struct ucc_geth because struct ucc_fast is not padded any more.
      Signed-off-by: default avatarTimur Tabi <timur@freescale.com>
      Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
      6b0b594b
    • Kumar Gala's avatar
      [POWERPC] Update .gitignore for new vdso generated files · 60396807
      Kumar Gala authored
      
      
      We now generate vdso[32,64].so.dbg as part of the build so
      add them to .gitignore
      Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
      60396807
    • Kumar Gala's avatar
      [POWERPC] Fixup MPC8568 dts · 86a04d9c
      Kumar Gala authored
      
      
      The PCI nodes on the MPC8568 dts didn't get moved up to be sibilings of the
      SOC node when we did that clean up for some reason.  Fix that up and some
      minor whitespace and adjusting the size of the soc reg property.
      Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
      86a04d9c
  2. 04 Oct, 2007 22 commits
  3. 03 Oct, 2007 13 commits