summaryrefslogtreecommitdiffstats
path: root/tools/cpu/nios2/clocks.h
blob: 655af2f036aad8234e002aad0255f99e41c382db (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/*
 *  Copyright (c) 2006 Kolja Waschk rtemsdev/ixo.de
 *
 *  The license and distribution terms for this file may be
 *  found in the file LICENSE in this distribution or at
 *  http://www.rtems.com/license/LICENSE.
 */

#ifndef __NIOS2GEN_CLOCKS_H
#define __NIOS2GEN_CLOCKS_H 1

#include "ptf.h"

typedef struct clockdsc
{
    char *name;
    char *cfgname;
    unsigned long freq;
    struct clockdsc *next;
}
clock_desc;

clock_desc *find_clocks( struct ptf *ptf, struct ptf *cfg );

#endif