[PATCH v4 1/9] CONFIG_NR_DRAM_BANKS: Remove unreferenced code as its always defined

Pali Rohár pali at kernel.org
Thu Aug 13 09:45:35 CEST 2020

On Thursday 13 August 2020 07:47:52 Stefan Roese wrote:
> Since commit 86cf1c82850f ("configs: Migrate CONFIG_NR_DRAM_BANKS") &
> commit 999a772d9f24 ("Kconfig: Migrate CONFIG_NR_DRAM_BANKS"),
> CONFIG_NR_DRAM_BANKS is always defined with a value (4 is default).
> It makes no sense to still carry code that is guarded with
> "#ifndef CONFIG_NR_DRAM_BANKS" (and similar). This patch removes
> all these unreferenced code paths.
> Signed-off-by: Stefan Roese <sr at denx.de>

Looks good for me, you can add my:

Reviewed-by: Pali Rohár <pali at kernel.org>

More information about the U-Boot mailing list