]> git.dujemihanovic.xyz Git - u-boot.git/commit
arm64: mvebu: Replace board specific with generic memory bank decoding
authorStefan Roese <sr@denx.de>
Mon, 8 May 2017 06:31:30 +0000 (08:31 +0200)
committerStefan Roese <sr@denx.de>
Wed, 31 May 2017 05:42:17 +0000 (07:42 +0200)
commit780f80cd0f7e357c9cfb474b71704c4204c025c0
tree8073d3be50c510bbdceff16ec813b86a8b0fe7f8
parent0cc209124f62bf355bda2a76540438bcd2819e5b
arm64: mvebu: Replace board specific with generic memory bank decoding

The dram_init and dram_init_banksize functions were using a board
specific implementation for decoding the memory banks from the fdt.
This change makes the dram_init* functions use a generic implementation
of decoding and populating memory bank and size data.

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Nathan Rossi <nathan@nathanrossi.com>
Cc: Nadav Haklai <nadavh@marvell.com>
Cc: Kostya Porotchkin <kostap@marvell.com>
Signed-off-by: Stefan Roese <sr@denx.de>
arch/arm/mach-mvebu/arm64-common.c