Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Simon Glass | b4a905e | 2011-10-10 08:22:14 +0000 | [diff] [blame] | 2 | /* |
| 3 | * Copyright (c) 2011 The Chromium OS Authors. |
| 4 | * |
| 5 | * (C) Copyright 2002-2010 |
| 6 | * Wolfgang Denk, DENX Software Engineering, wd@denx.de. |
Simon Glass | b4a905e | 2011-10-10 08:22:14 +0000 | [diff] [blame] | 7 | */ |
| 8 | |
| 9 | #ifndef __ASM_GBL_DATA_H |
| 10 | #define __ASM_GBL_DATA_H |
Simon Glass | 3ac47d7 | 2012-12-13 20:48:30 +0000 | [diff] [blame] | 11 | |
| 12 | /* Architecture-specific global data */ |
| 13 | struct arch_global_data { |
Simon Glass | 9dd10bf | 2013-11-10 10:27:03 -0700 | [diff] [blame] | 14 | uint8_t *ram_buf; /* emulated RAM buffer */ |
Simon Glass | 3ac47d7 | 2012-12-13 20:48:30 +0000 | [diff] [blame] | 15 | }; |
| 16 | |
Simon Glass | 5b5177e | 2012-12-13 20:49:24 +0000 | [diff] [blame] | 17 | #include <asm-generic/global_data.h> |
Simon Glass | b4a905e | 2011-10-10 08:22:14 +0000 | [diff] [blame] | 18 | |
| 19 | #define DECLARE_GLOBAL_DATA_PTR extern gd_t *gd |
| 20 | |
| 21 | #endif /* __ASM_GBL_DATA_H */ |