From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jean-Christophe PLAGNIOL-VILLARD Date: Wed, 3 Sep 2008 23:03:18 +0200 Subject: [U-Boot] [PATCH v3 2/6] i.MX31: Make the SPI bus and chip select configurable for MC13783 In-Reply-To: <1219998982-21289-3-git-send-email-lilja.magnus@gmail.com> References: <1219998982-21289-1-git-send-email-lilja.magnus@gmail.com> <1219998982-21289-2-git-send-email-lilja.magnus@gmail.com> <1219998982-21289-3-git-send-email-lilja.magnus@gmail.com> Message-ID: <20080903210318.GC1249@game.jcrosoft.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > --- > 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.