summaryrefslogtreecommitdiff
path: root/board/malefor
diff options
context:
space:
mode:
authorxiong.huang <xiong.huang@bitland.corp-partner.google.com>2020-04-27 11:58:42 +0800
committerCommit Bot <commit-bot@chromium.org>2020-04-28 06:50:48 +0000
commit24e7cabf30c5c756382bc6b0d2bcc16d9276913b (patch)
treedd75ac52dafb7769791b7d1c6701d59c3fe19153 /board/malefor
parent664db5f3e9663e6c4287e16f91a907703555b09c (diff)
downloadchrome-ec-24e7cabf30c5c756382bc6b0d2bcc16d9276913b.tar.gz
malefor: turn off USB4 and Thunderbolt support
Malefor board only support USB3, so turn off USB4 and Thunderbolt support. BUG=b:153996396 BRANCH=none TEST=male buildall Signed-off-by: xiong.huang <xiong.huang@bitland.corp-partner.google.com> Change-Id: Iff87d7cae7876656ac082cfe322dd63d87a74b50 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2167120 Reviewed-by: Zhuohao Lee <zhuohao@chromium.org> Reviewed-by: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'board/malefor')
-rw-r--r--board/malefor/board.c29
1 files changed, 1 insertions, 28 deletions
diff --git a/board/malefor/board.c b/board/malefor/board.c
index 9d4088d0c0..4953182917 100644
--- a/board/malefor/board.c
+++ b/board/malefor/board.c
@@ -3,7 +3,7 @@
* found in the LICENSE file.
*/
-/* Volteer board-specific configuration */
+/* Malefor board-specific configuration */
#include "button.h"
#include "common.h"
@@ -25,7 +25,6 @@
#include "task.h"
#include "tablet_mode.h"
#include "uart.h"
-#include "usb_pd_tbt.h"
#include "util.h"
#include "gpio_list.h" /* Must come after other header files. */
@@ -48,32 +47,6 @@ static void board_init(void)
}
DECLARE_HOOK(HOOK_INIT, board_init, HOOK_PRIO_DEFAULT);
-__override enum tbt_compat_cable_speed board_get_max_tbt_speed(int port)
-{
- /* Routing length exceeds 205mm prior to connection to re-timer */
- if (port == USBC_PORT_C1)
- return TBT_SS_U32_GEN1_GEN2;
-
- /*
- * Thunderbolt-compatible mode not supported
- *
- * TODO (b/153996396): All the USB-C ports need to support same speed.
- * Need to fix once USB-C feature set is known for Volteer.
- */
- return TBT_SS_RES_0;
-}
-
-__override bool board_is_tbt_usb4_port(int port)
-{
- /*
- * On the Volteer reference board only port 1 supports TBT & USB4
- *
- * TODO (b/153996396): All the USB-C ports need to support same
- * features. Need to fix once USB-C feature set is known for Volteer.
- */
- return port == USBC_PORT_C1;
-}
-
/******************************************************************************/
/* Sensors */
/* Lid and base Sensor mutex */