summaryrefslogtreecommitdiff
path: root/board/nipperkin/board_fw_config.h
blob: f4673f732e3ad163e7e053d226d5eec9cf19d438 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/* Copyright 2021 The ChromiumOS Authors
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

#ifndef _NIPPERKIN_BOARD_FW_CONFIG__H_
#define _NIPPERKIN_BOARD_FW_CONFIG__H_

/****************************************************************************
 * Nipperkin CBI FW Configuration
 */

/*
 * Keyboard Backlight (1 bit)
 */
#define FW_CONFIG_KBLIGHT_OFFSET 0
#define FW_CONFIG_KBLIGHT_WIDTH 1
#define FW_CONFIG_KBLIGHT_NO 0
#define FW_CONFIG_KBLIGHT_YES 1

/*
 * Bit 1 ~ 6 not related to EC function
 */

/*
 * Keyboard (1 bit)
 */
#define FW_CONFIG_KEYBOARD_OFFSET 7
#define FW_CONFIG_KEYBOARD_WIDTH 1
#define FW_CONFIG_KEYBOARD_PRIVACY_YES 0
#define FW_CONFIG_KEYBOARD_PRIVACY_NO 1

bool board_has_privacy_panel(void);

#endif /* _NIPPERKIN_BOARD_FW_CONFIG__H_ */