From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vitaly Andrianov Date: Wed, 22 Jul 2015 07:41:55 -0400 Subject: [U-Boot] [PATCH] keystone2: add high memory test In-Reply-To: <20150721212845.GK25532@bill-the-cat> References: <1436370699-4167-1-git-send-email-vitalya@ti.com> <20150721212845.GK25532@bill-the-cat> Message-ID: <55AF8183.3040508@ti.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 07/21/2015 05:28 PM, Tom Rini wrote: > 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, I added this code to test DDR3 configuration. Probably you are right. After configuration is done we don't need this code. Thanks, -Vitaly