Debian Codegraph @

src/include/console/cfr.h

raw symbols SCIP
1 /* SPDX-License-Identifier: GPL-2.0-only */
2
3 /*
4 * CFR enums and structs for console
5 */
6
7 #ifndef _CONSOLE_CFR_H_
8 #define _CONSOLE_CFR_H_
9
10 #include <drivers/option/cfr_frontend.h>
11
12 const struct sm_object debug_level = SM_DECLARE_ENUM({
13 .opt_name = "debug_level",
14 .ui_name = "Console Log Level",
15 .ui_helptext = "Set the verbosity of the coreboot console output.",
16 .default_value = CONFIG_DEFAULT_CONSOLE_LOGLEVEL,
17 .values = (const struct sm_enum_value[]) {
18 { "Emergency", 0 },
19 { "Alert", 1 },
20 { "Critical", 2 },
21 { "Error", 3 },
22 { "Warning", 4 },
23 { "Notice", 5 },
24 { "Info", 6 },
25 { "Debug", 7 },
26 { "Spew", 8 },
27 SM_ENUM_VALUE_END },
28 });
29
30 #endif /* _CONSOLE_CFR_H_ */