<p>Marcello Sylvester Bauer has uploaded this change for <strong>review</strong>.</p><p><a href="https://review.coreboot.org/c/coreboot/+/29979">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">arch/x86/Kconfig: move MAX_REBOOT_CNT option<br><br>Move the MAX_REBOOT_CNT option to arch/x86/Kconfig, to make it in the<br>menuconfig reachable. This simplifies the change of this option.<br><br>Change-Id: Ice26e2ef349f1172b564edc14f1012c33546a93c<br>Signed-off-by: Marcello Sylvester Bauer <info@marcellobauer.com><br>---<br>M src/Kconfig<br>M src/arch/x86/Kconfig<br>2 files changed, 10 insertions(+), 8 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://review.coreboot.org:29418/coreboot refs/changes/79/29979/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 62a7a92..812e83e 100644</span><br><span>--- a/src/Kconfig</span><br><span>+++ b/src/Kconfig</span><br><span>@@ -1085,14 +1085,6 @@</span><br><span>       help</span><br><span>           Internal option that controls whether we compile in register scripts.</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-config MAX_REBOOT_CNT</span><br><span style="color: hsl(0, 100%, 40%);">-        int</span><br><span style="color: hsl(0, 100%, 40%);">-     default 3</span><br><span style="color: hsl(0, 100%, 40%);">-       help</span><br><span style="color: hsl(0, 100%, 40%);">-      Internal option that sets the maximum number of bootblock executions allowed</span><br><span style="color: hsl(0, 100%, 40%);">-    with the normal image enabled before assuming the normal image is defective</span><br><span style="color: hsl(0, 100%, 40%);">-     and switching to the fallback image.</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span> config CREATE_BOARD_CHECKLIST</span><br><span>      bool</span><br><span>         default n</span><br><span>diff --git a/src/arch/x86/Kconfig b/src/arch/x86/Kconfig</span><br><span>index 7c8371e..0bbd0b0 100644</span><br><span>--- a/src/arch/x86/Kconfig</span><br><span>+++ b/src/arch/x86/Kconfig</span><br><span>@@ -268,6 +268,16 @@</span><br><span>        default "bootblock_simple.c" if BOOTBLOCK_SIMPLE</span><br><span>   default "bootblock_normal.c" if BOOTBLOCK_NORMAL</span><br><span> </span><br><span style="color: hsl(120, 100%, 40%);">+config MAX_REBOOT_CNT</span><br><span style="color: hsl(120, 100%, 40%);">+ int "Max reboot count"</span><br><span style="color: hsl(120, 100%, 40%);">+      default 3</span><br><span style="color: hsl(120, 100%, 40%);">+     range 0 15</span><br><span style="color: hsl(120, 100%, 40%);">+    depends on BOOTBLOCK_NORMAL</span><br><span style="color: hsl(120, 100%, 40%);">+   help</span><br><span style="color: hsl(120, 100%, 40%);">+    Sets the maximum number of bootblock executions allowed with the</span><br><span style="color: hsl(120, 100%, 40%);">+      normal image enabled before assuming the normal image is defective</span><br><span style="color: hsl(120, 100%, 40%);">+    and switching to the fallback image.</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span> config SKIP_MAX_REBOOT_CNT_CLEAR</span><br><span>         bool "Do not clear reboot count after successful boot"</span><br><span>     depends on BOOTBLOCK_NORMAL</span><br><span></span><br></pre><p>To view, visit <a href="https://review.coreboot.org/c/coreboot/+/29979">change 29979</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/+/29979"/><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: Ice26e2ef349f1172b564edc14f1012c33546a93c </div>
<div style="display:none"> Gerrit-Change-Number: 29979 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Marcello Sylvester Bauer <sylvblck@sylv.io> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>