summaryrefslogtreecommitdiffstats
path: root/board
diff options
context:
space:
mode:
authorWolfgang Denk <wd@fifi.denx.de>2006-06-16 16:40:54 +0200
committerWolfgang Denk <wd@fifi.denx.de>2006-06-16 16:40:54 +0200
commitbc8bb6d458a2dfb5ae220b7df057e0f508c538ad (patch)
tree25c7d1016aa00b2b5be2c84dba99bed0ae0f9f5f /board
parentcebd1fcec0f7a484ca7e8ecce76c6d9c211368ec (diff)
downloadbarebox-bc8bb6d458a2dfb5ae220b7df057e0f508c538ad.tar.gz
barebox-bc8bb6d458a2dfb5ae220b7df057e0f508c538ad.tar.xz
Add support for PS/2 keyboard on TQM85xx board
Patch by Martin Krause, 07 Nov 2005 Tested on a STK85XX baseboard. Make sure the PS/2 controller has been programmed. Jumper Settings: X66 1-2, 9-10; X61 2-3
Diffstat (limited to 'board')
-rw-r--r--board/tqm85xx/tqm85xx.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/board/tqm85xx/tqm85xx.c b/board/tqm85xx/tqm85xx.c
index 69b91017fe..befe8b76c8 100644
--- a/board/tqm85xx/tqm85xx.c
+++ b/board/tqm85xx/tqm85xx.c
@@ -27,6 +27,9 @@
* MA 02111-1307 USA
*/
+#ifdef CONFIG_PS2MULT
+void ps2mult_early_init(void);
+#endif
#include <common.h>
#include <pci.h>
@@ -410,3 +413,14 @@ void pci_init_board (void)
pci_mpc85xx_init (&hose);
#endif /* CONFIG_PCI */
}
+
+#ifdef CONFIG_BOARD_EARLY_INIT_R
+int board_early_init_r (void)
+{
+#ifdef CONFIG_PS2MULT
+ ps2mult_early_init();
+#endif /* CONFIG_PS2MULT */
+ return (0);
+}
+#endif /* CONFIG_BOARD_EARLY_INIT_R */
+