=================================================================== RCS file: /cvs/prex-old/dev/arm/cats/machdep.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- prex-old/dev/arm/cats/machdep.c 2008/07/18 20:22:59 1.1 +++ prex-old/dev/arm/cats/machdep.c 2008/07/23 22:00:07 1.2 @@ -1,5 +1,5 @@ /* - * $Id: machdep.c,v 1.1 2008/07/18 19:22:59 nbrk Exp $ + * $Id: machdep.c,v 1.2 2008/07/23 21:00:07 nbrk Exp $ */ /*- * Copyright (c) 2007, Kohsuke Ohtani @@ -36,6 +36,10 @@ #include +extern uint32_t sapmc_getfreq(void); +extern void sapmc_setfreq(int mode); + + /* * Set system to suspend power state. */ @@ -64,6 +68,8 @@ int machine_init(void) { + printk("core frequency %u Hz\n", sapmc_getfreq()); + printk("setting core frequency to "); return 0; }