mirror of
git://projects.qi-hardware.com/ben-blinkenlights.git
synced 2025-04-21 12:27:27 +03:00
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.)
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
#include <stdint.h>
|
||||
|
||||
|
||||
#define BEN_SYS_CLK_HZ 336000000
|
||||
#define BEN_PLL_CLK_HZ 336000000
|
||||
|
||||
|
||||
struct mmcclk {
|
||||
|
||||
Reference in New Issue
Block a user