aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-arm/arch-davinci/system.h
diff options
context:
space:
mode:
authorKevin Hilman <khilman@mvista.com>2007-04-30 19:37:19 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2007-05-11 17:26:55 +0100
commit7c6337e225364870e9bf02a3ae277d9fdea483f8 (patch)
tree1ba5819dfc424beea0086cd3b855839be29370dd /include/asm-arm/arch-davinci/system.h
parent7fdc7849d2f9f926cbaec224bbcbacb164b07b23 (diff)
downloadkernel_samsung_smdk4412-7c6337e225364870e9bf02a3ae277d9fdea483f8.zip
kernel_samsung_smdk4412-7c6337e225364870e9bf02a3ae277d9fdea483f8.tar.gz
kernel_samsung_smdk4412-7c6337e225364870e9bf02a3ae277d9fdea483f8.tar.bz2
[ARM] 4303/3: base kernel support for TI DaVinci
Add base kernel support for the TI DaVinci platform. This patch only includes interrupts, timers, CPU identification, serial support and basic power and sleep controller init. More drivers to come. Signed-off-by: Kevin Hilman <khilman@mvista.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include/asm-arm/arch-davinci/system.h')
-rw-r--r--include/asm-arm/arch-davinci/system.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/include/asm-arm/arch-davinci/system.h b/include/asm-arm/arch-davinci/system.h
new file mode 100644
index 0000000..440ac51
--- /dev/null
+++ b/include/asm-arm/arch-davinci/system.h
@@ -0,0 +1,29 @@
+/*
+ * DaVinci system defines
+ *
+ * Author: Kevin Hilman, MontaVista Software, Inc. <source@mvista.com>
+ *
+ * 2007 (c) MontaVista Software, Inc. This file is licensed under
+ * the terms of the GNU General Public License version 2. This program
+ * is licensed "as is" without any warranty of any kind, whether express
+ * or implied.
+ */
+#ifndef __ASM_ARCH_SYSTEM_H
+#define __ASM_ARCH_SYSTEM_H
+
+#include <asm/io.h>
+#include <asm/hardware.h>
+
+extern void davinci_watchdog_reset(void);
+
+static void arch_idle(void)
+{
+ cpu_do_idle();
+}
+
+static void arch_reset(char mode)
+{
+ davinci_watchdog_reset();
+}
+
+#endif /* __ASM_ARCH_SYSTEM_H */