diff options
Diffstat (limited to 'board/primus/ps2.c')
-rw-r--r-- | board/primus/ps2.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/board/primus/ps2.c b/board/primus/ps2.c deleted file mode 100644 index 2a605b37e5..0000000000 --- a/board/primus/ps2.c +++ /dev/null @@ -1,19 +0,0 @@ -/* Copyright 2021 The Chromium OS Authors. All rights reserved. - * Use of this source code is governed by a BSD-style license that can be - * found in the LICENSE file. - */ - -#include "hooks.h" -#include "keyboard_8042.h" -#include "ps2_chip.h" - -void send_aux_data_to_device(uint8_t data) -{ - ps2_transmit_byte(NPCX_PS2_CH1, data); -} - -static void board_init(void) -{ - ps2_enable_channel(NPCX_PS2_CH1, 1, send_aux_data_to_host_interrupt); -} -DECLARE_HOOK(HOOK_INIT, board_init, HOOK_PRIO_DEFAULT); |