commit | 84fb0dd4a4551b8e2ba249e42254afbe3dc2cbe9 | [log] [tgz] |
---|---|---|
author | Stefano Babic <sbabic@denx.de> | Thu Mar 15 04:01:41 2012 +0000 |
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | Tue Mar 27 22:05:29 2012 +0200 |
tree | 1493f4988bd5d7b8e744b181c84664ec5c0c5f44 | |
parent | bbb57cba0c620ff6fa88a9a88b4eec218b1e575b [diff] [blame] |
Add cache functions to SPL for armv7 Signed-off-by: Stefano Babic <sbabic@denx.de> CC: Tom Rini <tom.rini@gmail.com> CC: Wolfgang Denk <wd@denx.de> CC: Simon Schwarz <simonschwarzcor@gmail.com>
diff --git a/arch/arm/cpu/armv7/cpu.c b/arch/arm/cpu/armv7/cpu.c index 662c496..c6fa8ef 100644 --- a/arch/arm/cpu/armv7/cpu.c +++ b/arch/arm/cpu/armv7/cpu.c
@@ -52,7 +52,9 @@ * * we turn off caches etc ... */ +#ifndef CONFIG_SPL_BUILD disable_interrupts(); +#endif /* * Turn off I-cache and invalidate it