Message ID | 20090820135736.23974.96123.sendpatchset@rx1.opensource.se (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
On Thu, Aug 20, 2009 at 10:57:36PM +0900, Magnus Damm wrote: > Fix the kfr2r09 board code so it compiles if CONFIG_I2C=n. On Thu, Aug 20, 2009 at 10:58:38PM +0900, Magnus Damm wrote: > Add instruction cache and TLB invalidation code for the > the kfr2r09 romimage target. On Thu, Aug 20, 2009 at 10:59:26PM +0900, Magnus Damm wrote: > Add a P1 jump to the the kfr2r09 romimage code. With this > patch applied the initial zImage assembly code will run > with instruction cache enabled. On Thu, Aug 20, 2009 at 11:01:24PM +0900, Magnus Damm wrote: > Add romImage defconfig for the kfr2r09 board. This defconfig > should be used to build the kernel based boot loader. On Thu, Aug 20, 2009 at 11:02:24PM +0900, Magnus Damm wrote: > Update the kfr2r09 defconfig with support for LCDC and USB gadget. All applied, thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-sh" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
--- 0001/arch/sh/boards/mach-kfr2r09/setup.c +++ work/arch/sh/boards/mach-kfr2r09/setup.c 2009-08-20 12:48:09.000000000 +0900 @@ -219,6 +219,7 @@ static struct platform_device *kfr2r09_d #define BSC_CS4WCR 0xfec10030 #define PORT_MSELCRB 0xa4050182 +#ifdef CONFIG_I2C static int kfr2r09_usb0_gadget_i2c_setup(void) { struct i2c_adapter *a; @@ -261,6 +262,12 @@ static int kfr2r09_usb0_gadget_i2c_setup return 0; } +#else +static int kfr2r09_usb0_gadget_i2c_setup(void) +{ + return -ENODEV; +} +#endif static int kfr2r09_usb0_gadget_setup(void) {