projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
CONFIG_SPL_SYS_[DI]CACHE_OFF: add
[platform/kernel/u-boot.git]
/
arch
/
arm
/
mach-socfpga
/
misc.c
diff --git
a/arch/arm/mach-socfpga/misc.c
b/arch/arm/mach-socfpga/misc.c
index
d887f02
..
db1983d
100644
(file)
--- a/
arch/arm/mach-socfpga/misc.c
+++ b/
arch/arm/mach-socfpga/misc.c
@@
-48,10
+48,10
@@
int dram_init(void)
void enable_caches(void)
{
void enable_caches(void)
{
-#if
ndef CONFIG_SYS_ICACHE_OFF
+#if
!CONFIG_IS_ENABLED(SYS_ICACHE_OFF)
icache_enable();
#endif
icache_enable();
#endif
-#if
ndef CONFIG_SYS_DCACHE_OFF
+#if
!CONFIG_IS_ENABLED(SYS_DCACHE_OFF)
dcache_enable();
#endif
}
dcache_enable();
#endif
}