From: Stephen Warren <swarren@wwwdotorg.org>
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 12:26:44 -0600 [thread overview]
Message-ID: <550C6664.80903@wwwdotorg.org> (raw)
In-Reply-To: <20150320170959.GJ32541@bill-the-cat>
On 03/20/2015 11:09 AM, Tom Rini wrote:
> On Fri, Mar 20, 2015 at 10:26:12AM -0600, Stephen Warren wrote:
>> On 03/20/2015 06:24 AM, Thierry Reding wrote:
>>> 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.
>>
>>> diff --git a/include/configs/tegra-common.h b/include/configs/tegra-common.h
>>
>>> +#ifndef CONFIG_ARM64
>>> #ifndef CONFIG_SPL_BUILD
>>> #define CONFIG_USE_ARCH_MEMCPY
>>> #endif
>>> +#endif
>>
>> We don't need SPL, but that stanza used to enable ARCH_MEMCPY
>> *except* for SPL. I would expect we still want ARCH_MEMCPY on ARM64,
>> where presumably ifndef CONFIG_SPL_BUILD will always be true?
>
> First we need arch memcpy/memset for aarch64 copied over (and maybe
> update the 32bit one and get everyone using them).
Oh, that's missing? OK, it makes sense to disable it. However, the
commit description probably shouldn't imply this is related to having
SPL or not, but rather that ARM64 doesn't support ARCH_MEMCPY yet?
next prev parent reply other threads:[~2015-03-20 18:26 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 ` [U-Boot] [PATCH 2/6] ARM: tegra: Disable SPL and non-cached memory on 64-bit Thierry Reding
2015-03-20 16:26 ` Stephen Warren
2015-03-20 17:09 ` Tom Rini
2015-03-20 18:26 ` Stephen Warren [this message]
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=550C6664.80903@wwwdotorg.org \
--to=swarren@wwwdotorg.org \
--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