From d957ad57d4c70e4ece5d44f82de23ed2767ec310 Mon Sep 17 00:00:00 2001 From: Jack Rosenthal Date: Mon, 27 Jun 2022 13:34:12 -0600 Subject: board/felwinter/fw_config.h: Format with clang-format BUG=b:236386294 BRANCH=none TEST=none Change-Id: I3b46accb62a163af4aa88e58233505da5ae8419a Signed-off-by: Jack Rosenthal Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3728357 Reviewed-by: Jeremy Bettis --- board/felwinter/fw_config.h | 33 ++++++++++++--------------------- 1 file changed, 12 insertions(+), 21 deletions(-) (limited to 'board/felwinter/fw_config.h') diff --git a/board/felwinter/fw_config.h b/board/felwinter/fw_config.h index 5f5f956b61..10e9b69536 100644 --- a/board/felwinter/fw_config.h +++ b/board/felwinter/fw_config.h @@ -14,37 +14,28 @@ * Source of truth is the project/brya/felwinter/config.star configuration file. */ -enum ec_cfg_usb_db_type { - DB_USB3_PS8815 = 1, - DB_USB4_NCT3807 = 2 -}; +enum ec_cfg_usb_db_type { DB_USB3_PS8815 = 1, DB_USB4_NCT3807 = 2 }; enum ec_cfg_keyboard_backlight_type { KEYBOARD_BACKLIGHT_DISABLED = 0, KEYBOARD_BACKLIGHT_ENABLED = 1 }; -enum ec_cfg_usb_mb_type { - MB_USB4_TBT = 0, - MB_USB3_NON_TBT = 1 -}; +enum ec_cfg_usb_mb_type { MB_USB4_TBT = 0, MB_USB3_NON_TBT = 1 }; -enum ec_cfg_stylus_type { - STYLUS_ABSENT = 0, - STYLUS_PRSENT = 1 -}; +enum ec_cfg_stylus_type { STYLUS_ABSENT = 0, STYLUS_PRSENT = 1 }; union brya_cbi_fw_config { struct { - enum ec_cfg_usb_db_type usb_db : 3; - uint32_t wifi : 2; - enum ec_cfg_stylus_type stylus : 1; - enum ec_cfg_keyboard_backlight_type kb_bl : 1; - uint32_t audio : 3; - uint32_t thermal : 2; - uint32_t table_mode : 1; - enum ec_cfg_usb_mb_type usb_mb : 3; - uint32_t reserved_1 : 16; + enum ec_cfg_usb_db_type usb_db : 3; + uint32_t wifi : 2; + enum ec_cfg_stylus_type stylus : 1; + enum ec_cfg_keyboard_backlight_type kb_bl : 1; + uint32_t audio : 3; + uint32_t thermal : 2; + uint32_t table_mode : 1; + enum ec_cfg_usb_mb_type usb_mb : 3; + uint32_t reserved_1 : 16; }; uint32_t raw_value; }; -- cgit v1.2.1 From 71b2ef709dcb14260f5fdaa3ab4ced005a29fb46 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 12 Sep 2022 14:54:36 -0400 Subject: Update license boilerplate text in source code files Normally we don't do this, but enough changes have accumulated that we're doing a tree-wide one-off update of the name & style. BRANCH=none BUG=chromium:1098010 TEST=`repo upload` works Change-Id: Icd3a1723c20595356af83d190b2c6a9078b3013b Signed-off-by: Mike Frysinger Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3891203 Reviewed-by: Jeremy Bettis Reviewed-by: Jack Rosenthal --- board/felwinter/fw_config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'board/felwinter/fw_config.h') diff --git a/board/felwinter/fw_config.h b/board/felwinter/fw_config.h index 10e9b69536..2a8a175efd 100644 --- a/board/felwinter/fw_config.h +++ b/board/felwinter/fw_config.h @@ -1,4 +1,4 @@ -/* Copyright 2021 The Chromium OS Authors. All rights reserved. +/* 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. */ -- cgit v1.2.1