From: Patrick Delaunay <patrick.delaunay@st.com>
To: u-boot@lists.denx.de
Subject: [PATCH v2 0/3] arm: caches: allow to activate dcache in SPL and in U-Boot pre-reloc
Date: Fri, 24 Apr 2020 20:20:14 +0200 [thread overview]
Message-ID: <20200424182017.11852-1-patrick.delaunay@st.com> (raw)
Hi
It is a V2 serie after Marek feedback for
http://patchwork.ozlabs.org/project/uboot/list/?series=168378
This serie allows dcache activation in SPL or in U-Boot preloc stage
for ARM board.
See "arm: stm32mp1: activate data cache in SPL and before relocation"
for example of usage in SPL and in U-Boot pre-reloc of the function
dcache_enable() and of mmu_set_region_dcache_behaviour().
A branch named "dcache" with the needed patches for stm32mp1 boards
is available in:
https://gitlab.denx.de/u-boot/custodians/u-boot-stm.git
Changes in v2:
- update patch after Marek's proposal. but I just divided by 2 instead
of 4kB (minimal MMU page size)
Patrick Delaunay (3):
arm: caches: protect dram_bank_mmu_setup access to bi_dram
arm: caches: add DCACHE_DEFAULT_OPTION
arm: caches: manage phys_addr_t overflow in
mmu_set_region_dcache_behaviour
arch/arm/include/asm/system.h | 8 ++++++++
arch/arm/lib/cache-cp15.c | 20 ++++++++++----------
2 files changed, 18 insertions(+), 10 deletions(-)
--
2.17.1
next reply other threads:[~2020-04-24 18:20 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-24 18:20 Patrick Delaunay [this message]
2020-04-24 18:20 ` [PATCH v2 1/3] arm: caches: protect dram_bank_mmu_setup access to bi_dram Patrick Delaunay
2020-05-01 21:56 ` Tom Rini
2020-04-24 18:20 ` [PATCH v2 2/3] arm: caches: add DCACHE_DEFAULT_OPTION Patrick Delaunay
2020-05-01 21:56 ` Tom Rini
2020-04-24 18:20 ` [PATCH v2 3/3] arm: caches: manage phys_addr_t overflow in mmu_set_region_dcache_behaviour Patrick Delaunay
2020-05-01 21:56 ` Tom Rini
2020-04-28 19:49 ` [PATCH v2 0/3] arm: caches: allow to activate dcache in SPL and in U-Boot pre-reloc Tom Rini
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=20200424182017.11852-1-patrick.delaunay@st.com \
--to=patrick.delaunay@st.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