summaryrefslogtreecommitdiffstats
path: root/include/configs/omap3_evm.h
diff options
context:
space:
mode:
authorTom Rix <Tom.Rix@windriver.com>2009-06-28 12:52:31 -0500
committerHeiko Schocher <hs@denx.de>2009-07-29 09:57:43 +0200
commitfccc0fcaaae5154612f8259365d26d04f204859f (patch)
tree0f051f39d20bd514f989d51061f34ffe1cc5e5ff /include/configs/omap3_evm.h
parent2c15513010493435c78f83202940ac3be11de2c3 (diff)
downloadtalos-obmc-uboot-fccc0fcaaae5154612f8259365d26d04f204859f.tar.gz
talos-obmc-uboot-fccc0fcaaae5154612f8259365d26d04f204859f.zip
OMAP3 Move twl4030 mmc function
Because twl4030 now has its own device files, move and rename twl4030_mmc_config. twl4030_mmc_config initializes the twl4030 power setting to the mmc device. Because it is in the twl4030 power domain, move it out of drivers/mmc/omap3_mmc.c and into drivers/power/twl4030.c. The function was renamed to twl4030_power_mmc_init because all the functions in this file are to have the format twl4030_power_<device>_<action> In this case the suffix is mmc_init so device : mmc action : init Signed-off-by: Tom Rix <Tom.Rix@windriver.com> Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Acked-by: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'include/configs/omap3_evm.h')
-rw-r--r--include/configs/omap3_evm.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/configs/omap3_evm.h b/include/configs/omap3_evm.h
index 3d9d72caf3..809198b0f8 100644
--- a/include/configs/omap3_evm.h
+++ b/include/configs/omap3_evm.h
@@ -128,6 +128,11 @@
#define CONFIG_DRIVER_OMAP34XX_I2C 1
/*
+ * TWL4030
+ */
+#define CONFIG_TWL4030_POWER 1
+
+/*
* Board NAND Info.
*/
#define CONFIG_SYS_NAND_ADDR NAND_BASE /* physical address */
OpenPOWER on IntegriCloud