1 /*
2  * Copyright (C) 2013-2014 Synopsys, Inc. All rights reserved.
3  *
4  * SPDX-License-Identifier:	GPL-2.0+
5  */
6 
7 #ifndef	__ASM_ARC_GLOBAL_DATA_H
8 #define __ASM_ARC_GLOBAL_DATA_H
9 
10 #include <config.h>
11 
12 #ifndef __ASSEMBLY__
13 /* Architecture-specific global data */
14 struct arch_global_data {
15 	int l1_line_sz;
16 #if defined(CONFIG_ISA_ARCV2)
17 	int slc_line_sz;
18 #endif
19 };
20 #endif /* __ASSEMBLY__ */
21 
22 #include <asm-generic/global_data.h>
23 
24 #define DECLARE_GLOBAL_DATA_PTR		register volatile gd_t *gd asm ("r25")
25 
26 #endif /* __ASM_ARC_GLOBAL_DATA_H */
27