summaryrefslogtreecommitdiff
path: root/arch/sh/include/asm/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sh/include/asm/config.h')
-rw-r--r--arch/sh/include/asm/config.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/arch/sh/include/asm/config.h b/arch/sh/include/asm/config.h
new file mode 100644
index 0000000..e1cd322
--- /dev/null
+++ b/arch/sh/include/asm/config.h
@@ -0,0 +1,18 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
+/*
+ * Copyright 2009 Freescale Semiconductor, Inc.
+ */
+
+#ifndef _ASM_CONFIG_H_
+#define _ASM_CONFIG_H_
+
+#include <asm/processor.h>
+
+#define CONFIG_LMB
+
+/* Timer */
+#define CONFIG_SYS_TIMER_COUNTS_DOWN
+#define CONFIG_SYS_TIMER_COUNTER (TMU_BASE + 0xc) /* TCNT0 */
+#define CONFIG_SYS_TIMER_RATE (CONFIG_SYS_CLK_FREQ / 4)
+
+#endif