[U-Boot] [PATCH v3 2/6] i.MX31: Make the SPI bus and chip select configurable for MC13783

Jean-Christophe PLAGNIOL-VILLARD
2008-09-03T21:03:18Z

On 10:36 Fri 29 Aug , Magnus Lilja wrote:
> The i.MX31 has three SPI buses and each bus has several chip selects
> and the MC13783 chip can be connected to any of these. The current
> RTC driver for MC13783 is hardcoded for CSPI2/SS2.
>
> This patch makes make MC13783 SPI bus and chip select configurable
> via CONFIG_MC13783_SPI_BUS and CONFIG_MC13783_SPI_CS.
>
> Signed-off-by: Magnus Lilja <lilja.magnus@gmail.com>
> ---
> doc/README.mx31 | 19 +++++++++++++++++++
> drivers/rtc/mc13783-rtc.c | 6 ++++--
> include/configs/imx31_litekit.h | 3 +++
> include/configs/mx31ads.h | 3 +++
> 4 files changed, 29 insertions(+), 2 deletions(-)
>
applied to u-boot-arm

Best Regards,
J.