]> git.sur5r.net Git - u-boot/commit
spi: add spi_set_speed func
authorThomas Chou <thomas@wytron.com.tw>
Fri, 24 Dec 2010 07:16:07 +0000 (15:16 +0800)
committerMike Frysinger <vapier@gentoo.org>
Mon, 25 Apr 2011 05:45:29 +0000 (01:45 -0400)
commitfa1423e707b30b3eb5251e976560ed5decfd2e3c
tree2ed7ba1fb88f09ae5ec6e88eee10b2d4ef5d049c
parentf02efacc515e35695e52ecd08762835c8a74a463
spi: add spi_set_speed func

This func helps mmc_spi driver set correct speed for mmc/sd, as
mmc card needs 400KHz clock for spi mode initialization.

Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
include/spi.h