From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Chou Date: Fri, 30 Apr 2010 08:16:08 +0800 Subject: [U-Boot] [PATCH v5] mmc: add generic mmc spi driver In-Reply-To: <201004291507.16037.vapier@gentoo.org> References: <1271991214-7937-1-git-send-email-thomas@wytron.com.tw> <4BD99CD7.6030801@wytron.com.tw> <201004291507.16037.vapier@gentoo.org> Message-ID: <4BDA2148.6000507@wytron.com.tw> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 04/30/2010 03:07 AM, Mike Frysinger wrote: > On Thursday 29 April 2010 10:51:03 Thomas Chou wrote: > >> 2. Andy suggested to create a new mmc_spi device for each bus and cs. >> > this is what i was suggesting from the start ... sorry if i wasnt clear > -mike > Hi Mike, Thank you anyway. Hi Andy, I will change the command like this, 1. if no args given, show the bus and cs of existing mmc_spi devices. 2. with args given, check for duplicated bus and cs from existing devices, then create a new device. I will need to move the spurious printing of "MMC Device %d not found\n" out from find_mmc_device() of mmc.c . Best regards, Thomas