]> git.sur5r.net Git - u-boot/commit
ARM: hisilicon: hikey: Align memory node with upstream kernel
authorPeter Griffin <peter.griffin@linaro.org>
Wed, 20 Apr 2016 16:14:02 +0000 (17:14 +0100)
committerTom Rini <trini@konsulko.com>
Mon, 25 Apr 2016 19:10:35 +0000 (15:10 -0400)
commit305b90919ea8c17edeb1e7d15ae5ca43f36bddc2
tree78f105482747484a53a4ee58e9ff44b2e9ee4b90
parent7e4902d47933eeeadb2eb5505683ffafa96691b7
ARM: hisilicon: hikey: Align memory node with upstream kernel

The memory node gets automatically generated by U-Boot
in arch_fixup_fdt(), before passing control to the kernel
using U-Boots representation of the dram banks.

However the upstream kernel uses the memory node to carve-out
regions of RAM for various purposes. To make this work without
changing arch_fixup_fdt() which will effect many platforms
we replicate the upstream memory node layout using the dram
banks.

Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
board/hisilicon/hikey/hikey.c
include/configs/hikey.h