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