[PATCH] add preliminary E-TEN glofiish M800 support
Werner Almesberger
werner at openmoko.org
Thu Nov 13 02:15:11 CET 2008
Harald Welte wrote:
> This patch adds preliminary support for the M800. If booted
> through haret, the system has the following working components:
Nice !
I noticed that your identifiers sometimes begin with glofiish_,
sometimes with m800_. Is this more than coincidence ?
> +/* SPI: LCM control interface attached to Glamo3362 */
I hope not ;-)
> --- a/arch/arm/plat-s3c24xx/neo1973_pm_bt.c
> +++ b/arch/arm/plat-s3c24xx/neo1973_pm_bt.c
[...]
> @@ -56,6 +59,14 @@ static ssize_t bt_read(struct device *dev, struct device_attribute *attr,
> break;
> #endif /* CONFIG_MACH_NEO1973_GTA02 */
>
> +#ifdef CONFIG_MACH_M800
> + case MACH_TYPE_M800:
> + if (s3c2410_gpio_getpin(M800_GPIO_BT_POWER_1) &&
> + s3c2410_gpio_getpin(M800_GPIO_BT_POWER_2))
> + goto out_1;
> + break;
> +#endif /* CONFIG_MACH_M800 */
We've gotten rid of a lot of these ifdefs now. You may want to have
a look at stable-tracking.
- Werner
More information about the openmoko-kernel
mailing list