board: sama5d27_som1_ek: Get dram size and base from device tree
authorClément Léger <clement.leger@bootlin.com>
Mon, 16 Aug 2021 12:25:39 +0000 (14:25 +0200)
committerEugen Hristev <eugen.hristev@microchip.com>
Tue, 21 Sep 2021 07:05:38 +0000 (10:05 +0300)
commit73c1589f025d93e6709fd1c88f1f7e068935e6aa
tree318a28e138bc03a03fa5259f2b6e4f8151430939
parent094f19c5274b758a243158f69367626049f283e5
board: sama5d27_som1_ek: 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/sama5d27_som1_ek/sama5d27_som1_ek.c