diff options
Diffstat (limited to 'chip/npcx/sib_chip.h')
-rw-r--r-- | chip/npcx/sib_chip.h | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/chip/npcx/sib_chip.h b/chip/npcx/sib_chip.h index 1687c90925..570fe6b0ec 100644 --- a/chip/npcx/sib_chip.h +++ b/chip/npcx/sib_chip.h @@ -1,5 +1,5 @@ /* - * Copyright 2019 The Chromium OS Authors. All rights reserved. + * Copyright 2019 The ChromiumOS Authors * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ @@ -7,15 +7,14 @@ /* NPCX-specific SIB module for Chrome EC */ /* Super-IO index and register definitions */ -#define INDEX_SID 0x20 -#define INDEX_CHPREV 0x24 -#define INDEX_SRID 0x27 +#define INDEX_SID 0x20 +#define INDEX_CHPREV 0x24 +#define INDEX_SRID 0x27 -#define SIO_OFFSET 0x4E +#define SIO_OFFSET 0x4E /* Super-IO register write function */ -void sib_write_reg(uint8_t io_offset, uint8_t index_value, - uint8_t io_data); +void sib_write_reg(uint8_t io_offset, uint8_t index_value, uint8_t io_data); /* Super-IO register read function */ uint8_t sib_read_reg(uint8_t io_offset, uint8_t index_value); /* Emulate host to read Keyboard I/O */ |