]> git.dujemihanovic.xyz Git - u-boot.git/commit
fdt_support: Use CONFIG_NR_DRAM_BANKS if necessary
authorRamon Fried <ramon.fried@gmail.com>
Mon, 13 Aug 2018 21:35:42 +0000 (00:35 +0300)
committerTom Rini <trini@konsulko.com>
Thu, 16 Aug 2018 20:45:02 +0000 (16:45 -0400)
commit6b6f216f9234c33881af05116057c902cb411a62
tree0a9e9ca56ca296521b0800b7ece025a4dde04348
parent0bdea7c4301ace5c61120eeeccab4b5c8ee79536
fdt_support: Use CONFIG_NR_DRAM_BANKS if necessary

If CONFIG_NR_DRAM_BANKS is bigger than the default
value (4) define MEMORY_BANKS_MAX as CONFIG_NR_DRAM_BANKS.

Fixes: 2a1f4f1758b5 ("Revert "fdt_support: Use CONFIG_NR_DRAM_BANKS if defined"")
Signed-off-by: Ramon Fried <ramon.fried@gmail.com>
common/fdt_support.c