config TWL4030_CORE
bool "TI's TWL4030 companion chip Core Driver Support"
- depends on I2C=y && ARCH_OMAP24XX
+ depends on I2C=y && (ARCH_OMAP24XX || ARCH_OMAP34XX)
help
Say yes here if you have TWL4030 chip on your board
#define NAND_BASE 0x0C000000 /* NAND flash */
#define ONENAND_MAP 0x20000000 /* OneNand flash */
-#ifdef CONFIG_I2C_TWL4030_CORE
+#ifdef CONFIG_TWL4030_CORE
#define TWL4030_IRQNUM INT_34XX_SYS_NIRQ
#define IH_TWL4030_BASE IH_BOARD_BASE
#define IH_TWL4030_END (IH_TWL4030_BASE+8)
-#ifdef CONFIG_I2C_TWL4030_GPIO
+#ifdef CONFIG_TWL4030_GPIO
/* TWL4030 GPIO Interrupts */
#define IH_TWL4030_GPIO_BASE (IH_TWL4030_END)