ARM: renesas: Factor out DRAM setup on R-Car Gen3
authorMarek Vasut <marek.vasut+renesas@gmail.com>
Sun, 19 May 2019 21:25:16 +0000 (23:25 +0200)
committerMarek Vasut <marex@denx.de>
Tue, 21 May 2019 20:15:32 +0000 (22:15 +0200)
commit6ef540d50f3beb0ff94d3fbdae3548b3b8dd05cd
tree1a1932aa57a9cc530e324c554bcd21a005bb4e83
parent5602330df0306a44d78c1ba67ab7e15aa6f3fc41
ARM: renesas: Factor out DRAM setup on R-Car Gen3

Pull DRAM layout configuration code into rcar-common.c instead of
having it in multiple copies across board files. This poses no
change for Salvator-X/XS, ULCB and Ebisu boards, however it adds
a bit of extra code for Draak and Eagle boards, which now gain
the capability of being passed in the DRAM layout by the ATF.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Eugeniu Rosca <roscaeugeniu@gmail.com>
Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
board/renesas/draak/Makefile
board/renesas/draak/draak.c
board/renesas/eagle/Makefile
board/renesas/eagle/eagle.c
board/renesas/ebisu/Makefile
board/renesas/ebisu/ebisu.c
board/renesas/rcar-common/common.c
board/renesas/salvator-x/Makefile
board/renesas/salvator-x/salvator-x.c
board/renesas/ulcb/Makefile
board/renesas/ulcb/ulcb.c