1
0
mirror of git://projects.qi-hardware.com/ben-blinkenlights.git synced 2024-11-27 18:18:27 +02:00
Commit Graph

6 Commits

Author SHA1 Message Date
Werner Almesberger
591bb6427b libubb/mmcclk.c (mmcclk_first): add flags to relax clock selection constraints 2013-01-28 20:49:17 -03:00
Werner Almesberger
4cb68b7ece libubb/mmcclk.c: use symbolic bit/field definitions for MSC_* 2013-01-20 17:34:17 -03:00
Werner Almesberger
10b0dea29c libubb/mmcclk.c (BUS_LIMIT_MHZ): explain the 56 MHz limit 2013-01-15 18:01:27 -03:00
Werner Almesberger
72f2125287 libubb/mmcclk.c (mmcclk_start): also reset the MMC controller 2013-01-15 14:08:03 -03:00
Werner Almesberger
b18d688570 libubb/mmcclk.c (mmcclk_first): base clock calculation on state of CPCCR.PCS
Also rename BEN_SYS_CLK_HZ to BEN_PLL_CLK_HZ, since the system clock
depends on CPCCR.PCS (while we assume BEN_PLL_CLK_HZ to be constant.)
2013-01-07 16:16:31 -03:00
Werner Almesberger
1eb8e64811 libubb/mmcclk.c: helper functions for selecting and configuring the MMC bus clock
Experimental.
2013-01-07 15:19:19 -03:00