On Friday 23 April 2010 01:55:11 Thomas Chou wrote:
> On 04/23/2010 12:04 PM, Thomas Chou wrote:
> >> it's too bad the new framework doesnt allow for dynamic probing like
> >> the spi layer.  makes it a pain to work with a SPI/MMC card that can have
> >> the CS changed on the fly.
> 
> Second thought.
> With generic mmc framework, we can instance multiple mmc devices. Then
> we can probe one of them when we want.

i dont think that's a scalable solution.  what if you have multiple spi busses 
or 10's of GPIO CS's ?  only way to scale is to have a new subcommand so 
people can do it themselves.  a simple CONFIG_CMD_MMC_SPI command which 
forwards along calls to mmc_spi_init() on the fly would work.
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to