r3144 - trunk/src/target/kernel/patches

laforge at sita.openmoko.org laforge at sita.openmoko.org
Wed Oct 10 18:23:27 CEST 2007


Author: laforge
Date: 2007-10-10 18:23:20 +0200 (Wed, 10 Oct 2007)
New Revision: 3144

Modified:
   trunk/src/target/kernel/patches/lis302dl.patch
Log:
make lis302dl apply again (fallout from last commit, sorry)


Modified: trunk/src/target/kernel/patches/lis302dl.patch
===================================================================
--- trunk/src/target/kernel/patches/lis302dl.patch	2007-10-10 16:17:35 UTC (rev 3143)
+++ trunk/src/target/kernel/patches/lis302dl.patch	2007-10-10 16:23:20 UTC (rev 3144)
@@ -14,10 +14,21 @@
  
  #include <asm/mach/arch.h>
  #include <asm/mach/map.h>
-@@ -429,6 +430,47 @@
+@@ -403,7 +404,7 @@
+ 	.oversampling_shift = 5,
+ };
+ 
+-/* SPI */
++/* SPI: LCM control interface attached to Glamo3362 */
+ 
+ static struct spi_board_info gta02_spi_board_info[] __initdata = {
+ 	{
+@@ -431,6 +432,48 @@
  	.board_info	= gta02_spi_board_info,
  };
  
++/* SPI: Accelerometers attached to SPI of s3c244x */
++
 +static void gta02_spi_acc_set_cs(struct s3c2410_spi_info *spi, int cs, int pol)
 +{
 +	s3c2410_gpio_setpin(cs, pol);
@@ -58,11 +69,10 @@
 +	.board_info	= &gta02_spi_acc_bdinfo,
 +};
 +
-+
- #if 0
- #ifdef SPI_HARD
- static struct s3c2410_spi_info spi_cfg = {
-@@ -618,6 +660,7 @@
+ static struct resource gta02_led_resources[] = {
+ 	[0] = {
+ 		.start	= GTA02_GPIO_VIBRATOR_ON,
+@@ -560,6 +603,7 @@
  	s3c_device_usb.dev.platform_data = &gta02_usb_info;
  	s3c_device_nand.dev.platform_data = &gta02_nand_info;
  	s3c_device_sdi.dev.platform_data = &gta02_mmc_cfg;





More information about the commitlog mailing list