]>
Commit | Line | Data |
---|---|---|
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 */ |
10 | struct arch_global_data { | |
1c865d58 | 11 | unsigned long stack_end; /* highest stack address */ |
3d0f8c8f | 12 | unsigned long cpu_hz; /* cpu core clock frequency */ |
5cb48582 SG |
13 | }; |
14 | ||
47a9789f | 15 | #include <asm-generic/global_data.h> |
7b64fef3 WD |
16 | |
17 | #define DECLARE_GLOBAL_DATA_PTR register gd_t *gd asm("r5") | |
18 | ||
19 | #endif /* __ASM_GLOBAL_DATA_H__ */ |