From: Lukasz Majewski <lukma@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 8/9] spl: Introduce SPL_DM_GPIO Kconfig define
Date: Tue, 17 Sep 2019 23:04:41 +0200 [thread overview]
Message-ID: <20190917230441.25b38dcf@jawa> (raw)
In-Reply-To: <CAPnjgZ0TdhbbqWE+BMf+CJTp0GfWVbHfd02WdyvP0sZwdkDLJA@mail.gmail.com>
Hi Simon,
> Hi Lukasz,
>
> On Tue, 17 Sep 2019 at 00:22, Lukasz Majewski <lukma@denx.de> wrote:
> >
> > Hi Simon,
> >
> > > On Sun, 18 Aug 2019 at 19:30, Peng Fan <peng.fan@nxp.com> wrote:
> > > >
> > > > > Subject: [PATCH v2 8/9] spl: Introduce SPL_DM_GPIO Kconfig
> > > > > define
> > > > >
> > > > > This define indicates if DM_GPIO shall be supported in SPL.
> > > > > This allows proper operation of DM converted GPIO drivers in
> > > > > SPL, which use #if !CONFIG_IS_ENABLED(DM_GPIO) to also
> > > > > support not yet DM/DTS converted boards.
> > > > >
> > > > > Signed-off-by: Lukasz Majewski <lukma@denx.de>
> > > > > ---
> > > > >
> > > > > Changes in v2:
> > > > > - New patch
> > > > >
> > > > > common/spl/Kconfig | 6 ++++++
> > > > > 1 file changed, 6 insertions(+)
> > > > >
> > >
> > > Reviewed-by: Simon Glass <sjg@chromium.org>
> > >
> > > But how about adding && DM_GPIO as well to that depends clause?
> >
> > I think that they shall be a separate Kconfig options. Please
> > imagine that one have board with SPL GPIO support, but not in
> > U-Boot proper.
>
> Do we really want to support that? It seems a bit odd to me.
>
> Most of the DM SPL configs assume/requiree you have U-Boot proper
> enabled.
After some thoughts - I think that we shall add the dependency on
DM_GPIO (the SPL_DM_GPIO shall be only visible when DM_GPIO is defined).
>
> Regards,
> Simon
Best regards,
Lukasz Majewski
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: lukma at denx.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190917/e18bb6e6/attachment.sig>
next prev parent reply other threads:[~2019-09-17 21:04 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-18 21:35 [U-Boot] [PATCH v2 0/9] imx: mxs: Fixes and DM/DTS conversion code for several i.MX28 drivers Lukasz Majewski
2019-08-18 21:35 ` [U-Boot] [PATCH v2 1/9] doc: fix: Replace SPL_OF_PLATDATA with OF_PLATDATA in examples Lukasz Majewski
2019-08-19 1:19 ` Peng Fan
2019-09-17 5:47 ` Simon Glass
2019-08-18 21:35 ` [U-Boot] [PATCH v2 2/9] dts: imx28: Remove #include "imx28.dtsi" from imx28-u-boot.dtsi file Lukasz Majewski
2019-08-19 1:20 ` Peng Fan
2019-08-18 21:35 ` [U-Boot] [PATCH v2 3/9] spl: Init proper struct driver member (platdata_auto_alloc_size) for mxs_spi Lukasz Majewski
2019-08-19 1:25 ` Peng Fan
2019-08-18 21:35 ` [U-Boot] [PATCH v2 4/9] spi: fix: Call mxs_reset_block() during DM/DTS probe Lukasz Majewski
2019-08-19 1:26 ` Peng Fan
2019-08-18 21:35 ` [U-Boot] [PATCH v2 5/9] spi: Add support for SPL_OF_PLATDATA to mxs_spi.c driver Lukasz Majewski
2019-08-19 1:27 ` Peng Fan
2019-08-18 21:35 ` [U-Boot] [PATCH v2 6/9] mmc: Convert mxsmmc eMMC driver for i.MX2{38} to DM/DTS Lukasz Majewski
2019-08-18 21:36 ` [U-Boot] [PATCH v2 7/9] mmc: Replace printf with debug call for timeouts in the i.MX28 mxs driver Lukasz Majewski
2019-08-18 21:36 ` [U-Boot] [PATCH v2 8/9] spl: Introduce SPL_DM_GPIO Kconfig define Lukasz Majewski
2019-08-19 1:30 ` Peng Fan
2019-09-17 5:47 ` Simon Glass
2019-09-17 7:22 ` Lukasz Majewski
2019-09-17 18:34 ` Simon Glass
2019-09-17 19:19 ` Adam Ford
2019-09-17 21:06 ` Lukasz Majewski
2019-09-25 20:42 ` Simon Glass
2019-09-25 21:21 ` Tom Rini
2019-09-26 7:52 ` Lukasz Majewski
2019-09-17 21:04 ` Lukasz Majewski [this message]
2019-08-18 21:36 ` [U-Boot] [PATCH v2 9/9] spi: Add support for SPL_OF_PLATDATA to mxs_gpio.c driver Lukasz Majewski
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=20190917230441.25b38dcf@jawa \
--to=lukma@denx.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox