blob: e1cd322152a62ed7fbcc8eb8c72093e0712b7c9d [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#include <asm/processor.h>
10
Marek Vasut8c2c4632019-08-31 18:27:58 +020011#define CONFIG_LMB
12
Marek Vasut0e286c52018-08-24 21:52:53 +020013/* Timer */
14#define CONFIG_SYS_TIMER_COUNTS_DOWN
Marek Vasut67567622019-08-31 17:33:06 +020015#define CONFIG_SYS_TIMER_COUNTER (TMU_BASE + 0xc) /* TCNT0 */
Marek Vasut0e286c52018-08-24 21:52:53 +020016#define CONFIG_SYS_TIMER_RATE (CONFIG_SYS_CLK_FREQ / 4)
Marek Vasut0e286c52018-08-24 21:52:53 +020017
Kumar Gala47d41cc2009-02-05 20:40:57 -060018#endif