All of lore.kernel.org
 help / color / mirror / Atom feed
From: Heinrich Schuchardt <xypron.glpk@gmx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 1/1] dm: sysreset: x86: missing build dependency
Date: Sun, 22 Jul 2018 11:48:32 +0200	[thread overview]
Message-ID: <20180722094832.29917-1-xypron.glpk@gmx.de> (raw)

make qemu-x86_defconfig
with additional

  #CONFIG_SYSRESET is not set

results in

  LD      u-boot
  lib/built-in.o: In function `efi_reset_system_boottime':
  lib/efi_loader/efi_runtime.c:122: undefined reference to `do_reset'

Fixes: fabb2b4c7f28 ("dm: sysreset: x86: Add a sysreset driver")
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
---
 drivers/sysreset/Kconfig | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/drivers/sysreset/Kconfig b/drivers/sysreset/Kconfig
index 9b2fda4d25..a5a58e6d83 100644
--- a/drivers/sysreset/Kconfig
+++ b/drivers/sysreset/Kconfig
@@ -36,6 +36,12 @@ config SYSRESET_PSCI
 	  Enable PSCI SYSTEM_RESET function call.  To use this, PSCI firmware
 	  must be running on your system.
 
+config SYSRESET_X86
+	bool "Enable support for x86 processor reboot driver"
+	depends on X86
+	help
+	  Reboot support for generic x86 processor reset.
+
 endif
 
 config SYSRESET_SYSCON
@@ -51,10 +57,4 @@ config SYSRESET_WATCHDOG
 	help
 	  Reboot support for generic watchdog reset.
 
-config SYSRESET_X86
-	bool "Enable support for x86 processor reboot driver"
-	depends on X86
-	help
-	  Reboot support for generic x86 processor reset.
-
 endmenu
-- 
2.18.0

             reply	other threads:[~2018-07-22  9:48 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-22  9:48 Heinrich Schuchardt [this message]
2018-07-23  1:51 ` [U-Boot] [PATCH 1/1] dm: sysreset: x86: missing build dependency Bin Meng
2018-07-28 21:44   ` Heinrich Schuchardt
2018-07-29  0:34     ` Bin Meng

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180722094832.29917-1-xypron.glpk@gmx.de \
    --to=xypron.glpk@gmx.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.