From: Tom Rini Date: Thu, 3 Jan 2019 15:21:30 -0500 Subject: [U-Boot] [PATCH] Kconfig: don't pollute Kconfig w/ i.MX8M options for everyone In-Reply-To: <1546537660-9234-1-git-send-email-philipp.tomsich@theobroma-systems.com> References: <1546537660-9234-1-git-send-email-philipp.tomsich@theobroma-systems.com> Message-ID: <20190103202130.GT16433@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thu, Jan 03, 2019 at 06:47:40PM +0100, Philipp Tomsich wrote: > No point in showing the various DRAM options (right in the top-level > menu for 'Device Drivers') for i.MX8M when configured for a different > architecture. This wraps an 'if ARCH_IMX8M' around these. > > Signed-off-by: Philipp Tomsich > --- > > drivers/ddr/imx/Kconfig | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/ddr/imx/Kconfig b/drivers/ddr/imx/Kconfig > index 7e06fb2..09a35e5 100644 > --- a/drivers/ddr/imx/Kconfig > +++ b/drivers/ddr/imx/Kconfig > @@ -1 +1,3 @@ > +if ARCH_IMX8M > source "drivers/ddr/imx/imx8m/Kconfig" > +endif Ugh. We need drivers/ddr/imx/imx8m/Kconfig to have real 'depends on' lines like all of the other DDR controllers. -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: