blob: 7aefead4026fdaaf4051220e2af86e1b83409367 [file] [log] [blame]
Wolfgang Denk6cb142f2006-03-12 02:12:27 +01001/*
2 * U-boot - global_data.h Declarations for global data of u-boot
3 *
Aubrey Li155fd762007-04-05 18:31:18 +08004 * Copyright (c) 2005-2007 Analog Devices Inc.
Wolfgang Denk6cb142f2006-03-12 02:12:27 +01005 *
Wolfgang Denk91a76752010-07-24 20:22:02 +02006 * (C) Copyright 2000-2010
Wolfgang Denk6cb142f2006-03-12 02:12:27 +01007 * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
8 *
Wolfgang Denk1a459662013-07-08 09:37:19 +02009 * SPDX-License-Identifier: GPL-2.0+
Wolfgang Denk6cb142f2006-03-12 02:12:27 +010010 */
11
12#ifndef __ASM_GBL_DATA_H
13#define __ASM_GBL_DATA_H
14
Mike Frysingerf5402d42009-11-09 18:08:09 -050015#include <asm/u-boot.h>
16
Simon Glass5cb48582012-12-13 20:48:30 +000017/* Architecture-specific global data */
18struct arch_global_data {
Simon Glass4da25512013-03-05 14:39:59 +000019 unsigned long board_type;
Simon Glass5cb48582012-12-13 20:48:30 +000020};
21
Simon Glass06b507b2012-12-13 20:49:16 +000022#include <asm-generic/global_data.h>
Wolfgang Denk6cb142f2006-03-12 02:12:27 +010023
Mike Frysinger33e7e602012-02-16 01:10:43 -050024#define DECLARE_GLOBAL_DATA_PTR register volatile gd_t *gd asm ("P3")
Wolfgang Denk6cb142f2006-03-12 02:12:27 +010025
26#endif