2018-05-06 21:58:06 +00:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0+ */
|
2011-10-10 08:22:14 +00:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2011 The Chromium OS Authors.
|
|
|
|
*
|
|
|
|
* (C) Copyright 2002-2010
|
|
|
|
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __ASM_GBL_DATA_H
|
|
|
|
#define __ASM_GBL_DATA_H
|
2012-12-13 20:48:30 +00:00
|
|
|
|
|
|
|
/* Architecture-specific global data */
|
|
|
|
struct arch_global_data {
|
2013-11-10 17:27:03 +00:00
|
|
|
uint8_t *ram_buf; /* emulated RAM buffer */
|
2012-12-13 20:48:30 +00:00
|
|
|
};
|
|
|
|
|
2012-12-13 20:49:24 +00:00
|
|
|
#include <asm-generic/global_data.h>
|
2011-10-10 08:22:14 +00:00
|
|
|
|
|
|
|
#define DECLARE_GLOBAL_DATA_PTR extern gd_t *gd
|
|
|
|
|
|
|
|
#endif /* __ASM_GBL_DATA_H */
|