[U-Boot] [PATCH] Kconfig: don't pollute Kconfig w/ i.MX8M options for everyone

Peng Fan peng.fan at nxp.com
Fri Jan 4 03:06:06 UTC 2019



> -----Original Message-----
> From: Philipp Tomsich [mailto:philipp.tomsich at theobroma-systems.com]
> Sent: 2019年1月4日 1:48
> To: u-boot at lists.denx.de
> Cc: Tom Rini <trini at konsulko.com>; Philipp Tomsich
> <philipp.tomsich at theobroma-systems.com>; Peng Fan <peng.fan at nxp.com>;
> Masahiro Yamada <yamada.masahiro at socionext.com>
> Subject: [PATCH] Kconfig: don't pollute Kconfig w/ i.MX8M options for
> everyone
> 
> 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 <philipp.tomsich at theobroma-systems.com>
> ---
> 
>  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

Thanks. Reviewed-by: Peng Fan <peng.fan at nxp.com>

> --
> 2.1.4



More information about the U-Boot mailing list