]> xenbits.xensource.com Git - osstest/seabios.git/commit
sdcard: Support SDHCI v3.00 spec clock setting
authorKevin O'Connor <kevin@koconnor.net>
Tue, 11 Aug 2015 13:34:19 +0000 (09:34 -0400)
committerKevin O'Connor <kevin@koconnor.net>
Mon, 17 Aug 2015 16:11:24 +0000 (12:11 -0400)
commitd5b7821465c1ecf9cc4b590fe32c12cf8a4702d8
tree69c32c4fffa025786c8f2be260789fefe226a8c0
parentcfe326ba5219435cf9360015729083c3791a684d
sdcard: Support SDHCI v3.00 spec clock setting

The SDHCI v3 spec supports higher frequency clocks and has a different
method to configure the clock divisor.

This also fixes an error in v1/v2 clock calculation (ffs was used
instead of fls).

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
src/hw/sdcard.c