avr32: use generic gd->start_addr_sp
[karo-tx-uboot.git] / arch / avr32 / include / asm / global_data.h
1 /*
2  * Copyright (C) 2004-2006 Atmel Corporation
3  *
4  * SPDX-License-Identifier:     GPL-2.0+
5  */
6 #ifndef __ASM_GLOBAL_DATA_H__
7 #define __ASM_GLOBAL_DATA_H__
8
9 /* Architecture-specific global data */
10 struct arch_global_data {
11         unsigned long cpu_hz;           /* cpu core clock frequency */
12 };
13
14 #include <asm-generic/global_data.h>
15
16 #define DECLARE_GLOBAL_DATA_PTR register gd_t *gd asm("r5")
17
18 #endif /* __ASM_GLOBAL_DATA_H__ */