All pastes #992184 Raw Edit

Anonymous

public c v1 · immutable
#992184 ·published 2008-04-21 17:39 UTC
rendered paste body
I added this/* setup serial port D2 Sean Mathews */        s3c2410_gpio_cfgpin(S3C2410_GPH6, S3C2410_GPH6_TXD2);        s3c2410_gpio_pullup(S3C2410_GPH6, 1);        s3c2410_gpio_cfgpin(S3C2410_GPH7, S3C2410_GPH7_RXD2);        s3c2410_gpio_pullup(S3C2410_GPH7, 1);        s3c2410_gpio_setpin(S3C2410_GPH6, 1);        s3c2410_gpio_setpin(S3C2410_GPH7, 1);static void __init tct_hammer_init(void){	s3c2410_gpio_cfgpin(S3C2410_GPF0, S3C2410_GPIO_OUTPUT);	s3c2410_gpio_setpin(S3C2410_GPF0, 1);	s3c2410_gpio_cfgpin(S3C2410_GPC12, S3C2410_GPIO_OUTPUT);	s3c2410_gpio_setpin(S3C2410_GPC12, 1);/*uncomment these these to enable the second serial port *//*	s3c2410_gpio_cfgpin(S3C2410_GPH2, S3C2410_GPH2_TXD0);	s3c2410_gpio_pullup(S3C2410_GPH2, 1);	s3c2410_gpio_cfgpin(S3C2410_GPH3, S3C2410_GPH3_RXD0);	s3c2410_gpio_pullup(S3C2410_GPH3, 1);*/#ifdef CONFIG_FB_S3C2410	s3c24xx_fb_set_platdata(&tct_hammer_lcd_info);#endif	platform_add_devices(tct_hammer_devices, ARRAY_SIZE(tct_hammer_devices));}