home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / src / linux-headers-2.6.28-15 / arch / sh / include / cpu-sh3 / cpu / freq.h < prev    next >
Encoding:
C/C++ Source or Header  |  2008-12-24  |  588 b   |  28 lines

  1. /*
  2.  * include/asm-sh/cpu-sh3/freq.h
  3.  *
  4.  * Copyright (C) 2002, 2003 Paul Mundt
  5.  *
  6.  * This file is subject to the terms and conditions of the GNU General Public
  7.  * License.  See the file "COPYING" in the main directory of this archive
  8.  * for more details.
  9.  */
  10. #ifndef __ASM_CPU_SH3_FREQ_H
  11. #define __ASM_CPU_SH3_FREQ_H
  12.  
  13. #ifdef CONFIG_CPU_SUBTYPE_SH7712
  14. #define FRQCR            0xA415FF80
  15. #else
  16. #define FRQCR            0xffffff80
  17. #endif
  18.  
  19. #define MIN_DIVISOR_NR        0
  20. #define MAX_DIVISOR_NR        4
  21.  
  22. #define FRQCR_CKOEN    0x0100
  23. #define FRQCR_PLLEN    0x0080
  24. #define FRQCR_PSTBY    0x0040
  25.  
  26. #endif /* __ASM_CPU_SH3_FREQ_H */
  27.  
  28.