mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-23 04:34:11 +08:00
f15cbe6f1a
This follows the sparc changes a439fe51a1
.
Most of the moving about was done with Sam's directions at:
http://marc.info/?l=linux-sh&m=121724823706062&w=2
with subsequent hacking and fixups entirely my fault.
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
28 lines
588 B
C
28 lines
588 B
C
/*
|
|
* include/asm-sh/cpu-sh3/freq.h
|
|
*
|
|
* Copyright (C) 2002, 2003 Paul Mundt
|
|
*
|
|
* This file is subject to the terms and conditions of the GNU General Public
|
|
* License. See the file "COPYING" in the main directory of this archive
|
|
* for more details.
|
|
*/
|
|
#ifndef __ASM_CPU_SH3_FREQ_H
|
|
#define __ASM_CPU_SH3_FREQ_H
|
|
|
|
#ifdef CONFIG_CPU_SUBTYPE_SH7712
|
|
#define FRQCR 0xA415FF80
|
|
#else
|
|
#define FRQCR 0xffffff80
|
|
#endif
|
|
|
|
#define MIN_DIVISOR_NR 0
|
|
#define MAX_DIVISOR_NR 4
|
|
|
|
#define FRQCR_CKOEN 0x0100
|
|
#define FRQCR_PLLEN 0x0080
|
|
#define FRQCR_PSTBY 0x0040
|
|
|
|
#endif /* __ASM_CPU_SH3_FREQ_H */
|
|
|