blob: 03c196fec3b137b8e3cc778719356c1423212116 [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Kumar Gala4c882892009-02-05 20:40:57 -06002/*
3 * Copyright 2009 Freescale Semiconductor, Inc.
Kumar Gala4c882892009-02-05 20:40:57 -06004 */
5
6#ifndef _ASM_CONFIG_H_
7#define _ASM_CONFIG_H_
8
Marek Vasut41316702018-08-24 21:52:53 +02009#include <asm/processor.h>
10
11/* Timer */
Tom Rini6a5dccc2022-11-16 13:10:41 -050012#define CFG_SYS_TIMER_COUNTER (TMU_BASE + 0xc) /* TCNT0 */
13#define CFG_SYS_TIMER_RATE (get_board_sys_clk() / 4)
Marek Vasut41316702018-08-24 21:52:53 +020014
Kumar Gala4c882892009-02-05 20:40:57 -060015#endif