mach-snapdragon: pre-emptively parse memory configuration from external FDT

When using an external FDT, parse the /memory node configuration to
configure gd->ram_base, gd->ram_size, and gd->bd->bi_dram. This is in
preparation for upcoming support for multi-DTB FIT images, where the
memory configuration must come from the dummy external FDT prior to
switching to the FDT from the FIT.

Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
1 file changed