~funderscore blog cgit wiki get in touch
aboutsummaryrefslogtreecommitdiff
blob: 03c196fec3b137b8e3cc778719356c1423212116 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* SPDX-License-Identifier: GPL-2.0+ */
/*
 * Copyright 2009 Freescale Semiconductor, Inc.
 */

#ifndef _ASM_CONFIG_H_
#define _ASM_CONFIG_H_

#include <asm/processor.h>

/* Timer */
#define CFG_SYS_TIMER_COUNTER	(TMU_BASE + 0xc)	/* TCNT0 */
#define CFG_SYS_TIMER_RATE		(get_board_sys_clk() / 4)

#endif