From c837dcb1a316745092567bfe4fb266d0941884ff Mon Sep 17 00:00:00 2001 From: wdenk Date: Tue, 20 Jan 2004 23:12:12 +0000 Subject: * The PS/2 mux on the BMS2003 board needs 450 ms after power on before we can access it; add delay in case we are faster (with no CF card inserted) * Cleanup of some init functions * Make sure SCC Ethernet is always stopped by the time we boot Linux to avoid Linux crashes by early packets coming in. * Accelerate flash accesses on LWMON board by using buffered writes --- include/ps2mult.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include/ps2mult.h') diff --git a/include/ps2mult.h b/include/ps2mult.h index 8da20fc442..e68581751c 100644 --- a/include/ps2mult.h +++ b/include/ps2mult.h @@ -21,6 +21,10 @@ #define PS2BUF_SIZE 512 /* power of 2, please */ +#ifndef CONFIG_PS2MULT_DELAY +#define CONFIG_PS2MULT_DELAY (CFG_HZ/2) /* Initial delay */ +#endif + /* PS/2 controller interface (include/asm/keyboard.h) */ extern int ps2mult_init (void); @@ -30,6 +34,7 @@ extern u_char ps2mult_read_status(void); extern void ps2mult_write_output(u_char val); extern void ps2mult_write_command(u_char val); +extern void ps2mult_early_init (void); extern void ps2mult_callback (int in_cnt); /* Simple serial interface -- cgit v1.2.1