<p>Nico Huber has uploaded this change for <strong>review</strong>.</p><p><a href="https://review.coreboot.org/c/coreboot/+/29751">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">cpu/x86/Kconfig.debug: Move more options here<br><br>Gather x86 specific debug options and deflate their code a little. We<br>keep their hiding rules and help texts, although they don't seem much<br>useful.<br><br>Change-Id: I3bb8e759fc6a4871d30fccff47babfb7a291b45c<br>Signed-off-by: Nico Huber <nico.h@gmx.de><br>---<br>M src/Kconfig<br>M src/cpu/x86/Kconfig.debug<br>2 files changed, 24 insertions(+), 30 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://review.coreboot.org:29418/coreboot refs/changes/51/29751/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/Kconfig b/src/Kconfig</span><br><span>index aded1ef..84d200c 100644</span><br><span>--- a/src/Kconfig</span><br><span>+++ b/src/Kconfig</span><br><span>@@ -727,24 +727,6 @@</span><br><span> </span><br><span>           If unsure, say N.</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-config HAVE_DEBUG_CAR</span><br><span style="color: hsl(0, 100%, 40%);">-    def_bool n</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-config DEBUG_CAR</span><br><span style="color: hsl(0, 100%, 40%);">-      def_bool n</span><br><span style="color: hsl(0, 100%, 40%);">-      depends on HAVE_DEBUG_CAR</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-if DEFAULT_CONSOLE_LOGLEVEL_7 || DEFAULT_CONSOLE_LOGLEVEL_8</span><br><span style="color: hsl(0, 100%, 40%);">-# Only visible if debug level is DEBUG (7) or SPEW (8) as it does additional</span><br><span style="color: hsl(0, 100%, 40%);">-# printk(BIOS_DEBUG, ...) calls.</span><br><span style="color: hsl(0, 100%, 40%);">-config DEBUG_CAR</span><br><span style="color: hsl(0, 100%, 40%);">-        bool "Output verbose Cache-as-RAM debug messages"</span><br><span style="color: hsl(0, 100%, 40%);">-     default n</span><br><span style="color: hsl(0, 100%, 40%);">-       depends on HAVE_DEBUG_CAR</span><br><span style="color: hsl(0, 100%, 40%);">-       help</span><br><span style="color: hsl(0, 100%, 40%);">-      This option enables additional CAR related debug messages.</span><br><span style="color: hsl(0, 100%, 40%);">-endif</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span> config DEBUG_PIRQ</span><br><span>       bool "Check PIRQ table consistency"</span><br><span>        default n</span><br><span>@@ -778,18 +760,6 @@</span><br><span> </span><br><span>           If unsure, say N.</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-config DEBUG_SMM_RELOCATION</span><br><span style="color: hsl(0, 100%, 40%);">-      bool "Debug SMM relocation code"</span><br><span style="color: hsl(0, 100%, 40%);">-      default n</span><br><span style="color: hsl(0, 100%, 40%);">-       depends on HAVE_SMI_HANDLER</span><br><span style="color: hsl(0, 100%, 40%);">-     help</span><br><span style="color: hsl(0, 100%, 40%);">-      This option enables additional SMM handler relocation related</span><br><span style="color: hsl(0, 100%, 40%);">-   debug messages.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-         Note: This option will increase the size of the coreboot image.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-         If unsure, say N.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span> # Only visible if debug level is DEBUG (7) or SPEW (8) as it does additional</span><br><span> # printk(BIOS_DEBUG, ...) calls.</span><br><span> config DEBUG_MALLOC</span><br><span>diff --git a/src/cpu/x86/Kconfig.debug b/src/cpu/x86/Kconfig.debug</span><br><span>index 2348231..c5e21ef 100644</span><br><span>--- a/src/cpu/x86/Kconfig.debug</span><br><span>+++ b/src/cpu/x86/Kconfig.debug</span><br><span>@@ -1,6 +1,30 @@</span><br><span style="color: hsl(120, 100%, 40%);">+config HAVE_DEBUG_CAR</span><br><span style="color: hsl(120, 100%, 40%);">+     bool</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+config DEBUG_CAR</span><br><span style="color: hsl(120, 100%, 40%);">+      bool</span><br><span style="color: hsl(120, 100%, 40%);">+  depends on HAVE_DEBUG_CAR</span><br><span style="color: hsl(120, 100%, 40%);">+     # Only visible if debug level is DEBUG (7) or SPEW (8) as it does</span><br><span style="color: hsl(120, 100%, 40%);">+     # additional printk(BIOS_DEBUG, ...) calls.</span><br><span style="color: hsl(120, 100%, 40%);">+   prompt "Output verbose Cache-as-RAM debug messages" \</span><br><span style="color: hsl(120, 100%, 40%);">+               if DEFAULT_CONSOLE_LOGLEVEL_7 || DEFAULT_CONSOLE_LOGLEVEL_8</span><br><span style="color: hsl(120, 100%, 40%);">+   help</span><br><span style="color: hsl(120, 100%, 40%);">+    This option enables additional CAR related debug messages.</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span> config HAVE_DISPLAY_MTRRS</span><br><span>  bool</span><br><span> </span><br><span> config DISPLAY_MTRRS</span><br><span>     bool "Display intermediate MTRR settings"</span><br><span>  depends on HAVE_DISPLAY_MTRRS</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+config DEBUG_SMM_RELOCATION</span><br><span style="color: hsl(120, 100%, 40%);">+  bool "Debug SMM relocation code"</span><br><span style="color: hsl(120, 100%, 40%);">+    depends on HAVE_SMI_HANDLER</span><br><span style="color: hsl(120, 100%, 40%);">+   help</span><br><span style="color: hsl(120, 100%, 40%);">+    This option enables additional SMM handler relocation related</span><br><span style="color: hsl(120, 100%, 40%);">+         debug messages.</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+     Note: This option will increase the size of the coreboot image.</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+     If unsure, say N.</span><br><span></span><br></pre><p>To view, visit <a href="https://review.coreboot.org/c/coreboot/+/29751">change 29751</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://review.coreboot.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://review.coreboot.org/c/coreboot/+/29751"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: coreboot </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I3bb8e759fc6a4871d30fccff47babfb7a291b45c </div>
<div style="display:none"> Gerrit-Change-Number: 29751 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Nico Huber <nico.h@gmx.de> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>