blob: 03b01cb45b69538d2f437f818af013ef61b9ed11 (
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
|
# Copyright 2021 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
menuconfig PLATFORM_EC_HOSTCMD_CONSOLE
bool "Console Host Command"
depends on PLATFORM_EC_HOSTCMD
default y
help
Enable the EC_CMD_CONSOLE_SNAPSHOT and EC_CMD_CONSOLE_READ
host commands, used for reading the EC console from the AP.
if PLATFORM_EC_HOSTCMD_CONSOLE
config PLATFORM_EC_HOSTCMD_CONSOLE_BUF_SIZE
int "Console buffer size"
default 4096
help
The EC will use a circular buffer to store bytes outputted
to the console for the AP to read. This changes the maximal
number of bytes from the console output which can be saved.
Choosing a power-of-two for this value is optimal, as
modular arithmetic is used.
endif # PLATFORM_EC_HOSTCMD_CONSOLE
|