Path: blob/master/arch/unicore32/include/asm/timex.h
10818 views
/*1* linux/arch/unicore32/include/asm/timex.h2*3* Code specific to PKUnity SoC and UniCore ISA4*5* Copyright (C) 2001-2010 GUAN Xue-tao6*7* This program is free software; you can redistribute it and/or modify8* it under the terms of the GNU General Public License version 2 as9* published by the Free Software Foundation.10*/1112#ifndef __UNICORE_TIMEX_H__13#define __UNICORE_TIMEX_H__1415#ifdef CONFIG_ARCH_FPGA1617/* in FPGA, APB clock is 33M, and OST clock is 32K, */18/* so, 1M is selected for timer interrupt correctly */19#define CLOCK_TICK_RATE (32*1024)2021#endif2223#if defined(CONFIG_PUV3_DB0913) \24|| defined(CONFIG_PUV3_NB0916) \25|| defined(CONFIG_PUV3_SMW0919)2627#define CLOCK_TICK_RATE (14318000)2829#endif3031#include <asm-generic/timex.h>3233#endif343536