summaryrefslogtreecommitdiff
path: root/api
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-10-18 21:17:19 -0600
committerSimon Glass <sjg@chromium.org>2015-11-19 20:13:40 -0700
commit31d38ee66dfad4284866267ff0651fa0614dad3c (patch)
tree52e324ca52b1f401bdbf99f6a029684f7415ef44 /api
parent7fe0933c5898e5cce70407184fd458cf3ad9ee32 (diff)
i8042: Use functions to handle register access
At present the register access in kbd_reset() is quite primitive. This makes it hard to follow. Create functions to read and write data, both to a single register, and via the command/data approach. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-on: Intel Crown Bay and QEMU Tested-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'api')
0 files changed, 0 insertions, 0 deletions