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

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Wed Sep 3 23:03:18 CEST 2008


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 at 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.


More information about the U-Boot mailing list