From: Tom Rini Date: Tue, 21 Jul 2015 17:28:45 -0400 Subject: [U-Boot] [PATCH] keystone2: add high memory test In-Reply-To: <1436370699-4167-1-git-send-email-vitalya@ti.com> References: <1436370699-4167-1-git-send-email-vitalya@ti.com> Message-ID: <20150721212845.GK25532@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wed, Jul 08, 2015 at 11:51:39AM -0400, Vitaly Andrianov wrote: > Keystone2 SOC physical DDR3 address range is outside the first 4GB and > cannot be entirely accessible without MMU enabled. Only first 2GB of > the physical memory have 32-bits aliased addresses. This patch adds u-boot > shell command that allows to enable/disable MMU and map the 1GB of > 36bits physical memory to the first 4GB address range. > > Signed-off-by: Vitaly Andrianov > --- > arch/arm/mach-keystone/Makefile | 3 +- > arch/arm/mach-keystone/highmem.c | 162 +++++++++++++++++++++++++++++++++++++++ > 2 files changed, 164 insertions(+), 1 deletion(-) > create mode 100644 arch/arm/mach-keystone/highmem.c The code looks reasonable. But why do we need this? Thanks. -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: