Arthur Heymans | 791ce58 | 2023-07-13 16:58:55 +0200 | [diff] [blame] | 1 | ## SPDX-License-Identifier: GPL-2.0-only |
| 2 | |
| 3 | if SOC_AMD_OPENSIL |
| 4 | |
| 5 | config OPENSIL_DEBUG_OUTPUT |
| 6 | bool "OpenSIL console output" |
| 7 | default y |
| 8 | help |
| 9 | Select this if you want OpenSIL debug messages compiled |
| 10 | in the image. |
| 11 | |
| 12 | if OPENSIL_DEBUG_OUTPUT |
| 13 | |
| 14 | config OPENSIL_DEBUG_PREFIX |
Felix Held | c7be078 | 2023-12-13 23:09:48 +0100 | [diff] [blame^] | 15 | bool "Print the openSIL prefix" |
Arthur Heymans | 791ce58 | 2023-07-13 16:58:55 +0200 | [diff] [blame] | 16 | default n |
| 17 | help |
| 18 | This prints the function name and line level in front of the |
| 19 | actual message. |
| 20 | |
| 21 | config OPENSIL_DEBUG_APOB |
| 22 | bool "Enable APOB messages" |
| 23 | default n |
| 24 | help |
| 25 | Enable printing APOB related messages. |
| 26 | |
| 27 | config OPENSIL_DEBUG_NBIO |
| 28 | bool "Enable NBIO messages" |
| 29 | default y |
| 30 | help |
| 31 | Enable printing NBIO related messages. |
| 32 | |
| 33 | config OPENSIL_DEBUG_CCX |
| 34 | bool "Enable CCX messages" |
| 35 | default y |
| 36 | help |
| 37 | Enable printing CCX related messages. |
| 38 | |
| 39 | config OPENSIL_DEBUG_SMU |
| 40 | bool "Enable SMU messages" |
| 41 | default y |
| 42 | help |
| 43 | Enable printing SMU related messages. |
| 44 | |
| 45 | config OPENSIL_DEBUG_DF |
| 46 | bool "Enable DF messages" |
| 47 | default y |
| 48 | help |
| 49 | Enable printing DF related messages. |
| 50 | |
| 51 | config OPENSIL_DEBUG_MEM |
| 52 | bool "Enable MEM messages" |
| 53 | default y |
| 54 | help |
| 55 | Enable printing MEM related messages. |
| 56 | |
| 57 | config OPENSIL_DEBUG_FCH |
| 58 | bool "Enable FCH messages" |
| 59 | default y |
| 60 | help |
| 61 | Enable printing FCH related messages. |
| 62 | |
| 63 | config OPENSIL_DEBUG_RAS |
| 64 | bool "Enable RAS messages" |
| 65 | default y |
| 66 | help |
| 67 | Enable printing RAS related messages. |
| 68 | |
| 69 | endif # OPENSIL_DEBUG_OUTPUT |
| 70 | |
| 71 | endif # SOC_AMD_OPENSIL |