diff options
Diffstat (limited to 'board/nipperkin/board_fw_config.h')
-rw-r--r-- | board/nipperkin/board_fw_config.h | 34 |
1 files changed, 16 insertions, 18 deletions
diff --git a/board/nipperkin/board_fw_config.h b/board/nipperkin/board_fw_config.h index 1dbb510965..77306ccb6f 100644 --- a/board/nipperkin/board_fw_config.h +++ b/board/nipperkin/board_fw_config.h @@ -3,35 +3,33 @@ * found in the LICENSE file. */ -#ifndef _GUYBRUSH_BOARD_FW_CONFIG__H_ -#define _GUYBRUSH_BOARD_FW_CONFIG__H_ +#ifndef _NIPPERKIN_BOARD_FW_CONFIG__H_ +#define _NIPPERKIN_BOARD_FW_CONFIG__H_ /**************************************************************************** - * Guybrush CBI FW Configuration + * Nipperkin CBI FW Configuration */ /* - * USB Daughter Board (2 bits) + * Keyboard Backlight (1 bit) */ -#define FW_CONFIG_USB_DB_OFFSET 0 -#define FW_CONFIG_USB_DB_WIDTH 2 -#define FW_CONFIG_USB_DB_A1_PS8811_C1_PS8818 0 +#define FW_CONFIG_KBLIGHT_OFFSET 0 +#define FW_CONFIG_KBLIGHT_WIDTH 1 +#define FW_CONFIG_KBLIGHT_NO 0 +#define FW_CONFIG_KBLIGHT_YES 1 /* - * Form Factor (1 bits) + * Bit 1 ~ 6 not related to EC function */ -#define FW_CONFIG_FORM_FACTOR_OFFSET 2 -#define FW_CONFIG_FORM_FACTOR_WIDTH 1 -#define FW_CONFIG_FORM_FACTOR_CLAMSHELL 0 -#define FW_CONFIG_FORM_FACTOR_CONVERTIBLE 1 /* - * Keyboard Backlight (1 bit) + * Keyboard (1 bit) */ -#define FW_CONFIG_KBLIGHT_OFFSET 3 -#define FW_CONFIG_KBLIGHT_WIDTH 1 -#define FW_CONFIG_KBLIGHT_NO 0 -#define FW_CONFIG_KBLIGHT_YES 1 +#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 /* _GUYBRUSH_CBI_FW_CONFIG__H_ */ +#endif /* _NIPPERKIN_BOARD_FW_CONFIG__H_ */ |