Revert "fdt_support: Use CONFIG_NR_DRAM_BANKS if defined"
authorRamon Fried <ramon.fried@gmail.com>
Sun, 22 Jul 2018 05:12:14 +0000 (08:12 +0300)
committerTom Rini <trini@konsulko.com>
Sat, 28 Jul 2018 15:58:10 +0000 (11:58 -0400)
commit2a1f4f1758b55589395f90f583aacb07ae6fcafe
tree58ebe6c6ed100a0bbcadcf9274c915f3d1ed493d
parent725dcf5a67a09f2a13a1ff0341d9e08d2b3242fb
Revert "fdt_support: Use CONFIG_NR_DRAM_BANKS if defined"

This reverts commit 5e5745465c94605720295fab942eacbdd215db90.

The reverted commit didn't support the scenario where there are less
DRAM banks in U-Boot than in Linux.
Also, it didn't introduce any new functionality, only limitaion.
User could just increase MEMORY_BANKS_MAX if it's too small.
Reviewed-by: Simon Glass <sjg@chromium.org>
common/fdt_support.c