Simon Glass | 744d985 | 2011-10-10 08:22:14 +0000 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 2011 The Chromium OS Authors. |
| 3 | * |
| 4 | * (C) Copyright 2002-2010 |
| 5 | * Wolfgang Denk, DENX Software Engineering, wd@denx.de. |
| 6 | * |
Wolfgang Denk | 1a45966 | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 7 | * SPDX-License-Identifier: GPL-2.0+ |
Simon Glass | 744d985 | 2011-10-10 08:22:14 +0000 | [diff] [blame] | 8 | */ |
| 9 | |
| 10 | #ifndef __ASM_GBL_DATA_H |
| 11 | #define __ASM_GBL_DATA_H |
Simon Glass | 5cb4858 | 2012-12-13 20:48:30 +0000 | [diff] [blame] | 12 | |
| 13 | /* Architecture-specific global data */ |
| 14 | struct arch_global_data { |
Simon Glass | 8ee666a | 2012-12-13 20:49:11 +0000 | [diff] [blame] | 15 | u8 *ram_buf; /* emulated RAM buffer */ |
Simon Glass | 5cb4858 | 2012-12-13 20:48:30 +0000 | [diff] [blame] | 16 | }; |
| 17 | |
Simon Glass | 07d59bb | 2012-12-13 20:49:24 +0000 | [diff] [blame] | 18 | #include <asm-generic/global_data.h> |
Simon Glass | 744d985 | 2011-10-10 08:22:14 +0000 | [diff] [blame] | 19 | |
| 20 | #define DECLARE_GLOBAL_DATA_PTR extern gd_t *gd |
| 21 | |
| 22 | #endif /* __ASM_GBL_DATA_H */ |