MX31: mx31_litekit: use new pmic driver
authorStefano Babic <sbabic@denx.de>
Sat, 8 Oct 2011 09:01:52 +0000 (11:01 +0200)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Thu, 27 Oct 2011 19:56:32 +0000 (21:56 +0200)
Switch to new pmic generic driver.

Signed-off-by: Stefano Babic <sbabic@denx.de>
include/configs/imx31_litekit.h

index 31f05134f8319676414d386a4c5db322bfdccc67..89e71c069e35bf79978c8212abe4e5cfe19ef02d 100644 (file)
 #define CONFIG_DEFAULT_SPI_BUS 1
 #define CONFIG_DEFAULT_SPI_MODE        (SPI_MODE_0 | SPI_CS_HIGH)
 
-#define CONFIG_FSL_PMIC
+/* PMIC Controller */
+#define CONFIG_PMIC
+#define CONFIG_PMIC_SPI
+#define CONFIG_PMIC_FSL
 #define CONFIG_FSL_PMIC_BUS    1
 #define CONFIG_FSL_PMIC_CS     0
 #define CONFIG_FSL_PMIC_CLK    1000000
 #define CONFIG_FSL_PMIC_MODE   (SPI_MODE_0 | SPI_CS_HIGH)
-
-#define CONFIG_RTC_MC13783     1
+#define CONFIG_FSL_PMIC_BITLEN 32
+#define CONFIG_RTC_MC13783
 
 /* allow to overwrite serial and ethaddr */
 #define CONFIG_ENV_OVERWRITE