Return to machdep.c CVS log | Up to [local] / prex-old / dev / arm / cats |
version 1.1, 2008/07/18 20:22:59 | version 1.2, 2008/07/23 22:00:07 | ||
---|---|---|---|
|
|
||
#include <driver.h> | #include <driver.h> | ||
extern uint32_t sapmc_getfreq(void); | |||
extern void sapmc_setfreq(int mode); | |||
/* | /* | ||
* Set system to suspend power state. | * Set system to suspend power state. | ||
*/ | */ | ||
|
|
||
int | int | ||
machine_init(void) | machine_init(void) | ||
{ | { | ||
printk("core frequency %u Hz\n", sapmc_getfreq()); | |||
printk("setting core frequency to "); | |||
return 0; | return 0; | ||
} | } |