summaryrefslogtreecommitdiff
path: root/include/configs/hikey.h
diff options
context:
space:
mode:
authorPeter Griffin <peter.griffin@linaro.org>2016-04-20 16:14:02 (GMT)
committerTom Rini <trini@konsulko.com>2016-04-25 19:10:35 (GMT)
commit305b90919ea8c17edeb1e7d15ae5ca43f36bddc2 (patch)
tree78f105482747484a53a4ee58e9ff44b2e9ee4b90 /include/configs/hikey.h
parent7e4902d47933eeeadb2eb5505683ffafa96691b7 (diff)
downloadu-boot-305b90919ea8c17edeb1e7d15ae5ca43f36bddc2.tar.xz
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>
Diffstat (limited to 'include/configs/hikey.h')
-rw-r--r--include/configs/hikey.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/configs/hikey.h b/include/configs/hikey.h
index 114a6d1..83d9e10 100644
--- a/include/configs/hikey.h
+++ b/include/configs/hikey.h
@@ -33,7 +33,7 @@
/* CONFIG_SYS_TEXT_BASE needs to align with where ATF loads bl33.bin */
#define CONFIG_SYS_TEXT_BASE 0x35000000
-#define CONFIG_NR_DRAM_BANKS 1
+#define CONFIG_NR_DRAM_BANKS 6
#define PHYS_SDRAM_1 0x00000000
/* 1008 MB (the last 16Mb are secured for TrustZone by ATF*/