From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lukasz Majewski Date: Wed, 9 Oct 2019 11:02:37 +0200 Subject: [U-Boot] [PATCH v2] spl: Introduce SPL_DM_GPIO Kconfig define In-Reply-To: <20190929155441.24324-1-lukma@denx.de> References: <20190929155441.24324-1-lukma@denx.de> Message-ID: <20191009110237.1683a068@jawa> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Tom, > This define indicates if DM_GPIO shall be supported in SPL. This > allows proper operation of DM converted GPIO drivers in SPL, which use > boards. > > Signed-off-by: Lukasz Majewski > --- > > Changes in v2: > - Add dependency on DM_GPIO > Tom, are there any issues preventing this patch from being applied to -master? > common/spl/Kconfig | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/common/spl/Kconfig b/common/spl/Kconfig > index f467eca2be..e3df8efa7e 100644 > --- a/common/spl/Kconfig > +++ b/common/spl/Kconfig > @@ -452,6 +452,12 @@ config SPL_DMA_SUPPORT > the CPU moving the data. Enable this option to build the > drivers in drivers/dma as part of an SPL build. > > +config SPL_DM_GPIO > + bool "Support Driver Model GPIO drivers" > + depends on SPL_GPIO_SUPPORT && DM_GPIO > + help > + Enable support for Driver Model based GPIO drivers in SPL. > + > config SPL_DRIVERS_MISC_SUPPORT > bool "Support misc drivers" > help 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: