From 073a512059c475b75f2e5b55ffa807c2f1762b6b Mon Sep 17 00:00:00 2001 From: Keith Short Date: Fri, 15 Nov 2019 10:12:14 -0800 Subject: volteer: disable CONFIG_BRINGUP Disable CONFIG_BRINGUP option now that the AP power up sequence is working. Also change the default console mask to disable CC_HOSTCMD, which is flooded with motion sense requests (0x60) from the kernel. BUG=b:142409811 BRANCH=none TEST=make buildall TEST=verify Volteer boots to OS automatically. Change-Id: I58f850188ca3981373af06369eb70c5887c7da31 Signed-off-by: Keith Short Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1919402 Reviewed-by: Daisuke Nojiri --- baseboard/volteer/baseboard.h | 5 +++++ board/volteer/board.h | 6 ------ 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/baseboard/volteer/baseboard.h b/baseboard/volteer/baseboard.h index 0b51affc7b..cd0569fc4a 100644 --- a/baseboard/volteer/baseboard.h +++ b/baseboard/volteer/baseboard.h @@ -8,6 +8,11 @@ #ifndef __CROS_EC_BASEBOARD_H #define __CROS_EC_BASEBOARD_H +/* + * By default, enable all console messages excepted HC + */ +#define CC_DEFAULT (CC_ALL & ~(BIT(CC_HOSTCMD))) + /* NPCX7 config */ #define NPCX7_PWM1_SEL 1 /* GPIO C2 is used as PWM1. */ #define NPCX_UART_MODULE2 1 /* GPIO64/65 are used as UART pins. */ diff --git a/board/volteer/board.h b/board/volteer/board.h index 737b0b62ff..fba0617e0d 100644 --- a/board/volteer/board.h +++ b/board/volteer/board.h @@ -14,12 +14,6 @@ /* Optional features */ #define CONFIG_SYSTEM_UNLOCKED /* Allow dangerous commands while in dev. */ -/* - * Prevent the EC from powering up the AP by default for initial board bringup - * TODO: b/142409811 remove this once AP power sequencing is good. - */ -#define CONFIG_BRINGUP - #define CONFIG_POWER_BUTTON /* -- cgit v1.2.1