1. 10 2月, 2009 1 次提交
  2. 07 2月, 2009 1 次提交
  3. 30 1月, 2009 1 次提交
    • G
      powerpc/5200: Bugfix for PCI mapping of memory and IMMR · e489a44e
      Grant Likely 提交于
      This patch ensures that memory gets properly mapped into the PCI
      address space.  Without this patch, the memory window BAR is left
      at whatever value happened to be loaded into the BAR when Linux
      was booted.  Without this patch, memory could end up getting mapped
      at any of the 1G address boundaries instead of at '0' where Linux
      expects it.
      
      Similarly, this patch also ensures that the internally memory mapped
      registers (IMMR) are mapped to the correct PCI address range.
      
      Without this patch, PCI appears to work correctly until a PCI
      device is inserted which DMAs into memory.
      Signed-off-by: NGrant Likely <grant.likely@secretlab.ca>
      Tested-by: NWolfram Sang <w.sang@pengutronix.de>
      e489a44e
  4. 28 1月, 2009 1 次提交
  5. 27 1月, 2009 1 次提交
  6. 20 1月, 2009 1 次提交
  7. 16 1月, 2009 6 次提交
  8. 14 1月, 2009 1 次提交
  9. 13 1月, 2009 4 次提交
  10. 12 1月, 2009 1 次提交
  11. 10 1月, 2009 3 次提交
  12. 09 1月, 2009 1 次提交
  13. 08 1月, 2009 10 次提交
  14. 07 1月, 2009 1 次提交
  15. 06 1月, 2009 1 次提交
  16. 31 12月, 2008 6 次提交
    • J
      powerpc/85xx: Add local_irq_restore in error handling code · 870029a6
      Julia Lawall 提交于
      There is a call to local_irq_restore in the normal exit case, so it would
      seem that there should be one on an error return as well.
      
      The semantic patch that makes this change is as follows:
      (http://www.emn.fr/x-info/coccinelle/)
      
      // <smpl>
      @@
      expression l;
      expression E,E1,E2;
      @@
      
      local_irq_save(l);
      ... when != local_irq_restore(l)
          when != spin_unlock_irqrestore(E,l)
          when any
          when strict
      (
      if (...) { ... when != local_irq_restore(l)
                     when != spin_unlock_irqrestore(E1,l)
      +   local_irq_restore(l);
          return ...;
      }
      |
      if (...)
      +   {local_irq_restore(l);
          return ...;
      +   }
      |
      spin_unlock_irqrestore(E2,l);
      |
      local_irq_restore(l);
      )
      // </smpl>
      Signed-off-by: NJulia Lawall <julia@diku.dk>
      Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
      870029a6
    • K
      powerpc/85xx: Add SMP support to MPC8572 DS · 8bd3947a
      Kumar Gala 提交于
      Enable SMP support on the MPC8572 DS reference board.
      Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
      8bd3947a
    • K
      powerpc/85xx: Enable SMP support · 00c4b95c
      Kumar Gala 提交于
      Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
      00c4b95c
    • A
      powerpc/83xx: Fix few build errors with CONFIG_QUICC_ENGINE=n · 20cfb41b
      Anton Vorontsov 提交于
      Some 83xx boards were not ready for the optional QUICC Engine support.
      
      This patch fixes following build errors:
      
      arch/powerpc/platforms/built-in.o: In function `flush_disable_caches':
      (.text+0xb308): undefined reference to `par_io_data_set'
      arch/powerpc/platforms/built-in.o: In function `flush_disable_caches':
      (.text+0xb334): undefined reference to `par_io_data_set'
      arch/powerpc/platforms/built-in.o: In function `flush_disable_caches':
      (.text+0xb408): undefined reference to `qe_ic_get_high_irq'
      arch/powerpc/platforms/built-in.o: In function `flush_disable_caches':
      (.text+0xb478): undefined reference to `qe_ic_get_low_irq'
      arch/powerpc/platforms/built-in.o: In function `mpc832x_spi_init':
      mpc832x_rdb.c:(.init.text+0x574c): undefined reference to `par_io_config_pin'
      mpc832x_rdb.c:(.init.text+0x5768): undefined reference to `par_io_config_pin'
      mpc832x_rdb.c:(.init.text+0x5784): undefined reference to `par_io_config_pin'
      mpc832x_rdb.c:(.init.text+0x57a0): undefined reference to `par_io_config_pin'
      mpc832x_rdb.c:(.init.text+0x57bc): undefined reference to `par_io_config_pin'
      arch/powerpc/platforms/built-in.o:mpc832x_rdb.c:(.init.text+0x57d8): more undefined references to `par_io_config_pin' follow
      arch/powerpc/platforms/built-in.o: In function `mpc836x_rdk_init_IRQ':
      mpc836x_rdk.c:(.init.text+0x5e84): undefined reference to `qe_ic_init'
      arch/powerpc/platforms/built-in.o: In function `mpc836x_rdk_setup_arch':
      mpc836x_rdk.c:(.init.text+0x5f10): undefined reference to `qe_reset'
      make: *** [.tmp_vmlinux1] Error 1
      Signed-off-by: NAnton Vorontsov <avorontsov@ru.mvista.com>
      Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
      20cfb41b
    • A
      powerpc/83xx: Add USB Host/Gadget support for MPC8360E-MDS boards · c9c5e52d
      Anton Vorontsov 提交于
      - Update the device tree per QE USB bindings;
      - Add timer (FSL GTM) node;
      - Add gpio-controller node for BCSR13 bank (GPIOs on that bank
        are used to control the USB transceiver);
      - Set up other BCSR registers;
      - Configure the QE Par IO.
      
      The work is loosely based on Li Yang's patch[1], which was used
      to support peripheral mode only.
      
      [1] http://ozlabs.org/pipermail/linuxppc-dev/2008-August/061357.html
      
      The s-o-b line of the original patch preserved here.
      Signed-off-by: NLi Yang <leoli@freescale.com>
      Signed-off-by: NAnton Vorontsov <avorontsov@ru.mvista.com>
      Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
      c9c5e52d
    • A
      powerpc: Implement GPIO driver for simple memory-mapped banks · 3d64de9c
      Anton Vorontsov 提交于
      The driver supports very simple GPIO controllers, that is, when a
      controller provides just a 'data' register. Such controllers may be
      found in various BCSRs (Board's FPGAs used to control board's
      switches, LEDs, chip-selects, Ethernet/USB PHY power, etc).
      
      So far we support only 1-byte GPIO banks. Support for other widths may
      be implemented when/if needed.
      
      p.s.
      To avoid "made up" compatible entries (like compatible = "simple-gpio"),
      boards must call simple_gpiochip_init() to pass the compatible string.
      Signed-off-by: NAnton Vorontsov <avorontsov@ru.mvista.com>
      Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
      3d64de9c