]> git.sur5r.net Git - u-boot/blobdiff - arch/arc/include/asm/global_data.h
ARC: Move cache global variables to arch_global_data
[u-boot] / arch / arc / include / asm / global_data.h
index f0242f1ad6e340d8196fc0bec3a195221016381e..43e13430959d60d648c481329072ed48c631c5d5 100644 (file)
@@ -7,9 +7,15 @@
 #ifndef        __ASM_ARC_GLOBAL_DATA_H
 #define __ASM_ARC_GLOBAL_DATA_H
 
+#include <config.h>
+
 #ifndef __ASSEMBLY__
 /* Architecture-specific global data */
 struct arch_global_data {
+       int l1_line_sz;
+#if defined(CONFIG_ISA_ARCV2)
+       int slc_line_sz;
+#endif
 };
 #endif /* __ASSEMBLY__ */