]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - include/i8042.h
input: Use finer grain udelays while waitng for the i8042 keyboard buffer to empty
[karo-tx-uboot.git] / include / i8042.h
index 13952899bae08550183381c5cc1c77994e5d5794..aeb3f090d03e3d2498220a12d2bfd1c0a68404bb 100644 (file)
 #define I8042_STATUS_REG    (CONFIG_SYS_ISA_IO + 0x0064)    /* keyboard status read */
 #define I8042_COMMAND_REG   (CONFIG_SYS_ISA_IO + 0x0064)    /* keyboard ctrl write */
 
+enum {
+       /* Output register (I8042_DATA_REG) has data for system */
+       I8042_STATUS_OUT_DATA   = 1 << 0,
+       I8042_STATUS_IN_DATA    = 1 << 1,
+};
+
 #define KBD_US              0        /* default US layout */
 #define KBD_GER             1        /* german layout */