pci: pci-uclass: Remove #ifdef CONFIG_NR_DRAM_BANKS as its always set
authorStefan Roese <sr@denx.de>
Thu, 23 Jul 2020 14:26:07 +0000 (16:26 +0200)
committerStefan Roese <sr@denx.de>
Tue, 25 Aug 2020 03:41:09 +0000 (05:41 +0200)
commit3b7cd265b82760d27b5665840ed4807fd9e2cb42
tree9542e8c43082e200927c7a8b6ba1d0d7cf8e20f1
parent68f81b857563e8f739323385795f1e99b3d2e598
pci: pci-uclass: Remove #ifdef CONFIG_NR_DRAM_BANKS as its always set

Since the migration to Kconfig, CONFIG_NR_DRAM_BANKS is configured for
all boards. Hence we can remove the conditional compilation and the code
path that will never get compiled.

Signed-off-by: Stefan Roese <sr@denx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
Cc: Tom Rini <trini@konsulko.com>
Cc: Bin Meng <bmeng.cn@gmail.com>
drivers/pci/pci-uclass.c