]> git.ipfire.org Git - thirdparty/u-boot.git/blame - arch/m68k/include/asm/global_data.h
Revert "Merge patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet""
[thirdparty/u-boot.git] / arch / m68k / include / asm / global_data.h
CommitLineData
83d290c5 1/* SPDX-License-Identifier: GPL-2.0+ */
4e5ca3eb 2/*
91a76751 3 * (C) Copyright 2002 - 2010
4e5ca3eb 4 * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4e5ca3eb
WD
5 */
6
7#ifndef __ASM_GBL_DATA_H
8#define __ASM_GBL_DATA_H
5cb48582
SG
9
10/* Architecture-specific global data */
11struct arch_global_data {
00f792e0 12#ifdef CONFIG_SYS_I2C_FSL
609e6ec3
SG
13 unsigned long i2c1_clk;
14 unsigned long i2c2_clk;
15#endif
7e2592fd
SG
16#ifdef CONFIG_EXTRA_CLOCK
17 unsigned long inp_clk;
18 unsigned long vco_clk;
19 unsigned long flb_clk;
20#endif
2c92e4fb
AD
21#ifdef CONFIG_MCF5441x
22 unsigned long sdhc_clk;
23#endif
8fde9d13 24#if defined(CONFIG_FSL_ESDHC)
f90dee1a 25 unsigned long sdhc_per_clk;
8fde9d13 26#endif
5cb48582
SG
27};
28
e56b2507 29#include <asm-generic/global_data.h>
4e5ca3eb 30
bf9e3b38 31#if 0
4e5ca3eb
WD
32extern gd_t *global_data;
33#define DECLARE_GLOBAL_DATA_PTR gd_t *gd = global_data
bf9e3b38
WD
34#else
35#define DECLARE_GLOBAL_DATA_PTR register volatile gd_t *gd asm ("d7")
36#endif
4e5ca3eb
WD
37
38#endif /* __ASM_GBL_DATA_H */