]> git.ipfire.org Git - people/ms/u-boot.git/blame - arch/m68k/include/asm/global_data.h
Add GPL-2.0+ SPDX-License-Identifier to source files
[people/ms/u-boot.git] / arch / m68k / include / asm / global_data.h
CommitLineData
4e5ca3eb 1/*
91a76751 2 * (C) Copyright 2002 - 2010
4e5ca3eb
WD
3 * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4 *
1a459660 5 * SPDX-License-Identifier: GPL-2.0+
4e5ca3eb
WD
6 */
7
8#ifndef __ASM_GBL_DATA_H
9#define __ASM_GBL_DATA_H
5cb48582
SG
10
11/* Architecture-specific global data */
12struct arch_global_data {
609e6ec3
SG
13#ifdef CONFIG_FSL_I2C
14 unsigned long i2c1_clk;
15 unsigned long i2c2_clk;
16#endif
7e2592fd
SG
17#ifdef CONFIG_EXTRA_CLOCK
18 unsigned long inp_clk;
19 unsigned long vco_clk;
20 unsigned long flb_clk;
21#endif
5cb48582
SG
22};
23
e56b2507 24#include <asm-generic/global_data.h>
4e5ca3eb 25
bf9e3b38 26#if 0
4e5ca3eb
WD
27extern gd_t *global_data;
28#define DECLARE_GLOBAL_DATA_PTR gd_t *gd = global_data
bf9e3b38
WD
29#else
30#define DECLARE_GLOBAL_DATA_PTR register volatile gd_t *gd asm ("d7")
31#endif
4e5ca3eb
WD
32
33#endif /* __ASM_GBL_DATA_H */