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
Finish converting CONFIG_SYS_CACHELINE_SIZE to Kconfig
[platform/kernel/u-boot.git]
/
arch
/
arc
/
include
/
asm
/
cache.h
diff --git
a/arch/arc/include/asm/cache.h
b/arch/arc/include/asm/cache.h
index
1604cd0
..
a48e1ae
100644
(file)
--- a/
arch/arc/include/asm/cache.h
+++ b/
arch/arc/include/asm/cache.h
@@
-37,6
+37,13
@@
static const inline int is_ioc_enabled(void)
return IS_ENABLED(CONFIG_ARC_DBG_IOC_ENABLE);
}
return IS_ENABLED(CONFIG_ARC_DBG_IOC_ENABLE);
}
+/*
+ * We export SLC control functions to use them in platform configuration code.
+ * They maust not be used in any generic code!
+ */
+void slc_enable(void);
+void slc_disable(void);
+
#endif /* __ASSEMBLY__ */
#endif /* __ASM_ARC_CACHE_H */
#endif /* __ASSEMBLY__ */
#endif /* __ASM_ARC_CACHE_H */