1. 02 Nov, 2009 4 commits
    • Paul Mundt's avatar
      sh: intc: Handle legacy IRQ reservation in vector map. · 45b9deaf
      Paul Mundt authored
      Different CPUs will have different starting vectors, with varying
      amounts of reserved or unusable vector space prior to the first slot.
      This introduces a legacy vector reservation system that inserts itself in
      between the CPU vector map registration and the platform specific IRQ
      setup. This works fine in practice as the only new vectors that boards
      need to establish on their own should be dynamically allocated rather
      than arbitrarily assigned. As a plus, this also makes all of the
      converted platforms sparseirq ready.
      Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
      45b9deaf
    • Magnus Damm's avatar
      sh: Remove unused WP signal for SDHI0 and KFR2R09 · 3d0de414
      Magnus Damm authored
      Get rid of the unused WP signal for SDHI0 on KFR2R09.
      This because yc304 on KFR2R09 is a Micro SD slot which
      does not implement the WP signal.
      Signed-off-by: default avatarMagnus Damm <damm@opensource.se>
      Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
      3d0de414
    • Magnus Damm's avatar
      sh: Add SDHI1 support to the AP325RXA board · 8b431a7e
      Magnus Damm authored
      Update the SDHI platform data for the AP325RXA board
      to include support for the CN7 Micro SD Card slot.
      Signed-off-by: default avatarMagnus Damm <damm@opensource.se>
      Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
      8b431a7e
    • Paul Mundt's avatar
      sh: intc: dynamic IRQ support. · 1ce7b039
      Paul Mundt authored
      This adds support for dynamic IRQ allocation/deallocation for all parts
      using the SH-style vectored IRQs. While this is not inherently
      INTC-specific, the INTC code is the main tie-in for vectored IRQ
      registration, and is the only place that a full view of the utilized
      vector map is possible.
      
      The implementation is fairly straightforward, implementing a flat IRQ map
      where each registered vector is reserved, allowing us to scan for holes
      and dynamically wire up IRQs lazily later on in the boot stage. This
      piggybacks on top of sparseirq in order to make the best use of the
      available vector space.
      
      Dynamic IRQs can be used for any number of things, ranging from MSI in
      the SH-X3 PCIe case down to demux vectors for board FPGAs and system
      controllers that presently allocate an arbitrary range. In the latter
      case, this also allows those platforms to use sparseirq without blowing
      up, which brings us one step closer to enabling sparseirq as the default
      for all platform and CPU combinations.
      Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
      1ce7b039
  2. 30 Oct, 2009 16 commits
  3. 28 Oct, 2009 5 commits
  4. 27 Oct, 2009 9 commits
  5. 26 Oct, 2009 6 commits