summaryrefslogtreecommitdiffstats
path: root/board/davinci/common/misc.h
diff options
context:
space:
mode:
authorHugo Villeneuve <hugo.villeneuve@lyrtech.com>2008-07-11 15:10:13 -0400
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2008-08-30 23:18:54 +0200
commit264bbdd11d01f14f5ea4629556ae63b00b13402d (patch)
tree6807c2860b952ced6eeba638bfcc533c85011ff0 /board/davinci/common/misc.h
parent33aa4eac66b71c797bbc13b3afe432a2132947d4 (diff)
downloadblackbird-obmc-uboot-264bbdd11d01f14f5ea4629556ae63b00b13402d.tar.gz
blackbird-obmc-uboot-264bbdd11d01f14f5ea4629556ae63b00b13402d.zip
ARM DaVinci: Move common functions to board/davinci/common
ARM DaVinci: Move common functions to board/davinci/common. Signed-off-by: Hugo Villeneuve <hugo.villeneuve@lyrtech.com>
Diffstat (limited to 'board/davinci/common/misc.h')
-rw-r--r--board/davinci/common/misc.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/board/davinci/common/misc.h b/board/davinci/common/misc.h
new file mode 100644
index 0000000000..4a57dbb89b
--- /dev/null
+++ b/board/davinci/common/misc.h
@@ -0,0 +1,32 @@
+/*
+ * Copyright (C) 2008 Lyrtech <www.lyrtech.com>
+ *
+ * See file CREDITS for list of people who contributed to this
+ * project.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+
+#ifndef __MISC_H
+#define __MISC_H
+
+extern void timer_init(void);
+extern int eth_hw_init(void);
+
+void dv_display_clk_infos(void);
+int dvevm_read_mac_address(uint8_t *buf);
+void dv_configure_mac_address(uint8_t *rom_enetaddr);
+
+#endif /* __MISC_H */
OpenPOWER on IntegriCloud