1. 08 8月, 2011 1 次提交
  2. 13 10月, 2010 1 次提交
  3. 21 10月, 2009 1 次提交
    • T
      omap: headers: Move remaining headers from include/mach to include/plat · ce491cf8
      Tony Lindgren 提交于
      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: NTony Lindgren <tony@atomide.com>
      ce491cf8
  4. 24 3月, 2009 1 次提交
  5. 11 12月, 2008 2 次提交
    • T
      omap mmc: Add better MMC low-level init · d8874665
      Tony Lindgren 提交于
      This will simplify the MMC low-level init, and make it more
      flexible to add support for a newer MMC controller in the
      following patches.
      
      The patch rearranges platform data and gets rid of slot vs
      controller confusion in the old data structures. Also fix
      device id numbering in the clock code.
      
      Some code snippets are based on an earlier patch by
      Russell King <linux@arm.linux.org.uk>.
      
      Cc: Pierre Ossman <drzeus-mmc@drzeus.cx>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      
      
      
      
      
      d8874665
    • T
      omap mmc: Remove broken MMC init code · 652bcd8f
      Tony Lindgren 提交于
      Most of the omap1 MMC boards got broken by an earlier patch
      138ab9f8. If you look closely,
      the MMC init funtions are pretty much just stubs.
      
      Remove broken init code to make room for cleaner MMC init code.
      
      Cc: Pierre Ossman <drzeus-mmc@drzeus.cx>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      
      652bcd8f
  6. 07 8月, 2008 1 次提交
  7. 09 2月, 2008 2 次提交