blob: f6a6a343d25d84fc8a877c7e9f0b8d01f6b39164 [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Simon Glassb4a905e2011-10-10 08:22:14 +00002/*
3 * Copyright (c) 2011 The Chromium OS Authors.
4 *
5 * (C) Copyright 2002-2010
6 * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
Simon Glassb4a905e2011-10-10 08:22:14 +00007 */
8
9#ifndef __ASM_GBL_DATA_H
10#define __ASM_GBL_DATA_H
Simon Glass3ac47d72012-12-13 20:48:30 +000011
12/* Architecture-specific global data */
13struct arch_global_data {
Simon Glass9dd10bf2013-11-10 10:27:03 -070014 uint8_t *ram_buf; /* emulated RAM buffer */
Simon Glass3ac47d72012-12-13 20:48:30 +000015};
16
Simon Glass5b5177e2012-12-13 20:49:24 +000017#include <asm-generic/global_data.h>
Simon Glassb4a905e2011-10-10 08:22:14 +000018
19#define DECLARE_GLOBAL_DATA_PTR extern gd_t *gd
20
21#endif /* __ASM_GBL_DATA_H */