1. 31 12月, 2008 1 次提交
    • A
      powerpc/83xx: Fix sparse warnings in board files · 81b36a0b
      Anton Vorontsov 提交于
      This patch fixes following sparse warnings:
      
        CHECK   83xx/usb.c
      83xx/usb.c:205:5: warning: symbol 'mpc837x_usb_cfg' was not declared. Should it be static?
        CHECK   83xx/mpc831x_rdb.c
      83xx/mpc831x_rdb.c:45:13: warning: symbol 'mpc831x_rdb_init_IRQ' was not declared. Should it be static?
        CHECK   83xx/mpc832x_rdb.c
      83xx/mpc832x_rdb.c:133:13: warning: symbol 'mpc832x_rdb_init_IRQ' was not declared. Should it be static?
        CHECK   83xx/mpc832x_mds.c
      83xx/mpc832x_mds.c:68:12: warning: Using plain integer as NULL pointer
      83xx/mpc832x_mds.c:72:13: warning: incorrect type in assignment (different address spaces)
      83xx/mpc832x_mds.c:72:13:    expected unsigned char [usertype] *static [toplevel] bcsr_regs
      83xx/mpc832x_mds.c:72:13:    got void [noderef] <asn:2>*
      83xx/mpc832x_mds.c:99:11: warning: incorrect type in argument 1 (different address spaces)
      83xx/mpc832x_mds.c:99:11:    expected void volatile [noderef] <asn:2>*addr
      83xx/mpc832x_mds.c:99:11:    got unsigned char [usertype] *static [toplevel] bcsr_regs
      Signed-off-by: NAnton Vorontsov <avorontsov@ru.mvista.com>
      Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
      81b36a0b
  2. 17 7月, 2008 2 次提交
  3. 17 4月, 2008 1 次提交
    • A
      [POWERPC] 83xx: mpc8315 - fix USB UTMI Host setup · 1a9ebc0c
      Anton Vorontsov 提交于
      Currently USB Host isn't functional on the MPC8315E boards, for two
      reasons as described below.
      
      MPC8315 Reference Manual says:
      "The USB DR unit must have the same clock ratio as the encryption core
      unit, unless one of them has its clock disabled."
      
      The encryption core also drives I2C clock, so it is enabled and is equal
      to 01. That means USBDRCM should be 01 here.
      
      Plus, according to MPC8315E-RDB schematics, USB unit consumes CLK_IN
      clock from the 24.00MHz oscillator, which means we must adjust REFSEL
      bits as well.
      
      p.s.
      Idially we should rework whole 83xx/usb.c code, in two steps:
      1. Move SCCR code to the U-Boot;
      2. Implement fsl,usb-clock property in the device tree, so usb.c could
         decide what clock exactly to use on per-board basis.
      
      Though, today we're not in a hurry since there is just one 8315e board
      out there.
      Signed-off-by: NAnton Vorontsov <avorontsov@ru.mvista.com>
      Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
      1a9ebc0c
  4. 06 2月, 2008 1 次提交
  5. 24 1月, 2008 1 次提交
  6. 14 9月, 2007 1 次提交
  7. 10 7月, 2007 1 次提交
  8. 29 6月, 2007 2 次提交
  9. 08 2月, 2007 1 次提交
  10. 04 12月, 2006 1 次提交
    • B
      [POWERPC] Make pci_read_irq_line the default · f90bb153
      Benjamin Herrenschmidt 提交于
      This patch reworks the way IRQs are fixed up on PCI for arch powerpc.
      
      It makes pci_read_irq_line() called by default in the PCI code for
      devices that are probed, and add an optional per-device fixup in
      ppc_md for platforms that really need to correct what they obtain
      from pci_read_irq_line().
      
      It also removes ppc_md.irq_bus_setup which was only used by pSeries
      and should not be needed anymore.
      
      I've also removed the pSeries s7a workaround as it can't work with
      the current interrupt code anyway. I'm trying to get one of these
      machines working so I can test a proper fix for that problem.
      
      I also haven't updated the old-style fixup code from 85xx_cds.c
      because it's actually buggy :) It assigns pci_dev->irq hard coded
      numbers which is no good with the new IRQ mapping code. It should
      at least use irq_create_mapping(NULL, hard_coded_number); and possibly
      also set_irq_type() to set them as level low.
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      f90bb153
  11. 30 8月, 2006 1 次提交
  12. 07 2月, 2006 2 次提交
  13. 14 1月, 2006 1 次提交