board: sama5d2_xplained: Get dram size and base from device tree
authorClément Léger <clement.leger@bootlin.com>
Mon, 16 Aug 2021 12:25:42 +0000 (14:25 +0200)
committerEugen Hristev <eugen.hristev@microchip.com>
Tue, 21 Sep 2021 07:05:38 +0000 (10:05 +0300)
commit8f5972ca2b62de6b1e3214906d5ced7605b8d047
treeb14880a26931dbc076946a6fdd472d3f3061eb43
parentb25d7618beb342773591900b1dc24452ec0f4642
board: sama5d2_xplained: Get dram size and base from device tree

In order to make it more flexible and allow modifying the base address
of DRAM without recompiling U-Boot, use memory node from device tree
with fdtdec functions.

Signed-off-by: Clément Léger <clement.leger@bootlin.com>
board/atmel/sama5d2_xplained/sama5d2_xplained.c