Stefan Kristiansson | ca9d3ab | 2011-11-26 19:04:49 +0000 | [diff] [blame] | 1 | /* |
| 2 | * (C) Copyright 2004 Atmark Techno, Inc. |
| 3 | * |
| 4 | * Yasushi SHOJI <yashi@atmark-techno.com> |
| 5 | * |
Wolfgang Denk | 1a45966 | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 6 | * SPDX-License-Identifier: GPL-2.0+ |
Stefan Kristiansson | ca9d3ab | 2011-11-26 19:04:49 +0000 | [diff] [blame] | 7 | */ |
| 8 | |
| 9 | #ifndef __ASM_GBL_DATA_H |
| 10 | #define __ASM_GBL_DATA_H |
Simon Glass | 5cb4858 | 2012-12-13 20:48:30 +0000 | [diff] [blame] | 11 | |
| 12 | /* Architecture-specific global data */ |
| 13 | struct arch_global_data { |
| 14 | }; |
| 15 | |
Simon Glass | 6f8b285 | 2012-12-13 20:49:22 +0000 | [diff] [blame] | 16 | #include <asm-generic/global_data.h> |
Stefan Kristiansson | ca9d3ab | 2011-11-26 19:04:49 +0000 | [diff] [blame] | 17 | |
| 18 | /* OR32 GCC already has r10 set as fixed-use */ |
| 19 | #define DECLARE_GLOBAL_DATA_PTR register volatile gd_t *gd asm ("r10") |
| 20 | |
| 21 | #endif /* __ASM_GBL_DATA_H */ |