Skip to content
Snippets Groups Projects
Commit 5e574546 authored by Doug Anderson's avatar Doug Anderson Committed by Tom Rini
Browse files

fdt_support: Use CONFIG_NR_DRAM_BANKS if defined


It appears that there are some cases where we have more than 4 banks
of memory.  Use CONFIG_NR_DRAM_BANKS if it's defined to handle this.
This will take up a little extra stack space (64 bytes extra if we go
up to 8 banks), but that seems OK.

Signed-off-by: default avatarDoug Anderson <dianders@chromium.org>
parent a558ad71
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment