summaryrefslogtreecommitdiff
path: root/board/gdsys/405ep/405ep.h
diff options
context:
space:
mode:
authorDirk Eibach <eibach@gdsys.de>2012-04-26 03:54:22 +0000
committerStefan Roese <sr@denx.de>2012-04-30 15:00:56 +0200
commit6e9e6c36a6a52562edb3e3b93cbad33f9dfe5585 (patch)
treed3088a2492fab0d3345bd284755d81b6355174ca /board/gdsys/405ep/405ep.h
parent00251261e2d285323fc8440563d99c87ae4fc68d (diff)
downloadu-boot-imx-6e9e6c36a6a52562edb3e3b93cbad33f9dfe5585.zip
u-boot-imx-6e9e6c36a6a52562edb3e3b93cbad33f9dfe5585.tar.gz
u-boot-imx-6e9e6c36a6a52562edb3e3b93cbad33f9dfe5585.tar.bz2
powerpc/ppc4xx: Make gdsys 405ep boards reset more generic
In order to add boards that have different hardware for fpga reset, any 405ep gdsys board now provides these functions: void gd405ep_init(void); void gd405ep_set_fpga_reset(unsigned state); void gd405ep_setup_hw(void); int gd405ep_get_fpga_done(unsigned fpga); Signed-off-by: Dirk Eibach <eibach@gdsys.de> Cc: Stefan Roese <sr@denx.de> Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'board/gdsys/405ep/405ep.h')
-rw-r--r--board/gdsys/405ep/405ep.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/board/gdsys/405ep/405ep.h b/board/gdsys/405ep/405ep.h
new file mode 100644
index 0000000..5647dbc
--- /dev/null
+++ b/board/gdsys/405ep/405ep.h
@@ -0,0 +1,10 @@
+#ifndef __405EP_H_
+#define __405EP_H_
+
+/* functions to be provided by board implementation */
+void gd405ep_init(void);
+void gd405ep_set_fpga_reset(unsigned state);
+void gd405ep_setup_hw(void);
+int gd405ep_get_fpga_done(unsigned fpga);
+
+#endif /* __405EP_H_ */