projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* Patch by Marc Singer, 29 May 2003:
[oweals/u-boot.git]
/
include
/
i8042.h
diff --git
a/include/i8042.h
b/include/i8042.h
index 61c9da2ea152dcc44b87d70dfa276448c2a5f0b2..f77239fddef7cbfc539c87f45d5654681f671c62 100644
(file)
--- a/
include/i8042.h
+++ b/
include/i8042.h
@@
-26,6
+26,13
@@
#ifndef _I8042_H_
#define _I8042_H_
+#ifdef __I386__
+#include <common.h>
+#include <asm/io.h>
+#define in8(p) inb(p)
+#define out8(p,v) outb(v,p)
+#endif
+
/* defines */
#define I8042_DATA_REG (CFG_ISA_IO + 0x0060) /* keyboard i/o buffer */