xref: /rk3399_rockchip-uboot/arch/xtensa/include/asm/global_data.h (revision c978b52410016b0ab5a213f235596340af8d45f7)
1*c978b524SChris Zankel /*
2*c978b524SChris Zankel  * (C) Copyright 2007, Tensilica Inc.
3*c978b524SChris Zankel  *
4*c978b524SChris Zankel  * SPDX-License-Identifier:	GPL-2.0+
5*c978b524SChris Zankel  */
6*c978b524SChris Zankel 
7*c978b524SChris Zankel #ifndef	_XTENSA_GBL_DATA_H
8*c978b524SChris Zankel #define _XTENSA_GBL_DATA_H
9*c978b524SChris Zankel 
10*c978b524SChris Zankel /* Architecture-specific global data */
11*c978b524SChris Zankel 
12*c978b524SChris Zankel struct arch_global_data {
13*c978b524SChris Zankel 	unsigned long cpu_clk;
14*c978b524SChris Zankel };
15*c978b524SChris Zankel 
16*c978b524SChris Zankel #include <asm-generic/global_data.h>
17*c978b524SChris Zankel 
18*c978b524SChris Zankel #define DECLARE_GLOBAL_DATA_PTR     extern gd_t *gd
19*c978b524SChris Zankel 
20*c978b524SChris Zankel #endif	/* _XTENSA_GBL_DATA_H */
21