blob: d2862df4a5f987fff7a12aa7a1437fd72fd85ddc [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Kumar Gala47d41cc2009-02-05 20:40:57 -06002/*
3 * Copyright 2009 Freescale Semiconductor, Inc.
Kumar Gala47d41cc2009-02-05 20:40:57 -06004 */
5
6#ifndef _ASM_CONFIG_H_
7#define _ASM_CONFIG_H_
8
Marek Vasut0e286c52018-08-24 21:52:53 +02009#if !defined(CONFIG_CPU_SH2)
10#include <asm/processor.h>
11
12/* Timer */
13#define CONFIG_SYS_TIMER_COUNTS_DOWN
14#define CONFIG_SYS_TIMER_COUNTER (TMU_BASE + 0x8) /* TCNT0 */
15#define CONFIG_SYS_TIMER_RATE (CONFIG_SYS_CLK_FREQ / 4)
16#endif
17
Kumar Gala47d41cc2009-02-05 20:40:57 -060018#endif