summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-orion5x/tsx09-common.h
diff options
context:
space:
mode:
authorSylver Bruneau <sylver.bruneau@googlemail.com>2008-05-31 18:21:49 +0200
committerLennert Buytenhek <buytenh@marvell.com>2008-06-22 22:44:54 +0200
commit530c854aa351b2c7b3b3b6bedae8143310875206 (patch)
tree97274996c022b14a235152ef5dce809e915634ab /arch/arm/mach-orion5x/tsx09-common.h
parentb08d5af39616fd32a1fafbcb51c36d4c99c4e02f (diff)
downloadblackbird-op-linux-530c854aa351b2c7b3b3b6bedae8143310875206.tar.gz
blackbird-op-linux-530c854aa351b2c7b3b3b6bedae8143310875206.zip
[ARM] Orion: remove code duplication in TS209 and TS409 setup files
Signed-off-by: Sylver Bruneau <sylver.bruneau@googlemail.com> Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
Diffstat (limited to 'arch/arm/mach-orion5x/tsx09-common.h')
-rw-r--r--arch/arm/mach-orion5x/tsx09-common.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/arch/arm/mach-orion5x/tsx09-common.h b/arch/arm/mach-orion5x/tsx09-common.h
new file mode 100644
index 000000000000..0984264616f0
--- /dev/null
+++ b/arch/arm/mach-orion5x/tsx09-common.h
@@ -0,0 +1,20 @@
+#ifndef __ARCH_ORION5X_TSX09_COMMON_H
+#define __ARCH_ORION5X_TSX09_COMMON_H
+
+/*
+ * QNAP TS-x09 Boards power-off function
+ */
+extern void qnap_tsx09_power_off(void);
+
+/*
+ * QNAP TS-x09 Boards function to find Ethernet MAC address in flash memory
+ */
+extern void __init qnap_tsx09_find_mac_addr(u32 mem_base, u32 size);
+
+/*
+ * QNAP TS-x09 Boards ethernet declaration
+ */
+extern struct mv643xx_eth_platform_data qnap_tsx09_eth_data;
+
+
+#endif
OpenPOWER on IntegriCloud