From: Stefano Babic Date: Sat, 8 Oct 2011 09:02:53 +0000 (+0200) Subject: MX31: mx31ads: use new pmic driver X-Git-Tag: v2011.12-rc1~343^2~56 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d7d6780fd1129a77df32c83017be73721bac528e;p=u-boot MX31: mx31ads: use new pmic driver Switch to new pmic generic driver. Signed-off-by: Stefano Babic CC: Fabio Estevam --- diff --git a/include/configs/mx31ads.h b/include/configs/mx31ads.h index 457a24a5a3..c9d80ef073 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