xref: /rk3399_rockchip-uboot/arch/sandbox/include/asm/global_data.h (revision 07d59bb243c0c556b6e83bed1f6b95e6d102ceac)
1744d9859SSimon Glass /*
2744d9859SSimon Glass  * Copyright (c) 2011 The Chromium OS Authors.
3744d9859SSimon Glass  *
4744d9859SSimon Glass  * (C) Copyright 2002-2010
5744d9859SSimon Glass  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
6744d9859SSimon Glass  *
7744d9859SSimon Glass  * See file CREDITS for list of people who contributed to this
8744d9859SSimon Glass  * project.
9744d9859SSimon Glass  *
10744d9859SSimon Glass  * This program is free software; you can redistribute it and/or
11744d9859SSimon Glass  * modify it under the terms of the GNU General Public License as
12744d9859SSimon Glass  * published by the Free Software Foundation; either version 2 of
13744d9859SSimon Glass  * the License, or (at your option) any later version.
14744d9859SSimon Glass  *
15744d9859SSimon Glass  * This program is distributed in the hope that it will be useful,
16744d9859SSimon Glass  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17744d9859SSimon Glass  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18744d9859SSimon Glass  * GNU General Public License for more details.
19744d9859SSimon Glass  *
20744d9859SSimon Glass  * You should have received a copy of the GNU General Public License
21744d9859SSimon Glass  * along with this program; if not, write to the Free Software
22744d9859SSimon Glass  * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
23744d9859SSimon Glass  * MA 02111-1307 USA
24744d9859SSimon Glass  */
25744d9859SSimon Glass 
26744d9859SSimon Glass #ifndef	__ASM_GBL_DATA_H
27744d9859SSimon Glass #define __ASM_GBL_DATA_H
285cb48582SSimon Glass 
295cb48582SSimon Glass /* Architecture-specific global data */
305cb48582SSimon Glass struct arch_global_data {
318ee666a7SSimon Glass 	u8		*ram_buf;	/* emulated RAM buffer */
325cb48582SSimon Glass };
335cb48582SSimon Glass 
34*07d59bb2SSimon Glass #include <asm-generic/global_data.h>
35744d9859SSimon Glass 
36744d9859SSimon Glass #define DECLARE_GLOBAL_DATA_PTR     extern gd_t *gd
37744d9859SSimon Glass 
38744d9859SSimon Glass #endif /* __ASM_GBL_DATA_H */
39