All of lore.kernel.org
 help / color / mirror / Atom feed
From: Heinrich Schuchardt <xypron.glpk@gmx.de>
To: u-boot@lists.denx.de
Subject: [PATCH 2/5] sandbox: enable poweroff command
Date: Sun, 25 Oct 2020 07:04:38 +0100	[thread overview]
Message-ID: <20201025060441.11961-3-xypron.glpk@gmx.de> (raw)
In-Reply-To: <20201025060441.11961-1-xypron.glpk@gmx.de>

The command to shut down a device is 'poweroff'. It is a deficit of the
sandbox that it does not support resetting yet but shuts down upong seeing
the 'reset' command.

Once the sandbox properly supports reset we need the 'poweroff' command to
leave the sandbox.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
---
 arch/Kconfig | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/arch/Kconfig b/arch/Kconfig
index 683e384319..63e9d725b7 100644
--- a/arch/Kconfig
+++ b/arch/Kconfig
@@ -87,6 +87,7 @@ config SANDBOX
 	bool "Sandbox"
 	select BOARD_LATE_INIT
 	select BZIP2
+	select CMD_POWEROFF
 	select DM
 	select DM_GPIO
 	select DM_I2C
@@ -102,7 +103,7 @@ config SANDBOX
 	select PCI_ENDPOINT
 	select SPI
 	select SUPPORT_OF_CONTROL
-	select SYSRESET_CMD_POWEROFF if CMD_POWEROFF
+	select SYSRESET_CMD_POWEROFF
 	imply BITREVERSE
 	select BLOBLIST
 	imply CMD_DM
--
2.28.0

  parent reply	other threads:[~2020-10-25  6:04 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-25  6:04 [PATCH 0/5] sandbox: implement cold reset Heinrich Schuchardt
2020-10-25  6:04 ` [PATCH 1/5] sandbox: eth-raw: do not close the console input Heinrich Schuchardt
2020-10-27  4:52   ` Simon Glass
2020-10-25  6:04 ` Heinrich Schuchardt [this message]
2020-10-27  4:52   ` [PATCH 2/5] sandbox: enable poweroff command Simon Glass
2020-10-25  6:04 ` [PATCH 3/5] test/py: test poweroff Heinrich Schuchardt
2020-10-27  4:52   ` Simon Glass
2020-10-25  6:04 ` [PATCH 4/5] sandbox: implement reset Heinrich Schuchardt
2020-10-27  4:52   ` Simon Glass
2020-10-27  7:29     ` Heinrich Schuchardt
2020-10-27  8:02     ` Heinrich Schuchardt
2020-10-27 12:12   ` Rasmus Villemoes
2020-10-27 13:33     ` Heinrich Schuchardt
2020-10-27 14:36       ` Rasmus Villemoes
2020-10-27 15:38         ` Heinrich Schuchardt
2020-10-25  6:04 ` [PATCH 5/5] test: adjust sysreset tests Heinrich Schuchardt
2020-10-27  4:52   ` Simon Glass

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=20201025060441.11961-3-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.