summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefano Babic <sbabic@denx.de>2011-10-08 11:02:53 +0200
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2011-10-27 21:56:32 +0200
commitd7d6780fd1129a77df32c83017be73721bac528e (patch)
tree0bccfd580cab2cc6115123291cbe5444105b8f45
parent2672d5db1d89e94b78c3475d46e16fa23a9d54d8 (diff)
downloadu-boot-imx-d7d6780fd1129a77df32c83017be73721bac528e.zip
u-boot-imx-d7d6780fd1129a77df32c83017be73721bac528e.tar.gz
u-boot-imx-d7d6780fd1129a77df32c83017be73721bac528e.tar.bz2
MX31: mx31ads: use new pmic driver
Switch to new pmic generic driver. Signed-off-by: Stefano Babic <sbabic@denx.de> CC: Fabio Estevam <fabio.estevam@freescale.com>
-rw-r--r--include/configs/mx31ads.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/include/configs/mx31ads.h b/include/configs/mx31ads.h
index 457a24a..c9d80ef 100644
--- a/include/configs/mx31ads.h
+++ b/include/configs/mx31ads.h
@@ -69,12 +69,16 @@
#define CONFIG_DEFAULT_SPI_MODE (SPI_MODE_0 | SPI_CS_HIGH)
#define CONFIG_MXC_GPIO
-#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