From: Vikas Manocha <vikas.manocha@st.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v4 0/2] add armv7m cache support
Date: Mon, 27 Mar 2017 13:02:43 -0700 [thread overview]
Message-ID: <1490644970-19266-1-git-send-email-vikas.manocha@st.com> (raw)
This patchset adds armv7m instruction/data caches support &
enable it for stm32f7.
Changed in v4:
- invalidate_dcache_range() & flush_dcache_range() function added.
- blank lines added.
- comments added for registers, functions & barriers.
- register names changed for better clarity.
- typecasting moved to macro definitions.
Changed in v3:
- uint32 replcaed with u32.
- multiple read of hardware register replaced with single.
- pointers replaced with macros for base address.
- register names added as comment for system control block registers.
Changed in v2:
- changed strucures for memory mapped cache registers to macros
- added lines better readability.
- replaced magic numbers with macros.
Vikas Manocha (2):
armv7m: add instruction & data cache support
stm32f7: enable instruction & data cache
arch/arm/cpu/armv7m/Makefile | 3 +-
arch/arm/cpu/armv7m/cache.c | 336 ++++++++++++++++++++++++++++++++++++++
arch/arm/include/asm/armv7m.h | 26 ++-
arch/arm/lib/Makefile | 2 +
arch/arm/mach-stm32/stm32f7/soc.c | 2 +
include/configs/stm32f746-disco.h | 4 +-
6 files changed, 366 insertions(+), 7 deletions(-)
create mode 100644 arch/arm/cpu/armv7m/cache.c
--
1.9.1
next reply other threads:[~2017-03-27 20:02 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-27 20:02 Vikas Manocha [this message]
2017-03-27 20:02 ` [U-Boot] [PATCH v4 1/2] armv7m: add instruction & data cache support Vikas Manocha
2017-03-27 20:34 ` Marek Vasut
2017-03-27 20:41 ` Vikas Manocha
2017-03-27 21:27 ` Marek Vasut
2017-03-27 21:33 ` Vikas Manocha
2017-03-30 16:43 ` Vikas MANOCHA
2017-04-09 1:14 ` [U-Boot] [U-Boot, v4, " Tom Rini
2017-03-27 20:02 ` [U-Boot] [PATCH v4 2/2] stm32f7: enable instruction & data cache Vikas Manocha
2017-04-09 1:14 ` [U-Boot] [U-Boot, v4, " 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=1490644970-19266-1-git-send-email-vikas.manocha@st.com \
--to=vikas.manocha@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.