From: Marek Vasut Date: Thu, 16 Mar 2017 22:42:09 +0100 Subject: [U-Boot] [PATCH v3 1/2] armv7m: add instruction & data cache support In-Reply-To: <1489512433-20490-2-git-send-email-vikas.manocha@st.com> References: <1489512433-20490-1-git-send-email-vikas.manocha@st.com> <1489512433-20490-2-git-send-email-vikas.manocha@st.com> Message-ID: <6874e119-9246-982d-cf1f-93d7955930dc@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 03/14/2017 06:27 PM, Vikas Manocha wrote: > This patch adds armv7m instruction & data cache support. > > Signed-off-by: Vikas Manocha > cc: Christophe KERELLO > --- > > 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. > > arch/arm/cpu/armv7m/Makefile | 2 +- > arch/arm/cpu/armv7m/cache.c | 291 ++++++++++++++++++++++++++++++++++++++++++ > arch/arm/include/asm/armv7m.h | 26 +++- > arch/arm/lib/Makefile | 2 + > 4 files changed, 318 insertions(+), 3 deletions(-) > create mode 100644 arch/arm/cpu/armv7m/cache.c Please address comments on V2 before sending V3 ... -- Best regards, Marek Vasut