avr32: convert to dram_init()
[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 stack_end;        /* highest stack address */
12         unsigned long cpu_hz;           /* cpu core clock frequency */
13 };
14
15 #include <asm-generic/global_data.h>
16
17 #define DECLARE_GLOBAL_DATA_PTR register gd_t *gd asm("r5")
18
19 #endif /* __ASM_GLOBAL_DATA_H__ */