]> git.baikalelectronics.ru Git - uboot.git/commit
meson-gx: reserved memory regions
authorxypron.glpk@gmx.de <xypron.glpk@gmx.de>
Fri, 9 Jun 2017 20:13:59 +0000 (22:13 +0200)
committerTom Rini <trini@konsulko.com>
Sat, 22 Jul 2017 19:36:18 +0000 (15:36 -0400)
commit15e1204d95f00ccdcabf68f9004081ab6ba3712a
treeffeb5f8b882119f5964671e1b66d6ae700f89a75
parent33bcd7438a27a2862ddc3a1532906ee72de68ad6
meson-gx: reserved memory regions

The Odroid C2 has two GiB of memory with two reserved regions.
reg = <0x0 0x0 0x0 0x1000000>;
reg = <0x0 0x10000000 0x0 0x200000>;

Patch
bfcef28ae4cf (arm: add initial support for Amlogic Meson and
ODROID-C2) provided function dram_init_banksize to reserve the
first 16 MiB of RAM for firmware in function dram_init_banksize
in arch/arm/mach-meson/board.c and defined
CONFIG_NR_DRAM_BANKS = 1.

With this patch dram_init_banksize is changed to additionally
reserve the 2MiB region for the ARM Trusted Firmware (BL31).
CONFIG_NR_DRAM_BANKS is set to 2.

Cc: Andreas Färber <afaerber@suse.de>
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
arch/arm/mach-meson/board.c
include/configs/meson-gxbb-common.h