An error occurred fetching the project authors.
  1. 09 Mar, 2012 1 commit
  2. 23 Feb, 2012 5 commits
  3. 22 Oct, 2010 4 commits
  4. 08 Oct, 2010 2 commits
    • Manjunath Kondaiah G's avatar
      OMAP: plat-omap: Fix static function warnings · b0a330dc
      Manjunath Kondaiah G authored
      This patch fixes sparse warnings due non declarations of static functions.
      
      arch/arm/plat-omap/sram.c:130:13: warning: symbol 'omap_detect_sram' was not declared. Should it be static?
      arch/arm/plat-omap/sram.c:216:13: warning: symbol 'omap_map_sram' was not declared. Should it be static?
      arch/arm/plat-omap/sram.c:450:12: warning: symbol 'omap_sram_init' was not declared. Should it be static?
      arch/arm/plat-omap/sram.c:348:12: warning: symbol 'omap242x_sram_init' was not declared. Should it be static?
      arch/arm/plat-omap/sram.c:369:12: warning: symbol 'omap243x_sram_init' was not declared. Should it be static?
      arch/arm/plat-omap/sram.c:425:12: warning: symbol 'omap34xx_sram_init' was not declared. Should it be static?
      arch/arm/plat-omap/sram.c:441:12: warning: symbol 'omap44xx_sram_init' was not declared. Should it be static
      
      arch/arm/plat-omap/mcbsp.c:36:6: warning: symbol 'omap_mcbsp_write' was not declared. Should it be static?
      arch/arm/plat-omap/mcbsp.c:50:5: warning: symbol 'omap_mcbsp_read' was not declared. Should it be static?
      arch/arm/plat-omap/mcbsp.c:65:6: warning: symbol 'omap_mcbsp_st_write' was not declared. Should it be static?
      arch/arm/plat-omap/mcbsp.c:70:5: warning: symbol 'omap_mcbsp_st_read' was not declared. Should it be static?
      arch/arm/plat-omap/mcbsp.c:1648:15: warning: symbol 'omap_st_add' was not declared. Should it be static?
      
      arch/arm/plat-omap/fb.c:414:15: warning: symbol 'omapfb_reserve_sram' was not declared. Should it be static?
      arch/arm/plat-omap/cpu-omap.c:43:5: warning: symbol 'omap_verify_speed' was not declared. Should it be static?
      arch/arm/plat-omap/cpu-omap.c:61:14: warning: symbol 'omap_getspeed' was not declared. Should it be static?
      Signed-off-by: default avatarManjunath Kondaiah G <manjugk@ti.com>
      Cc: linux-arm-kernel@lists.infradead.org
      Cc: Nishanth Menon <nm@ti.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      b0a330dc
    • Yinghai Lu's avatar
      memblock/arm: Fix memblock_region_is_memory() typo · 5fd03dda
      Yinghai Lu authored
      Fix typo in commit dbe3039e ("memblock/arm: Use memblock_region_is_memory()
      for omap fb") - it should be memblock_is_region_memory().
      Reported-by: default avatarTomi Valkeinen <tomi.valkeinen@nokia.com>
      Signed-off-by: default avatarYinghai Lu <yinghai@kernel.org>
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Cc: Felipe Balbi <balbi@ti.com>
      Cc: Kevin Hilman <khilman@deeprootsystems.com>
      Cc: ext Grazvydas Ignotas <notasas@gmail.com>
      LKML-Reference: <4CABFADA.9020305@kernel.org>
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      5fd03dda
  5. 04 Aug, 2010 2 commits
  6. 27 Jul, 2010 1 commit
  7. 16 Jul, 2010 1 commit
    • Russell King's avatar
      ARM: OMAP: Cleanup OMAP FB SDRAM reservation · a1af0fbb
      Russell King authored
      The logic in this file is rather convoluted, but essentially:
      
      1. region type 0 is SDRAM
      2. referring to the code fragment
                      if (set_fbmem_region_type(&rg, OMAPFB_MEMTYPE_SDRAM,
                                                sdram_start, sdram_size) < 0 ||
                          (rg.type != OMAPFB_MEMTYPE_SDRAM))
                              continue;
         - if rg.type is not OMAPFB_MEMTYPE_SDRAM, set_fbmem_region_type()
           returns zero immediately (since rg.type is non-zero), and so we
           'continue'.
         - if rg.type is OMAPFB_MEMTYPE_SDRAM, and rg.paddr is zero,
           we fall through.
         - if rg.type is OMAPFB_MEMTYPE_SDRAM, and the region lies within
           SDRAM, we fall through.
         - if rg.type is OMAPFB_MEMTYPE_SDRAM, and the region is not within
           SDRAM, we 'continue'.
      3. check_fbmem_region seems unnecessary.
         - we know rg.type is OMAPFB_MEMTYPE_SDRAM
         - we can check rg.size independently
         - bootmem_reserve() can check for overlapping reservations itself
         - we've already validated that the requested region lies within SDRAM.
      4. avoid BUG()ing if the region entry is already set; print an error,
         and mark the configuration invalid - at least we'll continue booting
         so the error message has a chance of being logged/visible via serial
         console.
      
      With these changes in place, it makes the code much easier to understand
      and hence easier to convert to LMB.
      Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
      a1af0fbb
  8. 09 Dec, 2009 2 commits
  9. 20 Oct, 2009 1 commit
    • Tony Lindgren's avatar
      omap: headers: Move remaining headers from include/mach to include/plat · ce491cf8
      Tony Lindgren authored
      Move the remaining headers under plat-omap/include/mach
      to plat-omap/include/plat. Also search and replace the
      files using these headers to include using the right path.
      
      This was done with:
      
      #!/bin/bash
      mach_dir_old="arch/arm/plat-omap/include/mach"
      plat_dir_new="arch/arm/plat-omap/include/plat"
      headers=$(cd $mach_dir_old && ls *.h)
      omap_dirs="arch/arm/*omap*/ \
      drivers/video/omap \
      sound/soc/omap"
      other_files="drivers/leds/leds-ams-delta.c \
      drivers/mfd/menelaus.c \
      drivers/mfd/twl4030-core.c \
      drivers/mtd/nand/ams-delta.c"
      
      for header in $headers; do
      	old="#include <mach\/$header"
      	new="#include <plat\/$header"
      	for dir in $omap_dirs; do
      		find $dir -type f -name \*.[chS] | \
      			xargs sed -i "s/$old/$new/"
      	done
      	find drivers/ -type f -name \*omap*.[chS] | \
      		xargs sed -i "s/$old/$new/"
      	for file in $other_files; do
      		sed -i "s/$old/$new/" $file
      	done
      done
      
      for header in $(ls $mach_dir_old/*.h); do
      	git mv $header $plat_dir_new/
      done
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      ce491cf8
  10. 11 May, 2009 1 commit
  11. 06 Sep, 2008 1 commit
  12. 07 Aug, 2008 3 commits
  13. 24 Jul, 2008 2 commits
  14. 07 Feb, 2008 1 commit
    • Bernhard Walle's avatar
      Introduce flags for reserve_bootmem() · 72a7fe39
      Bernhard Walle authored
      This patchset adds a flags variable to reserve_bootmem() and uses the
      BOOTMEM_EXCLUSIVE flag in crashkernel reservation code to detect collisions
      between crashkernel area and already used memory.
      
      This patch:
      
      Change the reserve_bootmem() function to accept a new flag BOOTMEM_EXCLUSIVE.
      If that flag is set, the function returns with -EBUSY if the memory already
      has been reserved in the past.  This is to avoid conflicts.
      
      Because that code runs before SMP initialisation, there's no race condition
      inside reserve_bootmem_core().
      
      [akpm@linux-foundation.org: coding-style fixes]
      [akpm@linux-foundation.org: fix powerpc build]
      Signed-off-by: default avatarBernhard Walle <bwalle@suse.de>
      Cc: <linux-arch@vger.kernel.org>
      Cc: "Eric W. Biederman" <ebiederm@xmission.com>
      Cc: Vivek Goyal <vgoyal@in.ibm.com>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      72a7fe39
  15. 05 Nov, 2007 1 commit
  16. 09 May, 2007 2 commits
  17. 08 May, 2007 2 commits
  18. 30 Jun, 2006 1 commit
  19. 02 Apr, 2006 1 commit