All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH v4 0/2] add armv7m cache support
@ 2017-03-27 20:02 Vikas Manocha
  2017-03-27 20:02 ` [U-Boot] [PATCH v4 1/2] armv7m: add instruction & data " Vikas Manocha
  2017-03-27 20:02 ` [U-Boot] [PATCH v4 2/2] stm32f7: enable instruction & data cache Vikas Manocha
  0 siblings, 2 replies; 10+ messages in thread
From: Vikas Manocha @ 2017-03-27 20:02 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2017-04-09  1:14 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-27 20:02 [U-Boot] [PATCH v4 0/2] add armv7m cache support Vikas Manocha
2017-03-27 20:02 ` [U-Boot] [PATCH v4 1/2] armv7m: add instruction & data " 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

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.