1. 13 Jul, 2011 1 commit
  2. 10 Jul, 2011 3 commits
  3. 02 Jul, 2011 4 commits
  4. 29 Jun, 2011 1 commit
  5. 21 Jun, 2011 1 commit
  6. 24 May, 2011 6 commits
  7. 23 May, 2011 2 commits
  8. 06 Apr, 2011 1 commit
  9. 24 Mar, 2011 1 commit
  10. 17 Feb, 2011 1 commit
  11. 15 Feb, 2011 2 commits
  12. 25 Jan, 2011 1 commit
    • Simon Horman's avatar
      ARM: 6617/1: mmc, Add zboot from MMC support for SuperH Mobile ARM · f45b1149
      Simon Horman authored
      This allows a ROM-able zImage to be written to MMC and
      for SuperH Mobile ARM to boot directly from the MMCIF
      hardware block.
      
      This is achieved by the MaskROM loading the first portion
      of the image into MERAM and then jumping to it. This portion
      contains loader code which copies the entire image to SDRAM
      and jumps to it. From there the zImage boot code proceeds
      as normal, uncompressing the image into its final location
      and then jumping to it.
      
      Cc: Magnus Damm <magnus.damm@gmail.com>
      
      Russell, please consider merging this for 2.6.38.
      
      This patch depends on:
      * "mmc, sh: Move MMCIF_PROGRESS_* into sh_mmcif.h"
        which will be merged though Paul Mundt's rmobile sh-2.6.
        The absence of this patch will break the build if
        the (new) CONFIG_ZBOOT_ROM_MMCIF option is set.
        There are no subtle side-effects.
      
      v2:
      Addressed comments by Magnus Damm
      * Fix copyright in vrl4.c
      * Fix use of #define CONFIG_ZBOOT_ROM_MMCIF in mmcif-sh7372.c
      * Initialise LED GPIO lines in head-ap4evb.txt instead of mmcif-sh7372.c
        as this is considered board-specific.
      
      v3:
      Addressed comments made in person by Magnus Damm
      * Move mmcif_loader to be earlier in the image and
        reduce the number of blocks of boot program loaded by the MaskRom
        from 40 to 8 accordingly.
      * Move LED GPIO initialisation into mmcif_progress_init
        - This leaves the partner jet script unbloated
      Other
      * inline mmcif_update_progress so it is a static inline in a header file
      
      v4:
      * Use htole16() and htole32() in v4rl.c to ensure
        that the output is little endian
      
      v5:
      Addressed comments by Russell King
      * Simplify assembly code
      * Jump to code rather than an address <- bug fix
      * Use (void __iomem *) as appropriate
      Roll in mackerel support
      * This was previously a separate patch, only because of the order
        in which this code was developed
      Signed-off-by: default avatarSimon Horman <horms@verge.net.au>
      Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
      f45b1149
  13. 10 Jan, 2011 2 commits
  14. 06 Jan, 2011 6 commits
  15. 22 Dec, 2010 1 commit
  16. 21 Dec, 2010 1 commit
    • Magnus Damm's avatar
      ARM: mach-shmobile: sh73a0 INTCS support · 5f53a56a
      Magnus Damm authored
      Add INTCS support for the sh73a0 processor.
      
      The interrupts on the sh73a0 processor are managed
      through controllers such as GIC, INTCS and INTCA.
      
      The ARM cores use the GIC as primary interrupt
      controller and the INTCS and INTCA are hanging off
      the GIC as cascaded interrupt controllers.
      
      Peripherals connected both to the GIC and the INTC
      controllers should if possible only use the GIC.
      
      If no GIC connection is available then INTCS and
      INTCA may be used instead.
      Signed-off-by: default avatarMagnus Damm <damm@opensource.se>
      Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
      5f53a56a
  17. 20 Dec, 2010 1 commit
  18. 17 Dec, 2010 2 commits
    • Magnus Damm's avatar
      ARM: mach-shmobile: INTC interrupt priority level demux fix · 1cf215a5
      Magnus Damm authored
      Fix interrupt priority level handling on SH-Mobile ARM.
      
      SH-Mobile ARM platforms using multiple interrupt priority
      levels need this patch to fix a potential dead lock that
      may occur if multiple interrupts with different levels
      are pending simultaneously.
      
      The default INTC configuration is to use the same priority
      level for all interrupts, so this issue does not trigger by
      default. It is however common for board code to override the
      interrupt priority for certain interrupt sources depending
      on the application. Without this fix such boards may lock up.
      
      In detail, this patch updates the INTC code in entry-macro.S
      to make sure that the INTLVLA register gets set as expected.
      
      To trigger this bug modify the board specific code to adjust
      the interrupt priority level for the ethernet chip. After
      changing the priority level simply use flood ping to drown
      the board with interrupts.
      
      This patch applies to INTCA-based processors such as sh7372,
      sh7377 and sh7372. GIC-based processors are not affected.
      
      Suitable for v2.6.37-rc and stable from v2.6.34 to v2.6.36.
      
      Cc: stable@kernel.org
      Signed-off-by: default avatarMagnus Damm <damm@opensource.se>
      Tested-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
      Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
      1cf215a5
    • Magnus Damm's avatar
      ARM: mach-shmobile: fix compile warning in mm/init.c · 676b14c3
      Magnus Damm authored
      Turn down the warning noise from the compiler,
      basically a SH-Mobile specific version of the
      patch located in the RMK patch tracker:
      
      6484/1: "fix compile warning in mm/init.c",
      
      Without this patch the following warning triggers:
      
       CC      arch/arm/kernel/sys_arm.o
      arch/arm/mm/init.c: In function 'mem_init':
      arch/arm/mm/init.c:606: warning: format '%08lx' expects type 'long unsigned int', but argument 12 has type 'unsigned int'
        CC      arch/arm/kernel/traps.o
      Signed-off-by: default avatarMagnus Damm <damm@opensource.se>
      Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
      676b14c3
  19. 14 Dec, 2010 2 commits
    • Magnus Damm's avatar
      ARM: mach-shmobile: sh73a0 SMP support · 72f4d579
      Magnus Damm authored
      Add SMP support for ag5evm and the sh73a0 processor.
      
      Onlining and offlining works well, but at this point
      offlined processor cores are not put into sleep mode.
      
      There is no spinlock for syncing the secondary core
      with the first one in this implementation. The code
      instead relies on the cpu_online() check in __cpu_up().
      Signed-off-by: default avatarMagnus Damm <damm@opensource.se>
      Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
      72f4d579
    • Magnus Damm's avatar
      ARM: mach-shmobile: SMP base support · 1c51ed4f
      Magnus Damm authored
      Add SMP base support for R-Mobile / SH-Mobile processors.
      
      This patch contains all base code to support CONFIG_SMP
      regardless of ARCH_SHMOBILE processor type. Both local timer
      and CPU hotplug are supported, but no processor specific
      code is included.
      
      At this point only the default behavior is in place, so
      a single core will always be used even though CONFIG_SMP
      is enabled on multicore systems.
      
      The SMP Kconfig entry for arch/arm/Kconfig is excluded from
      this patch to simplify merging.
      Signed-off-by: default avatarMagnus Damm <damm@opensource.se>
      Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
      1c51ed4f
  20. 05 Dec, 2010 1 commit