summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefano Babic <sbabic@denx.de>2011-10-08 11:04:22 +0200
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2011-10-27 21:56:32 +0200
commit877a438a1af9a25b797676944d75786cd97cc460 (patch)
tree8f36ba4329f2c729398222c63eef801045e8b016
parentd7d6780fd1129a77df32c83017be73721bac528e (diff)
downloadu-boot-imx-877a438a1af9a25b797676944d75786cd97cc460.zip
u-boot-imx-877a438a1af9a25b797676944d75786cd97cc460.tar.gz
u-boot-imx-877a438a1af9a25b797676944d75786cd97cc460.tar.bz2
MX31: mx31pdk: 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/mx31pdk.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/configs/mx31pdk.h b/include/configs/mx31pdk.h
index 8c5730a..b72f30b 100644
--- a/include/configs/mx31pdk.h
+++ b/include/configs/mx31pdk.h
@@ -70,11 +70,15 @@
#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 2
#define CONFIG_FSL_PMIC_CLK 1000000
#define CONFIG_FSL_PMIC_MODE (SPI_MODE_0 | SPI_CS_HIGH)
+#define CONFIG_FSL_PMIC_BITLEN 32
#define CONFIG_RTC_MC13783
/* allow to overwrite serial and ethaddr */