OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [linux/] [linux-2.4/] [include/] [asm-arm/] [arch-l7200/] [param.h] - Blame information for rev 1774

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1276 phoenix
/*
2
 * linux/include/asm-arm/arch-l7200/param.h
3
 *
4
 * Copyright (C) 2000 Rob Scott (rscott@mtrob.fdns.net)
5
 *                    Steve Hill (sjhill@cotw.com)
6
 *
7
 * This file contains the hardware definitions for the
8
 * LinkUp Systems L7200 SOC development board.
9
 *
10
 * Changelog:
11
 *   04-21-2000 RS      Created L7200 version
12
 *   04-25-2000 SJH     Cleaned up file
13
 *   05-03-2000 SJH     Change comments and rate
14
 */
15
#ifndef __ASM_ARCH_PARAM_H
16
#define __ASM_ARCH_PARAM_H
17
 
18
/*
19
 * See 'time.h' for how the RTC HZ rate is set
20
 */
21
#define HZ 128
22
 
23
/*
24
 * Define hz_to_std, since we have a non 100Hz define
25
 * (see include/asm-arm/param.h)
26
 */
27
 
28
#if defined(__KERNEL__)
29
#define hz_to_std(a) ((a * HZ)/100)
30
#endif
31
 
32
#endif

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.