]> git.ipfire.org Git - people/ms/u-boot.git/blame - arch/avr32/include/asm/global_data.h
stm32: Correct positioning of declaration
[people/ms/u-boot.git] / arch / avr32 / include / asm / global_data.h
CommitLineData
7b64fef3
WD
1/*
2 * Copyright (C) 2004-2006 Atmel Corporation
3 *
1a459660 4 * SPDX-License-Identifier: GPL-2.0+
7b64fef3
WD
5 */
6#ifndef __ASM_GLOBAL_DATA_H__
7#define __ASM_GLOBAL_DATA_H__
8
5cb48582
SG
9/* Architecture-specific global data */
10struct arch_global_data {
3d0f8c8f 11 unsigned long cpu_hz; /* cpu core clock frequency */
5cb48582
SG
12};
13
47a9789f 14#include <asm-generic/global_data.h>
7b64fef3
WD
15
16#define DECLARE_GLOBAL_DATA_PTR register gd_t *gd asm("r5")
17
18#endif /* __ASM_GLOBAL_DATA_H__ */