2 * U-boot - global_data.h Declarations for global data of u-boot
4 * Copyright (c) 2005-2007 Analog Devices Inc.
6 * (C) Copyright 2000-2010
7 * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
9 * SPDX-License-Identifier: GPL-2.0+
12 #ifndef __ASM_GBL_DATA_H
13 #define __ASM_GBL_DATA_H
15 #include <asm/u-boot.h>
17 /* Architecture-specific global data */
18 struct arch_global_data {
19 unsigned long board_type;
22 #include <asm-generic/global_data.h>
24 #define DECLARE_GLOBAL_DATA_PTR register volatile gd_t *gd asm ("P3")