Merge https://gitlab.denx.de/u-boot/custodians/u-boot-spi
[platform/kernel/u-boot.git] / arch / sandbox / include / asm / global_data.h
1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3  * Copyright (c) 2011 The Chromium OS Authors.
4  *
5  * (C) Copyright 2002-2010
6  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
7  */
8
9 #ifndef __ASM_GBL_DATA_H
10 #define __ASM_GBL_DATA_H
11
12 /* Architecture-specific global data */
13 struct arch_global_data {
14         uint8_t         *ram_buf;       /* emulated RAM buffer */
15         void            *text_base;     /* pointer to base of text region */
16         ulong acpi_start;               /* Start address of ACPI tables */
17 };
18
19 #include <asm-generic/global_data.h>
20
21 #define DECLARE_GLOBAL_DATA_PTR     extern gd_t *gd
22
23 #endif /* __ASM_GBL_DATA_H */