From e5bc9e257a4ef3dabc6b5573215983d663ffcd55 Mon Sep 17 00:00:00 2001 From: Russell King Date: Mon, 7 Nov 2011 18:02:39 +0000 Subject: ARM: w90x900: add common nuc9xx.h Rather than having separate extern declarations in nuc9*.h, provide a common header file containing these definitions. Tested-by: Wan Zongshun Signed-off-by: Russell King --- arch/arm/mach-w90x900/nuc9xx.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 arch/arm/mach-w90x900/nuc9xx.h (limited to 'arch/arm/mach-w90x900/nuc9xx.h') diff --git a/arch/arm/mach-w90x900/nuc9xx.h b/arch/arm/mach-w90x900/nuc9xx.h new file mode 100644 index 000000000000..847c4f3e0440 --- /dev/null +++ b/arch/arm/mach-w90x900/nuc9xx.h @@ -0,0 +1,23 @@ +/* + * arch/arm/mach-w90x900/nuc9xx.h + * + * Copied from nuc910.h, which had: + * + * Copyright (c) 2008 Nuvoton corporation + * + * Header file for NUC900 CPU support + * + * Wan ZongShun + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + * + */ +struct map_desc; +struct sys_timer; + +/* core initialisation functions */ + +extern void nuc900_init_irq(void); +extern struct sys_timer nuc900_timer; -- cgit v1.2.1 From fe76daea9ede24f9f53cb847563c2fa7a50cedf2 Mon Sep 17 00:00:00 2001 From: Russell King Date: Sat, 5 Nov 2011 14:50:25 +0000 Subject: ARM: restart: w90x900: use new restart hook Hook these platforms restart code into the new restart hook rather than using arch_reset(). Signed-off-by: Russell King --- arch/arm/mach-w90x900/nuc9xx.h | 1 + 1 file changed, 1 insertion(+) (limited to 'arch/arm/mach-w90x900/nuc9xx.h') diff --git a/arch/arm/mach-w90x900/nuc9xx.h b/arch/arm/mach-w90x900/nuc9xx.h index 847c4f3e0440..91acb4047793 100644 --- a/arch/arm/mach-w90x900/nuc9xx.h +++ b/arch/arm/mach-w90x900/nuc9xx.h @@ -21,3 +21,4 @@ struct sys_timer; extern void nuc900_init_irq(void); extern struct sys_timer nuc900_timer; +extern void nuc9xx_restart(char, const char *); -- cgit v1.2.1