On Monday 26 April 2010 10:37:07 Thomas Chou wrote: > I have moved spi slave setup so that we can change the cs on the fly. We > could add a subcommand, like, > > mmc_spi [bus:]cs > > Where should I place this command? in a new file in common dir or inside > the mmc_spi driver?
i would keep the current board init hook you have currently so that the boards which do have static settings can leverage that, and have the mmc_spi command simply call that. i'd have the syntax be: mmc_spi [bus:]cs [hz [mode]] i'd have it be a dedicated command in common/ so that people can disable it if they dont want it. -mike
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