From: Chris Packham <judge.packham@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 1/2] sysreset: select DM_GPIO instead of GPIO
Date: Sat, 13 Apr 2019 20:35:23 +1200 [thread overview]
Message-ID: <20190413083524.24384-1-judge.packham@gmail.com> (raw)
CONFIG_GPIO does not exist. sysreset_gpio.c uses the DM gpio APIs so the
correct option to select is DM_GPIO.
Reported-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Chris Packham <judge.packham@gmail.com>
---
drivers/sysreset/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/sysreset/Kconfig b/drivers/sysreset/Kconfig
index 8ce3e2e20761..73d141184953 100644
--- a/drivers/sysreset/Kconfig
+++ b/drivers/sysreset/Kconfig
@@ -17,7 +17,7 @@ if SYSRESET
config SYSRESET_GPIO
bool "Enable support for GPIO reset driver"
- select GPIO
+ select DM_GPIO
help
Reset support via GPIO pin connected reset logic. This is used for
example on Microblaze where reset logic can be controlled via GPIO
--
2.21.0
next reply other threads:[~2019-04-13 8:35 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-13 8:35 Chris Packham [this message]
2019-04-13 8:35 ` [U-Boot] [PATCH 2/2] Remove whitelist entry for CONFIG_GPIO Chris Packham
2019-04-15 16:24 ` Simon Glass
2019-05-10 15:10 ` Tom Rini
2019-04-15 16:24 ` [U-Boot] [PATCH 1/2] sysreset: select DM_GPIO instead of GPIO Simon Glass
2019-05-10 15:10 ` Tom Rini
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=20190413083524.24384-1-judge.packham@gmail.com \
--to=judge.packham@gmail.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox