r1031 - trunk/src/target/kernel/patches

laforge at sita.openmoko.org laforge at sita.openmoko.org
Sat Feb 17 13:59:06 CET 2007


Author: laforge
Date: 2007-02-17 13:59:06 +0100 (Sat, 17 Feb 2007)
New Revision: 1031

Modified:
   trunk/src/target/kernel/patches/gta01-core.patch
Log:
There should be no need to call spi_register_board for either of the s3c24xx
drivers as they both register the devices specified in their platform data.

Also change SPI CS pin to high on init

Signed-off-by: Ben Dooks <ben-linux at fluff.org>


Modified: trunk/src/target/kernel/patches/gta01-core.patch
===================================================================
--- trunk/src/target/kernel/patches/gta01-core.patch	2007-02-17 12:56:11 UTC (rev 1030)
+++ trunk/src/target/kernel/patches/gta01-core.patch	2007-02-17 12:59:06 UTC (rev 1031)
@@ -33,8 +33,8 @@
 Index: linux-2.6.20/arch/arm/mach-s3c2410/mach-gta01.c
 ===================================================================
 --- /dev/null	1970-01-01 00:00:00.000000000 +0000
-+++ linux-2.6.20/arch/arm/mach-s3c2410/mach-gta01.c	2007-02-17 13:55:39.000000000 +0100
-@@ -0,0 +1,484 @@
++++ linux-2.6.20/arch/arm/mach-s3c2410/mach-gta01.c	2007-02-17 13:58:24.000000000 +0100
+@@ -0,0 +1,483 @@
 +/*
 + * linux/arch/arm/mach-s3c2410/mach-gta01.c
 + *
@@ -490,9 +490,8 @@
 +#else
 +	/* SPI chip select is gpio output */
 +	s3c2410_gpio_cfgpin(S3C2410_GPG3, S3C2410_GPIO_OUTPUT);
++	s3c2410_gpio_setpin(S3C2410_GPG3, 1);
 +
-+	spi_register_board_info(gta01_spi_board_info,
-+				ARRAY_SIZE(gta01_spi_board_info));
 +	platform_device_register(&s3c_device_spi_lcm);
 +#endif
 +	platform_device_register(&gta01_bl_dev);





More information about the commitlog mailing list