From: Thierry Reding <thierry.reding@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 2/6] ARM: tegra: Disable SPL and non-cached memory on 64-bit
Date: Fri, 20 Mar 2015 13:24:18 +0100 [thread overview]
Message-ID: <1426854262-1248-2-git-send-email-thierry.reding@gmail.com> (raw)
In-Reply-To: <1426854262-1248-1-git-send-email-thierry.reding@gmail.com>
From: Thierry Reding <treding@nvidia.com>
For 64-bit ARM SoCs we rely on non-U-Boot code to bring up the CPU in
AArch64 mode so that we don't need the SPL. Non-cached memory is not
implemented (yet) for 64-bit ARM.
Cc: Tom Warren <twarren@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
---
include/configs/tegra-common.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/include/configs/tegra-common.h b/include/configs/tegra-common.h
index 2cf1f68404b1..5581d0878380 100644
--- a/include/configs/tegra-common.h
+++ b/include/configs/tegra-common.h
@@ -43,7 +43,9 @@
#define CONFIG_SYS_MALLOC_LEN (4 << 20) /* 4MB */
#endif
+#ifndef CONFIG_ARM64
#define CONFIG_SYS_NONCACHED_MEMORY (1 << 20) /* 1 MiB */
+#endif
/*
* NS16550 Configuration
@@ -109,9 +111,11 @@
#define CONFIG_SYS_MEMTEST_START (NV_PA_SDRC_CS0 + 0x600000)
#define CONFIG_SYS_MEMTEST_END (CONFIG_SYS_MEMTEST_START + 0x100000)
+#ifndef CONFIG_ARM64
#ifndef CONFIG_SPL_BUILD
#define CONFIG_USE_ARCH_MEMCPY
#endif
+#endif
/*-----------------------------------------------------------------------
* Physical Memory Map
--
2.3.2
next prev parent reply other threads:[~2015-03-20 12:24 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-20 12:24 [U-Boot] [PATCH 1/6] ARM: tegra: Prepare for 64-bit support Thierry Reding
2015-03-20 12:24 ` Thierry Reding [this message]
2015-03-20 16:26 ` [U-Boot] [PATCH 2/6] ARM: tegra: Disable SPL and non-cached memory on 64-bit Stephen Warren
2015-03-20 17:09 ` Tom Rini
2015-03-20 18:26 ` Stephen Warren
2015-03-20 12:24 ` [U-Boot] [PATCH 3/6] ARM: tegra: Use standard cache enable for 64-bit Thierry Reding
2015-03-20 12:24 ` [U-Boot] [PATCH 4/6] ARM: tegra: Restrict usable RAM to 32-bit on 64-bit SoCs Thierry Reding
2015-03-20 12:24 ` [U-Boot] [PATCH 5/6] ARM: tegra: Skip FDT and initrd relocation on 64-bit Thierry Reding
2015-03-20 12:24 ` [U-Boot] [PATCH 6/6] ARM: tegra: Make pinmux.h standalone includible Thierry Reding
2015-03-20 16:30 ` Stephen Warren
2015-03-20 16:24 ` [U-Boot] [PATCH 1/6] ARM: tegra: Prepare for 64-bit support Stephen Warren
2015-03-25 4:02 ` Masahiro Yamada
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1426854262-1248-2-git-send-email-thierry.reding@gmail.com \
--to=thierry.reding@gmail.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox