Chris Zankel | 1387dab | 2016-08-10 18:36:44 +0300 | [diff] [blame^] | 1 | /* |
2 | * (C) Copyright 2007, Tensilica Inc. | ||||
3 | * | ||||
4 | * SPDX-License-Identifier: GPL-2.0+ | ||||
5 | */ | ||||
6 | |||||
7 | #ifndef _XTENSA_GBL_DATA_H | ||||
8 | #define _XTENSA_GBL_DATA_H | ||||
9 | |||||
10 | /* Architecture-specific global data */ | ||||
11 | |||||
12 | struct arch_global_data { | ||||
13 | unsigned long cpu_clk; | ||||
14 | }; | ||||
15 | |||||
16 | #include <asm-generic/global_data.h> | ||||
17 | |||||
18 | #define DECLARE_GLOBAL_DATA_PTR extern gd_t *gd | ||||
19 | |||||
20 | #endif /* _XTENSA_GBL_DATA_H */ |