]> git.baikalelectronics.ru Git - uboot.git/commit
ARM: renesas: Configure DRAM size from ATF DT fragment
authorMarek Vasut <marek.vasut+renesas@gmail.com>
Tue, 2 Oct 2018 18:40:58 +0000 (20:40 +0200)
committerMarek Vasut <marex@denx.de>
Sat, 4 May 2019 17:26:49 +0000 (19:26 +0200)
commit9c9e149c65e8c9fb1d74a13f5b722552a0a43e9b
treeda2a25d944343a4a11a7c623a46a24ff69210d40
parente8bbb20201e1391c9dc7630cb6182f4953dbbf6e
ARM: renesas: Configure DRAM size from ATF DT fragment

The ATF can pass additional information via the first four registers,
x0...x3. The R-Car Gen3 with mainline ATF, register x1 contains pointer
to a device tree with platform information. Parse this device tree and
extract DRAM size information from it. This is useful on systems where
the DRAM size can vary between configurations.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
board/renesas/ebisu/ebisu.c
board/renesas/salvator-x/salvator-x.c
board/renesas/ulcb/ulcb.c